- 积分
- 16841
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
[root@openeluer ~]# mount -v -t nfs 100.130.2.25:/thinker/storage/ /thinker/tb269store
7 x3 a4 y/ x, u$ m* X5 |$ N& F! Bmount: /thinker/tb269store: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.5 ? X3 G9 A4 {9 \3 g7 y
dmesg(1) may have more information after failed mount system call.
) v& Q9 Q7 X% z8 v! B, S* z4 R& y( M8 P5 R/ v0 M9 Q
# v# q) Z5 ]9 @' I1 d* ~1 J 如果是ubuntu系统请安装:apt install -y nfs-common cifs-utils
# a. y0 i+ @! _& ~4 N0 d3 P
- b ~0 P3 g, p2 @* d4 [9 B& t3 h) w' v
0 \7 A8 S' d% T2 t( X其他版本:) m. x. h" u* Y: g, O8 E. ]
[root@openeluer ~]# yum install -y nfs-utils/ h4 E# j% N6 R6 u: [; B [
Last metadata expiration check: 0:06:39 ago on Sat 02 Nov 2024 02:32:39 PM CST.
$ Z# ?4 H# |0 \$ R4 PDependencies resolved.
% U" e- C' n/ D; q) B=======================================================================================
0 i5 y& D% B" ^, s$ M! k Package Architecture Version Repository Size% }: `/ v4 ?4 V! Q5 K
=======================================================================================
# v; A. m0 n V! Q/ g( I# zInstalling:, p2 Y! m+ c: t7 D
nfs-utils x86_64 2:2.6.3-1.oe2403 OS 312 k
# L2 r3 {8 R2 V2 Y7 C7 f, EInstalling dependencies:3 K6 w% V1 J7 Z. V: z! m; q5 Z1 c7 E
gssproxy x86_64 0.9.2-2.oe2403 OS 95 k% d- p/ }( I$ n3 W( k0 r
keyutils x86_64 1.6.3-5.oe2403 OS 52 k7 G- K9 O/ k* b5 J/ t4 v4 k
krb5 x86_64 1.21.2-7.oe2403 update 77 k4 d! k+ e0 `# ?5 D d
quota x86_64 1:4.06-8.oe2403 update 225 k
4 p9 c) v( A% d. D: @ rpcbind x86_64 1.2.6-7.oe2403 OS 44 k
) F: B4 }3 ^: l3 S: V6 ?& |Installing weak dependencies:- [8 j _7 F! c7 @. i' Z# c6 A4 D
nfs-utils-help x86_64 2:2.6.3-1.oe2403 OS 99 k p l* S1 S* U4 e
( U8 N2 Y- ~/ E0 _# G( o
Transaction Summary7 t3 \% \2 S# m' {. Z: U
=======================================================================================7 F5 u3 z% V. `2 s
Install 7 Packages
" Y8 l, x8 Y: ?+ d- Z E3 _
2 }& Z( R, `" u3 {Total download size: 905 k
) x$ n5 x6 x* D6 p1 o2 I/ hInstalled size: 3.6 M5 j8 K% o0 ~1 x( k# }) h$ T
Downloading Packages:
" S) R! c' @' d e5 n(1/7): keyutils-1.6.3-5.oe2403.x86_64.rpm 202 kB/s | 52 kB 00:00 ! Y, u7 D4 c! Z/ i
(2/7): nfs-utils-2.6.3-1.oe2403.x86_64.rpm 760 kB/s | 312 kB 00:00
( x7 i7 n& [, U9 I6 b2 S(3/7): nfs-utils-help-2.6.3-1.oe2403.x86_64.rpm 438 kB/s | 99 kB 00:00 9 j( z3 ]; p. t, ~2 m: Z
(4/7): rpcbind-1.2.6-7.oe2403.x86_64.rpm 363 kB/s | 44 kB 00:00 3 j0 V$ b: h7 E N2 z8 M1 F* u% z
(5/7): krb5-1.21.2-7.oe2403.x86_64.rpm 675 kB/s | 77 kB 00:00 , R; v, V2 x: p' v
(6/7): quota-4.06-8.oe2403.x86_64.rpm 1.3 MB/s | 225 kB 00:00 6 g8 i M8 a$ W+ E4 A* [
(7/7): gssproxy-0.9.2-2.oe2403.x86_64.rpm 113 kB/s | 95 kB 00:00
8 q: E+ u3 ~+ I. A* O---------------------------------------------------------------------------------------
" h4 h% N8 P% _+ M e7 BTotal 1.0 MB/s | 905 kB 00:00 + c; ?$ p+ O$ S+ w3 y/ @' A, o6 h
Running transaction check
, E1 {) }/ y2 f1 Q* G" Z2 o2 C! dTransaction check succeeded.
6 w4 W4 |& Q; ^7 p" r- uRunning transaction test
8 @" Y0 R& m* O& P! c; bTransaction test succeeded.8 o8 @: u0 g+ W' M. ?
Running transaction- x& }# o8 O- M' [- I# T
Preparing : 1/1
! L' D$ M: d, |9 V3 v" R Running scriptlet: rpcbind-1.2.6-7.oe2403.x86_64 1/7 ; g) [& ?, W% Z8 b' y4 q
Installing : rpcbind-1.2.6-7.oe2403.x86_64 1/7 " W% a$ z& o3 r' {- }5 [
Running scriptlet: rpcbind-1.2.6-7.oe2403.x86_64 1/7 2 m- G' m+ F0 D$ }; w
Created symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /usr/lib/systemd/system/rpcbind.socket.1 x" Z' t* B) `& b0 ^
Created symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /usr/lib/systemd/system/rpcbind.service.
+ m ^5 I! Z: y/ R, T) B1 J
3 h9 Z3 B* B! b" v) }2 t, I Installing : keyutils-1.6.3-5.oe2403.x86_64 2/7 c6 B& N' T( J7 Q' H5 T
Installing : quota-1:4.06-8.oe2403.x86_64 3/7 ( E. S4 @' v% j, f; _
Running scriptlet: quota-1:4.06-8.oe2403.x86_64 3/7
, E) e+ G- Z3 ?$ u; c0 F Installing : krb5-1.21.2-7.oe2403.x86_64 4/7 & j) l: ^: g' V- U2 M+ g! M
Running scriptlet: krb5-1.21.2-7.oe2403.x86_64 4/7
# O+ k8 P8 ^" f Installing : gssproxy-0.9.2-2.oe2403.x86_64 5/7
. S' M' r: k- a3 s0 F$ S$ H* c5 X; z Running scriptlet: gssproxy-0.9.2-2.oe2403.x86_64 5/7
! v6 w7 p y( t) A; _( C( k Installing : nfs-utils-help-2:2.6.3-1.oe2403.x86_64 6/7
( X4 S* c: c# B4 s Running scriptlet: nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7 6 b( u T6 U7 O- J
Installing : nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7
5 z# M2 R9 ]! r& p Running scriptlet: nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7 3 J1 a8 ^; n( z: m( e1 y6 ?
/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.
9 x3 t0 w) T2 w$ Y. b7 g1 j8 Q4 L' Q N
Verifying : gssproxy-0.9.2-2.oe2403.x86_64 1/7
$ T9 v$ V, q9 B# @/ W5 V Verifying : keyutils-1.6.3-5.oe2403.x86_64 2/7
* F, Z5 O; A+ A; y! k: K. l/ { Verifying : nfs-utils-2:2.6.3-1.oe2403.x86_64 3/7
5 N% {& O- v' j$ f. s! C& a$ c Verifying : nfs-utils-help-2:2.6.3-1.oe2403.x86_64 4/7 1 @0 B7 d- V" r4 K; D
Verifying : rpcbind-1.2.6-7.oe2403.x86_64 5/7
$ H% T- M3 j" J Verifying : krb5-1.21.2-7.oe2403.x86_64 6/7
! M5 U" r0 e8 r8 ~; g Verifying : quota-1:4.06-8.oe2403.x86_64 7/7
6 Z6 t$ i# J) W
/ T1 ~ c1 ]- D$ }Installed:, x9 L2 e, E" f! o- T$ O
gssproxy-0.9.2-2.oe2403.x86_64 keyutils-1.6.3-5.oe2403.x86_64
" ?3 D b% e. A krb5-1.21.2-7.oe2403.x86_64 nfs-utils-2:2.6.3-1.oe2403.x86_64 " C5 c& v% q0 L6 j
nfs-utils-help-2:2.6.3-1.oe2403.x86_64 quota-1:4.06-8.oe2403.x86_64 & n4 U& ^2 b9 L
rpcbind-1.2.6-7.oe2403.x86_64
9 l0 S4 ]3 D e2 y& V: i8 ^! k) g( \' s0 }) y0 G8 \( L4 _" P. v
Complete!
4 N3 J# R' w( d6 l" V1 S[root@openeluer ~]# mount -v -t nfs 100.130.2.25:/thinker/storage/ /thinker/tb269store
+ Z. j! `0 T& |4 F- |mount.nfs: timeout set for Sat Nov 2 14:41:31 2024
; O% q! c: h: Y# kmount.nfs: trying text-based options 'vers=4.2,addr=100.130.2.25,clientaddr=100.120.5.30'3 ~& F9 @+ T q- J x
[root@openeluer ~]# df -h
( @" p! S0 n9 ^# U* J+ R6 oFilesystem Size Used Avail Use% Mounted on
& w3 n) R, X; A2 e/dev/mapper/openeuler-root 1023G 22G 1002G 3% /
, d/ W: Z3 W, H. g% ?* e! X2 Idevtmpfs 4.0M 0 4.0M 0% /dev
, `0 h0 o0 P- t& a5 I" Z2 Mtmpfs 7.6G 0 7.6G 0% /dev/shm- R7 ?- j0 l) q2 ?
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
7 D7 j2 ?5 Z3 V* f' G- O, |tmpfs 3.1G 8.6M 3.1G 1% /run
1 o9 l! @1 X" S/ _7 vtmpfs 7.6G 0 7.6G 0% /tmp' L! p X# e+ K G" {( ^0 P' y) P+ k
/dev/vda2 974M 177M 730M 20% /boot5 L. X$ ~/ t" L9 |/ ~
100.130.2.25:/thinker/storage 717T 512T 205T 72% /thinker/tb269store; E' l8 k! G1 }; y- b4 h6 k
[root@openeluer ~]#
$ T$ d$ V4 q* L/ `5 ?# p# Y' d! H6 o( Y
" K1 N& {1 f Y2 ^ |
|