|
|
[root@openeluer ~]# mount -v -t nfs 100.130.2.25:/thinker/storage/ /thinker/tb269store 4 W; @( A9 G+ t& h: c
mount: /thinker/tb269store: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
- n* Z& z+ ^" t$ j- m8 p+ K dmesg(1) may have more information after failed mount system call.
. n8 a$ b; \$ X$ y1 _) g( B7 r3 I4 c% T! X w3 x( e
9 p/ v& k4 Y" ^0 H6 c/ w4 Q% J( [
如果是ubuntu系统请安装:apt install -y nfs-common cifs-utils, v2 m4 v8 B/ D, W9 z
) M/ I0 x9 k9 m( p E6 d5 ~& q, y" _1 A. m
4 K' h) x& g# z% l; ^6 S
其他版本:( Z7 [' u& j" t, M
[root@openeluer ~]# yum install -y nfs-utils! v" u6 l! S {; I" S0 `" p
Last metadata expiration check: 0:06:39 ago on Sat 02 Nov 2024 02:32:39 PM CST.
k) x" S$ g9 `Dependencies resolved.
$ b# U6 B( q: y8 g5 {=======================================================================================, S: R4 D( \$ |0 @
Package Architecture Version Repository Size2 g- |! G Q7 o3 ~' w
=======================================================================================
$ V! q: q) ^! T o( r: c2 XInstalling:8 c( T# A2 p( L+ R3 X, ~+ W
nfs-utils x86_64 2:2.6.3-1.oe2403 OS 312 k
, h1 B+ c! d6 K2 l5 j; I! X6 eInstalling dependencies:* {2 I1 \- r( v! y! L
gssproxy x86_64 0.9.2-2.oe2403 OS 95 k2 h6 j: _5 |" z& m. q
keyutils x86_64 1.6.3-5.oe2403 OS 52 k
* c/ U( F. J) f krb5 x86_64 1.21.2-7.oe2403 update 77 k
# E" ?6 H& J+ A' a% k+ [8 b; c quota x86_64 1:4.06-8.oe2403 update 225 k
1 R" p& v( }& [5 \' @% c* Q5 ` rpcbind x86_64 1.2.6-7.oe2403 OS 44 k" n, K6 K1 w8 B2 c8 m* m! q! y
Installing weak dependencies:. ?6 `7 w- u" `. T& b
nfs-utils-help x86_64 2:2.6.3-1.oe2403 OS 99 k! {2 D5 y& X6 ?' m/ \# v
7 r) [: Q4 t3 }( M& q% k5 G( {1 K, L
Transaction Summary- w) f( M# `& r' [
=======================================================================================
* [5 p4 k; l |% ^Install 7 Packages) y, x. k' V1 [* Z: ?" o9 Z
( D0 r! e7 X- z1 z! r+ E* W
Total download size: 905 k! d* y3 r: }9 X! X: B. ^) r8 e
Installed size: 3.6 M. j" m6 s5 A! @6 @& F7 ~( \/ s& J
Downloading Packages:' Z/ Z1 B, ]5 U" H- _* |1 j
(1/7): keyutils-1.6.3-5.oe2403.x86_64.rpm 202 kB/s | 52 kB 00:00
9 O/ {. q, z: s* u; |5 _, R$ y1 a(2/7): nfs-utils-2.6.3-1.oe2403.x86_64.rpm 760 kB/s | 312 kB 00:00 . V. C$ l% k( Y. J
(3/7): nfs-utils-help-2.6.3-1.oe2403.x86_64.rpm 438 kB/s | 99 kB 00:00
$ O# X; f' v2 h% J* @(4/7): rpcbind-1.2.6-7.oe2403.x86_64.rpm 363 kB/s | 44 kB 00:00 0 F1 e. u0 K: m- i: ` m
(5/7): krb5-1.21.2-7.oe2403.x86_64.rpm 675 kB/s | 77 kB 00:00
+ l6 `+ z0 i6 n5 [1 z# G$ ~% H(6/7): quota-4.06-8.oe2403.x86_64.rpm 1.3 MB/s | 225 kB 00:00
/ K& S q4 Y; m4 e7 ]% s/ o. @( F(7/7): gssproxy-0.9.2-2.oe2403.x86_64.rpm 113 kB/s | 95 kB 00:00 $ D( n7 h/ c) K/ B- }3 K4 _: C
---------------------------------------------------------------------------------------
. y7 g: V' l% R' |. KTotal 1.0 MB/s | 905 kB 00:00 6 |8 Z9 c. K8 _" O5 H& Y% c
Running transaction check
w; a5 p3 A7 w O7 ETransaction check succeeded.2 W) f6 w1 S7 Y/ l8 t9 l
Running transaction test
: v& C1 \4 X; j6 ], Y& K6 J7 ?# YTransaction test succeeded.
5 J2 ?, q) N0 }8 h6 mRunning transaction
' J- G7 _0 o& Y6 d Preparing : 1/1
! Z _! Y, v7 I/ |- A Running scriptlet: rpcbind-1.2.6-7.oe2403.x86_64 1/7 0 R! S# n' e9 N/ s* l* C0 y8 Z
Installing : rpcbind-1.2.6-7.oe2403.x86_64 1/7
8 k5 D8 N# W/ M0 i# b$ W( j Running scriptlet: rpcbind-1.2.6-7.oe2403.x86_64 1/7
0 m9 c7 j# O5 p' x5 Q8 P* m" LCreated symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /usr/lib/systemd/system/rpcbind.socket.; m% \6 Y2 Z. v( H8 a
Created symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /usr/lib/systemd/system/rpcbind.service.
% {/ e3 z1 L6 g v b
, H+ q% k" e7 \; t0 Q Installing : keyutils-1.6.3-5.oe2403.x86_64 2/7 % X2 N: A! u5 R# G4 ~
Installing : quota-1:4.06-8.oe2403.x86_64 3/7
0 i. ^( `, t' u% x/ P- b0 J Running scriptlet: quota-1:4.06-8.oe2403.x86_64 3/7 % W! |: Q( o) u, u) r1 w/ o+ H
Installing : krb5-1.21.2-7.oe2403.x86_64 4/7 . {0 M# h+ g( F: o! q: Z |
Running scriptlet: krb5-1.21.2-7.oe2403.x86_64 4/7 7 Z% a# r9 u# ^& N9 a
Installing : gssproxy-0.9.2-2.oe2403.x86_64 5/7 6 c' c+ v8 }9 r7 I+ v) X9 Y
Running scriptlet: gssproxy-0.9.2-2.oe2403.x86_64 5/7 4 t9 [6 [8 @# b" x' ~" I
Installing : nfs-utils-help-2:2.6.3-1.oe2403.x86_64 6/7
e: z q! t) P4 q9 @) O4 r Running scriptlet: nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7
8 H4 _& p0 o2 z3 }$ U0 b Installing : nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7
S4 W- ~) ^/ C: {+ U Running scriptlet: nfs-utils-2:2.6.3-1.oe2403.x86_64 7/7 0 F. e6 P" k; Q6 H' A
/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./ \# M \7 p$ h! F/ M7 O8 F- ?
0 J5 f/ `3 R' t+ A+ ^' ` Verifying : gssproxy-0.9.2-2.oe2403.x86_64 1/7
0 B# ^" S$ X8 A Verifying : keyutils-1.6.3-5.oe2403.x86_64 2/7
7 Z+ |+ o; T) ^4 I& l& i, | Verifying : nfs-utils-2:2.6.3-1.oe2403.x86_64 3/7
( S J0 P8 ~( G" \2 @9 C Verifying : nfs-utils-help-2:2.6.3-1.oe2403.x86_64 4/7 0 r- W: N* N/ C% m" B" Q- o+ D8 u3 g- R
Verifying : rpcbind-1.2.6-7.oe2403.x86_64 5/7 / w; o. y. a/ n& f6 i6 F. C! v
Verifying : krb5-1.21.2-7.oe2403.x86_64 6/7 : g$ S7 n8 D4 x/ z5 H; b- G
Verifying : quota-1:4.06-8.oe2403.x86_64 7/7 ; A$ Z9 A: P4 _5 u) K, y8 L( Y# ?7 B1 u
4 z1 \" i; g' J; _ F( T! i4 cInstalled:
" l# @0 l1 y. T/ j" L gssproxy-0.9.2-2.oe2403.x86_64 keyutils-1.6.3-5.oe2403.x86_64
8 X& a0 B) F5 v- _' ]1 M+ A krb5-1.21.2-7.oe2403.x86_64 nfs-utils-2:2.6.3-1.oe2403.x86_64
6 w- I5 r! T( f; c5 g nfs-utils-help-2:2.6.3-1.oe2403.x86_64 quota-1:4.06-8.oe2403.x86_64
1 h) a1 t, Q. G$ G$ n3 U rpcbind-1.2.6-7.oe2403.x86_64 ( n5 O1 k+ k6 d7 R. G
1 I+ q) r$ x6 \( ?$ m
Complete!
, g1 W e9 v6 ?3 \) v$ g0 x[root@openeluer ~]# mount -v -t nfs 100.130.2.25:/thinker/storage/ /thinker/tb269store 0 K- `6 Q% Z1 c" q( M" g$ y3 j
mount.nfs: timeout set for Sat Nov 2 14:41:31 2024
" v% r* I" W* Q3 o! m; h6 K4 |2 M8 j' vmount.nfs: trying text-based options 'vers=4.2,addr=100.130.2.25,clientaddr=100.120.5.30'
6 l2 d2 q4 ?5 f! c- L% |[root@openeluer ~]# df -h
; |' e# d# X5 ^& p2 Z7 q- T( @$ FFilesystem Size Used Avail Use% Mounted on
* F- j# K) g' j8 ]0 b/dev/mapper/openeuler-root 1023G 22G 1002G 3% /# |8 l' l) ^6 c
devtmpfs 4.0M 0 4.0M 0% /dev3 g) Y1 M7 n* Q1 q4 L* e# z D
tmpfs 7.6G 0 7.6G 0% /dev/shm
9 M+ o/ B- g2 d6 [* E8 ktmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup6 ~1 ]4 K" K) K& x- c( Y
tmpfs 3.1G 8.6M 3.1G 1% /run. L3 Z, ]2 A$ g+ k
tmpfs 7.6G 0 7.6G 0% /tmp
% d7 }* Y7 m- W' c" {; `) g# I+ w/dev/vda2 974M 177M 730M 20% /boot
0 U; N. Q; Y' h( u& |' q, w' ]100.130.2.25:/thinker/storage 717T 512T 205T 72% /thinker/tb269store
/ Y, T7 Z6 Z" u) V' M& v[root@openeluer ~]#
$ w4 Q9 M$ z+ y) ^8 e( `1 C% n! A4 x" p7 z8 M
|
|