|
|
[root@openeluer ~]# mount -v -t nfs 100.130.2.25:/thinker/storage/ /thinker/tb269store
: u* r& e6 c6 z, l5 L: Jmount: /thinker/tb269store: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
0 m! o) e, F" k% @ dmesg(1) may have more information after failed mount system call.
% ?' K# U. T; C- h; F2 l/ y+ `0 i( v% k; q& M9 F& b, h, k/ `- o2 E# ^
5 _5 r% u: w* V; F9 I% P4 N" s+ {0 w6 P 如果是ubuntu系统请安装:apt install -y nfs-common cifs-utils
N. b3 s+ G- G9 {( t& F4 e( b7 Q, a" T9 |
) c S% a6 R/ o. h0 G
! N5 X/ t* V, _, Y. z其他版本:2 W% @' \! \6 n/ l7 s
[root@openeluer ~]# yum install -y nfs-utils
& [& D: G0 P: L: p, xLast metadata expiration check: 0:06:39 ago on Sat 02 Nov 2024 02:32:39 PM CST.% W8 P! C9 O$ ~, N b( B
Dependencies resolved.
0 T0 X- N6 n5 k. f7 |4 X9 f=======================================================================================- U; X. k3 b' v4 s. K' d: ~8 T
Package Architecture Version Repository Size1 Y1 A9 }- }) Y
=======================================================================================5 y5 P' K O: v4 m7 {3 g
Installing:' g, `. H/ K# k! ~
nfs-utils x86_64 2:2.6.3-1.oe2403 OS 312 k' R3 g" N/ h; y9 G9 e# o. C
Installing dependencies:* s M* F. ]+ e$ z& C: p
gssproxy x86_64 0.9.2-2.oe2403 OS 95 k
4 O& R' i5 j, ~2 S" U keyutils x86_64 1.6.3-5.oe2403 OS 52 k
2 A5 a8 A" g( E6 y# U0 c5 ^9 x krb5 x86_64 1.21.2-7.oe2403 update 77 k
: y% Q$ {' Y+ c ~2 a3 ` quota x86_64 1:4.06-8.oe2403 update 225 k' e7 e7 d8 S1 a9 M
rpcbind x86_64 1.2.6-7.oe2403 OS 44 k
* V, d4 a1 w9 r/ rInstalling weak dependencies:0 |1 {- k4 j1 N& l
nfs-utils-help x86_64 2:2.6.3-1.oe2403 OS 99 k5 Y; k6 t- M+ K
6 W) z( i6 M% u7 F4 f4 O7 u0 z, L
Transaction Summary
+ w7 d) T+ @. o. Z) v=======================================================================================3 v8 K/ J2 Y, y+ M3 x
Install 7 Packages
4 l9 L9 S: ^4 u, | i3 `9 {% W2 p
+ P' _) K2 x6 t! r( C4 ?Total download size: 905 k N/ S' p% h2 D7 K
Installed size: 3.6 M
* V4 a' }+ [+ E1 DDownloading Packages:
; z. u8 j1 ?, j+ D/ H4 q(1/7): keyutils-1.6.3-5.oe2403.x86_64.rpm 202 kB/s | 52 kB 00:00 $ G4 y6 ~; L5 }) ]- j
(2/7): nfs-utils-2.6.3-1.oe2403.x86_64.rpm 760 kB/s | 312 kB 00:00
/ _, G2 `* ^) d+ z% y% J k(3/7): nfs-utils-help-2.6.3-1.oe2403.x86_64.rpm 438 kB/s | 99 kB 00:00 # b9 e n7 G, n; C2 Y3 o0 S- J2 K
(4/7): rpcbind-1.2.6-7.oe2403.x86_64.rpm 363 kB/s | 44 kB 00:00 1 W8 N5 k2 Z$ U
(5/7): krb5-1.21.2-7.oe2403.x86_64.rpm 675 kB/s | 77 kB 00:00
$ W( }& R7 z4 Z( ?* t( \5 ^0 [. w1 {/ e(6/7): quota-4.06-8.oe2403.x86_64.rpm 1.3 MB/s | 225 kB 00:00 ) H- J; l/ m4 ]8 n9 A& p m" M$ l
(7/7): gssproxy-0.9.2-2.oe2403.x86_64.rpm 113 kB/s | 95 kB 00:00
I6 A7 ~" _ O+ v$ J3 p; U" v---------------------------------------------------------------------------------------
5 [6 A& [1 Y! m& h |Total 1.0 MB/s | 905 kB 00:00 ) {& n& M1 k5 E4 ^5 t" X
Running transaction check
% @. t q9 n: r Z' LTransaction check succeeded.# z! k5 l! [5 B( }2 Q7 W( T
Running transaction test
) `! L# W( r' ITransaction test succeeded.$ w: E+ N. p$ r; M
Running transaction- ]- `: g g: x6 q: P
Preparing : 1/1
6 _: R* W3 Z5 A7 [2 G! Z0 I Running scriptlet: rpcbind-1.2.6-7.oe2403.x86_64 1/7
: a3 z) K- H k Installing : rpcbind-1.2.6-7.oe2403.x86_64 1/7
: N) B+ s4 ~2 [- ?5 q Running scriptlet: rpcbind-1.2.6-7.oe2403.x86_64 1/7 " H- o7 s: E! w3 y
Created symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /usr/lib/systemd/system/rpcbind.socket.
) ?6 a7 {5 H6 f K) b% iCreated symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /usr/lib/systemd/system/rpcbind.service.
+ H4 z6 F5 ~6 \1 \6 N% s2 u4 ^
$ `3 R* R4 ^7 Z. E: t1 y4 `+ o Installing : keyutils-1.6.3-5.oe2403.x86_64 2/7
1 T& a! }( s1 N" d, Q/ t7 b Installing : quota-1:4.06-8.oe2403.x86_64 3/7
9 U7 l& g' S3 J0 O" L% `) e. t: U. U Running scriptlet: quota-1:4.06-8.oe2403.x86_64 3/7
: i- M; q7 j( j X Installing : krb5-1.21.2-7.oe2403.x86_64 4/7 & P6 ?4 ^( M7 v1 M
Running scriptlet: krb5-1.21.2-7.oe2403.x86_64 4/7
5 F( f: ^0 \" U Installing : gssproxy-0.9.2-2.oe2403.x86_64 5/7
, R7 C) H% @$ J) d2 P% S0 N Running scriptlet: gssproxy-0.9.2-2.oe2403.x86_64 5/7
, Z4 y& O+ U8 ]4 L2 ]% a6 x7 T2 U' c Installing : nfs-utils-help-2:2.6.3-1.oe2403.x86_64 6/7
4 a5 O- S0 W, r/ t u1 \! M Running scriptlet: nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7 2 ~7 i( c t( X7 E3 q5 W6 _8 w4 z
Installing : nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7 - |" a5 n3 w2 r* m0 [! A9 I' p
Running scriptlet: nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7
) O: i' M7 _, e5 {7 T/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.
6 Z% v0 B# j/ I, Q; R4 [. J1 R/ {( Z/ ]' Y9 }* W6 I& K5 e2 q6 X- I
Verifying : gssproxy-0.9.2-2.oe2403.x86_64 1/7
. D4 l- ~6 N. \- ^9 G Verifying : keyutils-1.6.3-5.oe2403.x86_64 2/7 ( e5 X7 B) l3 g2 u: h/ {
Verifying : nfs-utils-2:2.6.3-1.oe2403.x86_64 3/7
0 b/ F1 S! m; d: \ S3 M Verifying : nfs-utils-help-2:2.6.3-1.oe2403.x86_64 4/7 # U- x+ J @! |% B
Verifying : rpcbind-1.2.6-7.oe2403.x86_64 5/7 4 a. ?) h8 R2 [
Verifying : krb5-1.21.2-7.oe2403.x86_64 6/7 3 u& ~7 }) t5 k4 }- B7 G: T) e
Verifying : quota-1:4.06-8.oe2403.x86_64 7/7
6 N& a! D% i# s5 K! Y5 B0 J& K) J4 _! ?# F) C
Installed:
5 U; q% S5 A _7 V6 ]: _6 J: S- N gssproxy-0.9.2-2.oe2403.x86_64 keyutils-1.6.3-5.oe2403.x86_64 7 G9 ?$ r ^8 W& W8 V V2 f: r4 v
krb5-1.21.2-7.oe2403.x86_64 nfs-utils-2:2.6.3-1.oe2403.x86_64 1 a+ D( }$ q1 c! O2 g
nfs-utils-help-2:2.6.3-1.oe2403.x86_64 quota-1:4.06-8.oe2403.x86_64
- h% W! Z$ M( x' f4 a. i% Y rpcbind-1.2.6-7.oe2403.x86_64
$ c+ S7 u6 @/ |1 T
, D% ^) Q; c+ v6 j4 P/ i0 rComplete!
' _5 \$ q( y) b; s2 A& [[root@openeluer ~]# mount -v -t nfs 100.130.2.25:/thinker/storage/ /thinker/tb269store
* ~( ~ ?' V# Q t1 nmount.nfs: timeout set for Sat Nov 2 14:41:31 2024
. A7 I$ f" p% E- H0 |$ I: o9 Dmount.nfs: trying text-based options 'vers=4.2,addr=100.130.2.25,clientaddr=100.120.5.30'
6 {% W: q" E7 L) R7 r[root@openeluer ~]# df -h
2 t2 i" Z# s' |1 GFilesystem Size Used Avail Use% Mounted on3 q# u" K! g- Z" `4 c2 H4 F* e! ~5 t
/dev/mapper/openeuler-root 1023G 22G 1002G 3% /
9 {" N; |0 Q% a& Qdevtmpfs 4.0M 0 4.0M 0% /dev/ X- |* ]1 d x
tmpfs 7.6G 0 7.6G 0% /dev/shm* \& J& @ {; s$ j
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup+ w: x5 k/ {1 H
tmpfs 3.1G 8.6M 3.1G 1% /run E F( _$ N3 J& ?. B
tmpfs 7.6G 0 7.6G 0% /tmp
' x6 _7 W) m1 j2 q* `* `/dev/vda2 974M 177M 730M 20% /boot9 H3 o1 r/ \& L! S: e) }) Q! r; X
100.130.2.25:/thinker/storage 717T 512T 205T 72% /thinker/tb269store
* {* L( R7 o2 ^% Z2 o" Q[root@openeluer ~]# ( `; ^7 w' Z/ ^6 ?; F! S [/ b4 w
1 h! {/ W# D2 l9 S- G( c! V
|
|