|
|
[root@openeluer ~]# mount -v -t nfs 100.130.2.25:/thinker/storage/ /thinker/tb269store
/ C! l6 P; N3 { L1 mmount: /thinker/tb269store: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program./ m. l% y: B0 Y% H! Z3 h
dmesg(1) may have more information after failed mount system call.
; o( ]# [5 Q( {* ]( c
A% P# ?" _! ?' _1 ?" S' P9 c2 s7 T. S1 l
如果是ubuntu系统请安装:apt install -y nfs-common cifs-utils* O" D) O! \# c1 n" N: w/ K
9 G# j7 S! V% ^+ L4 b. i/ y7 N
, G0 `5 X5 T5 B
$ |* d8 w) S) S6 r3 Q; x
其他版本:: u: x! p% b$ E- L
[root@openeluer ~]# yum install -y nfs-utils q5 f- k: T1 S' e# x6 x {2 j
Last metadata expiration check: 0:06:39 ago on Sat 02 Nov 2024 02:32:39 PM CST.+ d) M: r/ p8 H2 }9 J/ W
Dependencies resolved.
* }5 ]0 `3 ^# k5 C, `- K9 _9 H=======================================================================================
* u4 r8 P0 I$ [/ C" m Package Architecture Version Repository Size, C ? j/ z% Y3 l$ q5 l
=======================================================================================+ ^$ @# U7 {* ]$ _- f
Installing:; U) q/ r3 [# _0 P+ e2 i+ a
nfs-utils x86_64 2:2.6.3-1.oe2403 OS 312 k
4 M1 [1 J1 P4 O0 J) b0 hInstalling dependencies:+ l) `" }% b3 z M# x' K$ {( ]3 y }- m
gssproxy x86_64 0.9.2-2.oe2403 OS 95 k
0 d! y- q0 b8 | keyutils x86_64 1.6.3-5.oe2403 OS 52 k
- ?* Y' {8 W4 d& {/ e krb5 x86_64 1.21.2-7.oe2403 update 77 k) {4 [# w6 f# a5 L3 i6 g# R
quota x86_64 1:4.06-8.oe2403 update 225 k
0 K3 T3 j0 E; t9 F' Y f0 [9 I. _8 n rpcbind x86_64 1.2.6-7.oe2403 OS 44 k/ f. U! B9 C0 P6 f {. J' E
Installing weak dependencies:
5 W1 D7 W2 Q" m/ T, d- [ nfs-utils-help x86_64 2:2.6.3-1.oe2403 OS 99 k) x+ [1 J' z" ?
9 w( }" r' I& w6 K p+ L& c9 c$ s" oTransaction Summary( A2 Y9 k+ H7 q3 t' m5 n
=======================================================================================
7 m/ Q8 P! B' |. Q- U7 xInstall 7 Packages: D/ M- t0 N4 o5 J1 l
( F: r7 }0 R9 C: c3 q. cTotal download size: 905 k3 q/ F7 k" h& Z2 W* y$ Y+ U- J
Installed size: 3.6 M
; ` h8 R/ M0 D- ]" K7 dDownloading Packages:+ }1 k2 c5 a) N
(1/7): keyutils-1.6.3-5.oe2403.x86_64.rpm 202 kB/s | 52 kB 00:00 9 X! k9 s- w3 q* O" [
(2/7): nfs-utils-2.6.3-1.oe2403.x86_64.rpm 760 kB/s | 312 kB 00:00 4 `& j' J8 I& Q& a6 t/ G8 E ~
(3/7): nfs-utils-help-2.6.3-1.oe2403.x86_64.rpm 438 kB/s | 99 kB 00:00
6 T+ |; g1 N/ y(4/7): rpcbind-1.2.6-7.oe2403.x86_64.rpm 363 kB/s | 44 kB 00:00
8 a6 p x( f5 g- B! L(5/7): krb5-1.21.2-7.oe2403.x86_64.rpm 675 kB/s | 77 kB 00:00 , P2 X% s4 l$ B7 \, ^4 ^
(6/7): quota-4.06-8.oe2403.x86_64.rpm 1.3 MB/s | 225 kB 00:00
$ N( m$ q3 z' N$ [0 ](7/7): gssproxy-0.9.2-2.oe2403.x86_64.rpm 113 kB/s | 95 kB 00:00 n5 i. E( u5 {& {
---------------------------------------------------------------------------------------6 Q$ q! C+ V- x. }
Total 1.0 MB/s | 905 kB 00:00
) I! u. a6 ?+ P) D! qRunning transaction check* K' R1 ~, h( T- C- Q
Transaction check succeeded.
% V- } X0 {2 G/ V6 C* ?6 ERunning transaction test) k# Q# D) C) [2 \# g; e7 Z
Transaction test succeeded.% V) Q0 i6 c( j" l" c9 |7 ^
Running transaction& s0 X" f/ t; Q1 r% x
Preparing : 1/1
" ?: s P$ }+ V3 W$ Y+ U Running scriptlet: rpcbind-1.2.6-7.oe2403.x86_64 1/7
1 l. D7 j+ o- g4 T Installing : rpcbind-1.2.6-7.oe2403.x86_64 1/7
' x- P; W$ H J* p Running scriptlet: rpcbind-1.2.6-7.oe2403.x86_64 1/7
" ], Q5 o) N; S. H; `4 b( X8 o, \6 OCreated symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /usr/lib/systemd/system/rpcbind.socket.
4 l# |- J2 M" l. q7 dCreated symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /usr/lib/systemd/system/rpcbind.service.5 m& `: M; I/ h0 D6 m1 F8 x0 P* x
5 d- s, f; x9 x5 L1 O$ D
Installing : keyutils-1.6.3-5.oe2403.x86_64 2/7
9 S2 i: F1 b. B Installing : quota-1:4.06-8.oe2403.x86_64 3/7
9 g2 s8 B. W2 y' a Running scriptlet: quota-1:4.06-8.oe2403.x86_64 3/7
. B# c$ _6 F9 h. a. b) e0 O3 A) R9 K Installing : krb5-1.21.2-7.oe2403.x86_64 4/7 8 K6 ?8 a" W' s; J6 d( V
Running scriptlet: krb5-1.21.2-7.oe2403.x86_64 4/7 5 c1 {8 t4 a; D8 Z
Installing : gssproxy-0.9.2-2.oe2403.x86_64 5/7
& c% _; m& n3 q1 g Running scriptlet: gssproxy-0.9.2-2.oe2403.x86_64 5/7
$ ~* M' ?' l g& z0 h$ U Installing : nfs-utils-help-2:2.6.3-1.oe2403.x86_64 6/7 2 U6 l- c; z" E& f& v
Running scriptlet: nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7
O9 a. R# i0 K& b# [7 c7 P3 { Installing : nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7
8 ~" G1 N2 a7 u Running scriptlet: nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7
1 m8 o' r* L$ P& `/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.
" Z- }$ z% q% q& y9 C+ z$ p2 D7 }' M. i9 A' H. N
Verifying : gssproxy-0.9.2-2.oe2403.x86_64 1/7 0 n% x; w3 V1 Q6 T: [
Verifying : keyutils-1.6.3-5.oe2403.x86_64 2/7
& `2 K5 S5 L3 C1 g7 d Verifying : nfs-utils-2:2.6.3-1.oe2403.x86_64 3/7 7 C0 K* N: _* B& Y) u y
Verifying : nfs-utils-help-2:2.6.3-1.oe2403.x86_64 4/7
. }* T8 R2 [, X( |# v; N Verifying : rpcbind-1.2.6-7.oe2403.x86_64 5/7
6 \$ ]7 s0 B! A0 C2 M Verifying : krb5-1.21.2-7.oe2403.x86_64 6/7 2 r% F" Q. J1 _4 [1 r& D
Verifying : quota-1:4.06-8.oe2403.x86_64 7/7
+ W# D- g6 \9 O- w4 A, M# n- {0 D
Installed:8 N+ Z! l- c1 P& w# G$ {
gssproxy-0.9.2-2.oe2403.x86_64 keyutils-1.6.3-5.oe2403.x86_64
2 u9 g& K* B _" Y; Q krb5-1.21.2-7.oe2403.x86_64 nfs-utils-2:2.6.3-1.oe2403.x86_64 ( a5 F0 K5 A( e+ I
nfs-utils-help-2:2.6.3-1.oe2403.x86_64 quota-1:4.06-8.oe2403.x86_64 / `5 H2 N; t# E( e, j9 w7 B
rpcbind-1.2.6-7.oe2403.x86_64
! N- |# F5 J+ u/ e% k! n: P6 g2 ~5 U1 ^' f( B
Complete!
" `# |3 o9 a5 O! C% l4 H2 B9 @) Y[root@openeluer ~]# mount -v -t nfs 100.130.2.25:/thinker/storage/ /thinker/tb269store 2 M& v( o$ D- S! d \
mount.nfs: timeout set for Sat Nov 2 14:41:31 2024
2 P! ~* Z# }/ ^. n7 B* qmount.nfs: trying text-based options 'vers=4.2,addr=100.130.2.25,clientaddr=100.120.5.30'# h0 y* c: Z' M7 [& y C9 [
[root@openeluer ~]# df -h
( J' t y, x/ n/ E0 [% ^/ CFilesystem Size Used Avail Use% Mounted on; ]1 _! j, Q, B7 Q% H' a
/dev/mapper/openeuler-root 1023G 22G 1002G 3% /
2 D, n, n, A: h, U8 {2 N' sdevtmpfs 4.0M 0 4.0M 0% /dev- a- `# q9 y# |9 ^4 v" A% l
tmpfs 7.6G 0 7.6G 0% /dev/shm8 G5 S) `( F; A4 U- G7 I
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup4 v8 R. C& ]. s
tmpfs 3.1G 8.6M 3.1G 1% /run+ C& S u3 [% d0 b* e7 ]" P
tmpfs 7.6G 0 7.6G 0% /tmp3 G+ }% Z+ a; P. E+ k# E: R
/dev/vda2 974M 177M 730M 20% /boot
6 ^, r, i1 t& S, ]100.130.2.25:/thinker/storage 717T 512T 205T 72% /thinker/tb269store. A4 ]3 K) ]! y; d( y( t
[root@openeluer ~]# 9 K0 D+ o1 P% [9 M# M8 F
+ \+ h) U! Q3 V$ e: T' U: J' k |
|