|
|
[root@openeluer ~]# mount -v -t nfs 100.130.2.25:/thinker/storage/ /thinker/tb269store + h% U2 n$ ^0 j8 F
mount: /thinker/tb269store: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
2 ~/ M5 G) i, S0 x0 a dmesg(1) may have more information after failed mount system call.
% w, m5 [' u) ~3 @7 S7 w0 M) ]& L: t) N
+ l$ K5 A a% A5 H
如果是ubuntu系统请安装:apt install -y nfs-common cifs-utils
; Q: C# @0 G ~. A- B- F! N' ?2 a4 A; e0 G3 B+ Z6 w0 [
3 B( Q4 y# n2 }( q5 H8 J; [& t5 x/ i9 G; g& ~1 b i
其他版本:) B3 ^7 _8 a' \1 a
[root@openeluer ~]# yum install -y nfs-utils
% c9 }; A: L# F8 vLast metadata expiration check: 0:06:39 ago on Sat 02 Nov 2024 02:32:39 PM CST.( Q' u$ g& Z/ O/ g4 P& }8 o
Dependencies resolved.
/ j0 n: C) z) `=======================================================================================( Q: V$ u2 n8 s$ G3 P) `6 G. v: C; J
Package Architecture Version Repository Size
) p0 ^, j5 V0 M P7 q$ i+ S=======================================================================================5 @1 @6 @' `$ T$ h5 N' o2 J# J
Installing: [% S, X$ p" T4 m5 b8 y
nfs-utils x86_64 2:2.6.3-1.oe2403 OS 312 k) q% @+ k1 u' c0 r& O: M8 N: V
Installing dependencies:
9 k! ^/ e! B1 G* U$ p gssproxy x86_64 0.9.2-2.oe2403 OS 95 k8 T; O5 i) q m s
keyutils x86_64 1.6.3-5.oe2403 OS 52 k. N1 C7 {1 K! r" d. v" Z6 g [! }
krb5 x86_64 1.21.2-7.oe2403 update 77 k( a& |& E v, e) e! A5 y
quota x86_64 1:4.06-8.oe2403 update 225 k
- ^( I2 n3 N7 i. U3 ]6 X2 W rpcbind x86_64 1.2.6-7.oe2403 OS 44 k- E$ ]- ]5 I. H# @. p3 c3 P" W9 ^
Installing weak dependencies:
2 i5 K* [- c1 i3 r/ l& J2 v: k nfs-utils-help x86_64 2:2.6.3-1.oe2403 OS 99 k
% [ X$ D# r8 ?0 j& J. q* j0 P# L# `1 N& B3 P
Transaction Summary
- k J5 ?) E* Q, G5 D) I O% {=======================================================================================% n( R& D6 `8 `4 R1 T% Z9 E
Install 7 Packages6 \4 F: W* Z/ I7 O
P1 J: F- o( t! t8 I, w0 Q
Total download size: 905 k
! @' V& W3 t* q/ [2 g8 KInstalled size: 3.6 M
2 D4 s3 Z1 Z7 K L7 O7 d J/ GDownloading Packages:
; }$ j9 n; c7 ~9 ]1 w3 g(1/7): keyutils-1.6.3-5.oe2403.x86_64.rpm 202 kB/s | 52 kB 00:00
. i# B" y6 { e ^/ t(2/7): nfs-utils-2.6.3-1.oe2403.x86_64.rpm 760 kB/s | 312 kB 00:00
7 i% J& P {3 ]6 P- Y(3/7): nfs-utils-help-2.6.3-1.oe2403.x86_64.rpm 438 kB/s | 99 kB 00:00
( `; p' }7 L/ n' y' C! u(4/7): rpcbind-1.2.6-7.oe2403.x86_64.rpm 363 kB/s | 44 kB 00:00
, Z7 E2 J5 c' {(5/7): krb5-1.21.2-7.oe2403.x86_64.rpm 675 kB/s | 77 kB 00:00 $ y2 a4 K( J% b' _( r3 W
(6/7): quota-4.06-8.oe2403.x86_64.rpm 1.3 MB/s | 225 kB 00:00
1 F4 T5 c+ `. t2 w/ i(7/7): gssproxy-0.9.2-2.oe2403.x86_64.rpm 113 kB/s | 95 kB 00:00
: E# r0 s0 ], ]---------------------------------------------------------------------------------------
9 u2 J- Q* w& ?Total 1.0 MB/s | 905 kB 00:00 ! V+ J s* L9 L4 @
Running transaction check( w0 f9 J3 I2 {" c" l
Transaction check succeeded.1 ]) @/ r |: ?/ N9 v+ i2 w r% Q
Running transaction test/ B. ]" Y8 \8 w) w* T+ w% L! `
Transaction test succeeded.
. z# p7 L) q2 D9 l7 w* IRunning transaction
1 ?# g" u* ]# c$ ~8 h# X7 v! H Preparing : 1/1 0 b8 r* X1 [+ Z5 W$ ]! Z
Running scriptlet: rpcbind-1.2.6-7.oe2403.x86_64 1/7 _0 P$ z6 L3 u& Q7 M# B
Installing : rpcbind-1.2.6-7.oe2403.x86_64 1/7 g' |+ ~; W# K3 \( I" \& o
Running scriptlet: rpcbind-1.2.6-7.oe2403.x86_64 1/7 ; K/ t+ l7 U, D
Created symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /usr/lib/systemd/system/rpcbind.socket., w- e, V) b6 {( ~0 W6 A" E
Created symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /usr/lib/systemd/system/rpcbind.service.
k( w% a7 ]/ J4 O) U/ i
, {7 P' @; S! @9 I Installing : keyutils-1.6.3-5.oe2403.x86_64 2/7 : {! @" m7 `9 ]# e
Installing : quota-1:4.06-8.oe2403.x86_64 3/7
3 L+ | T; E! c! S6 M Running scriptlet: quota-1:4.06-8.oe2403.x86_64 3/7 $ J g: g7 d, r' y2 K' e `8 W
Installing : krb5-1.21.2-7.oe2403.x86_64 4/7 , l. z+ j8 j" M1 j1 ~$ w
Running scriptlet: krb5-1.21.2-7.oe2403.x86_64 4/7 * Z4 G! I! o* U- G
Installing : gssproxy-0.9.2-2.oe2403.x86_64 5/7
: N/ e4 D4 h6 R8 V' u* M Running scriptlet: gssproxy-0.9.2-2.oe2403.x86_64 5/7
/ s6 D, X& _, z, h2 Z Installing : nfs-utils-help-2:2.6.3-1.oe2403.x86_64 6/7 2 W$ L+ k8 A# Z% K6 p. p8 ` A! I
Running scriptlet: nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7
) v4 J: d T6 E! t8 v% u9 I Installing : nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7
* z" Q2 f! e) H$ z Running scriptlet: nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7
* d, \9 Z( g2 p8 P. m. |/usr/lib/tmpfiles.d/dbus.conf:13: Line references path below legacy directory /var/run/, updating /var/run/dbus/containers → /run/dbus/containers; please update the tmpfiles.d/ drop-in file accordingly.! f+ W+ W" y5 w, Q. c l
( c4 ^- L; q4 A) V7 c! t8 e
Verifying : gssproxy-0.9.2-2.oe2403.x86_64 1/7
) S" n( I0 H! Z5 b1 i# p Verifying : keyutils-1.6.3-5.oe2403.x86_64 2/7
) t) ?$ v* n* O; e, K Verifying : nfs-utils-2:2.6.3-1.oe2403.x86_64 3/7 7 W5 r' `4 m) P% a& l6 ^. K
Verifying : nfs-utils-help-2:2.6.3-1.oe2403.x86_64 4/7 . Y# P% R& D1 j' i8 j, s
Verifying : rpcbind-1.2.6-7.oe2403.x86_64 5/7
8 o% V8 P# J0 I Verifying : krb5-1.21.2-7.oe2403.x86_64 6/7
& R& M6 ~5 ]' L+ `, T0 Q1 G1 { Verifying : quota-1:4.06-8.oe2403.x86_64 7/7
; Z0 @! h) x5 S' w e( Z- R9 `2 s0 ~* K( U# M1 W$ @
Installed:
& T) e! D$ q- u. b1 R# Z4 L gssproxy-0.9.2-2.oe2403.x86_64 keyutils-1.6.3-5.oe2403.x86_64
# h8 e% V$ K# U- d- w krb5-1.21.2-7.oe2403.x86_64 nfs-utils-2:2.6.3-1.oe2403.x86_64
' W) D6 Y" A0 u7 s1 E4 U) `6 b% S5 e nfs-utils-help-2:2.6.3-1.oe2403.x86_64 quota-1:4.06-8.oe2403.x86_64
% d# V0 h3 c7 ^2 K/ z+ b O* Y rpcbind-1.2.6-7.oe2403.x86_64 ; j5 F: E0 p! G" W
% c$ q! M/ s, \ e" a3 B" k4 P
Complete!; K! `2 a B+ f. m
[root@openeluer ~]# mount -v -t nfs 100.130.2.25:/thinker/storage/ /thinker/tb269store
+ f" ~1 D2 g1 l, o/ @mount.nfs: timeout set for Sat Nov 2 14:41:31 20242 `& z9 a& [, J+ x
mount.nfs: trying text-based options 'vers=4.2,addr=100.130.2.25,clientaddr=100.120.5.30'
; x) n! Y4 [) M; ]9 g[root@openeluer ~]# df -h$ A( a1 |2 e7 @4 X& c* |$ J" Q8 @$ |
Filesystem Size Used Avail Use% Mounted on
. G( w+ {+ s8 Z& x/dev/mapper/openeuler-root 1023G 22G 1002G 3% /
# o/ Q. d L8 m! R! B: k. Hdevtmpfs 4.0M 0 4.0M 0% /dev9 H+ B& `: C9 s# U, a. b
tmpfs 7.6G 0 7.6G 0% /dev/shm+ q' w' s+ G3 \, s/ X7 |! F% |) H
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
( k9 N: w6 S/ J! Rtmpfs 3.1G 8.6M 3.1G 1% /run, z' Y, W( s6 E
tmpfs 7.6G 0 7.6G 0% /tmp
$ O1 S" c$ x# U8 T% ?/ v: l/dev/vda2 974M 177M 730M 20% /boot7 t1 K0 f4 D3 B0 B, v
100.130.2.25:/thinker/storage 717T 512T 205T 72% /thinker/tb269store2 O& \) Q4 ~; k# }' n2 o* P5 A' r+ k: q1 W
[root@openeluer ~]#
- r" F* s* I5 B! r2 O7 a/ {% _1 b) K& T8 ^
|
|