LINUX714 自动挂载/nfs;物理卷

开机自动挂载

/etc/fstab

vim /etc/fstab

/dev/sdb2 /u2 ext4 defaults 0 0

mount -a

bash 复制代码
[root@web ~]# vim /etc/fstab
[root@web ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sat Apr 19 17:11:28 2025
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root /                       xfs     defaults        0 0
UUID=0671af2f-69a1-4a84-bb51-ceb937bc1a92 /boot                   xfs     defaults        0 0
/dev/mapper/centos-swap swap                    swap    defaults        0 0
/dev/sdb2               /u2                     ext4    defaults        0 0
您在 /var/spool/mail/root 中有邮件
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
[root@web ~]# mount -a
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
/dev/sdb2                   976M  2.6M  907M    1% /u2

/etc/rc.local

192.168.235.20

bash 复制代码
[root@web ~]# cat /etc/rc.local
#!/bin/bash
# THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
#
# It is highly advisable to create own systemd services or udev rules
# to run scripts during boot instead of using this file.
#
# In contrast to previous versions due to parallel execution during boot
# this script will NOT be run after all other services.
#
# Please note that you must run 'chmod +x /etc/rc.d/rc.local' to ensure
# that this script will be executed during boot.

touch /var/lock/subsys/local
mount -o ro /dev/sr0 /mnt

自动挂载

yum install autofs

vim /etc/auto.master

/u01 /etc/auto.test t -120

vim /etc/auto.test

test -fstype=ext4,ro /dev/sdb3

service autofs restart

bash 复制代码
[root@web ~]# mkdir /u05
[root@web ~]# vim /etc/auto.master
您在 /var/spool/mail/root 中有邮件
[root@web ~]# vim /etc/auto.master
[root@web ~]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
[root@web ~]# cat /auto.test
cat: /auto.test: 没有那个文件或目录
[root@web ~]# blkid /dev/sdn5
[root@web ~]# blkid /dev/sdb5
您在 /var/spool/mail/root 中有邮件
[root@web ~]# lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0   20G  0 disk
├─sda1            8:1    0    1G  0 part /boot
└─sda2            8:2    0   19G  0 part
  ├─centos-root 253:0    0   17G  0 lvm  /
  └─centos-swap 253:1    0    2G  0 lvm  [SWAP]
sdb               8:16   0   10G  0 disk
├─sdb1            8:17   0    1G  0 part /u01
├─sdb2            8:18   0    1G  0 part /u2
├─sdb3            8:19   0    1G  0 part
├─sdb4            8:20   0    1K  0 part
├─sdb5            8:21   0    1G  0 part
├─sdb6            8:22   0    1G  0 part
├─sdb7            8:23   0    1G  0 part
├─sdb8            8:24   0    1G  0 part
└─sdb9            8:25   0  900M  0 part
sr0              11:0    1  4.4G  0 rom  /mnt
[root@web ~]# blkid /dev/sdb3
[root@web ~]# blkid /dev/sdb2
/dev/sdb2: UUID="faacf3c9-5c84-4fae-a3d2-f323d9cbc0ef" TYPE="ext4"
[root@web ~]# mkfs.ext4 /dev/sdb3
mke2fs 1.42.9 (28-Dec-2013)
文件系统标签=
OS type: Linux
块大小=4096 (log=2)
分块大小=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
65536 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
第一个数据块=0
Maximum filesystem blocks=268435456
8 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376

Allocating group tables: 完成
正在写入inode表: 完成
Creating journal (8192 blocks): 完成
Writing superblocks and filesystem accounting information: 完成

您在 /var/spool/mail/root 中有邮件
[root@web ~]# blkid /dev/sdb3
/dev/sdb3: UUID="3f7c2f3d-7eb9-4a46-b4f4-7a1ecde49b14" TYPE="ext4"
[root@web ~]# e2label /dev/sdb3 d3
[root@web ~]# blkid /dev/sdb3
/dev/sdb3: LABEL="d3" UUID="3f7c2f3d-7eb9-4a46-b4f4-7a1ecde49b14" TYPE="ext4"
[root@web ~]# cat /etc/auto.test
cat: /etc/auto.test: 没有那个文件或目录
[root@web ~]# vim /etc/auto.test
您在 /var/spool/mail/root 中有邮件
[root@web ~]# cat /etc/auto.test
test -fstype=ext4,ro :/dev/sdb3
[root@web ~]# service autofs  start
Redirecting to /bin/systemctl start autofs.service
您在 /var/spool/mail/root 中有邮件
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
/dev/sdb2                   976M  2.6M  907M    1% /u2
[root@web ~]# ls /u05
[root@web ~]# cat /etc/auto.test
test -fstype=ext4,ro :/dev/sdb3
[root@web ~]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
您在 /var/spool/mail/root 中有邮件
[root@web ~]# ls /u05
[root@web ~]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
[root@web ~]# cat /etc/auto.test
test -fstype=ext4,ro :/dev/sdb3
[root@web ~]# lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0   20G  0 disk
├─sda1            8:1    0    1G  0 part /boot
└─sda2            8:2    0   19G  0 part
  ├─centos-root 253:0    0   17G  0 lvm  /
  └─centos-swap 253:1    0    2G  0 lvm  [SWAP]
sdb               8:16   0   10G  0 disk
├─sdb1            8:17   0    1G  0 part /u01
├─sdb2            8:18   0    1G  0 part /u2
├─sdb3            8:19   0    1G  0 part
├─sdb4            8:20   0    1K  0 part
├─sdb5            8:21   0    1G  0 part
├─sdb6            8:22   0    1G  0 part
├─sdb7            8:23   0    1G  0 part
├─sdb8            8:24   0    1G  0 part
└─sdb9            8:25   0  900M  0 part
sr0              11:0    1  4.4G  0 rom  /mnt
您在 /var/spool/mail/root 中有邮件
[root@web ~]# service autofs restart
Redirecting to /bin/systemctl restart autofs.service
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
/dev/sdb2                   976M  2.6M  907M    1% /u2
[root@web ~]# cd /u05
[root@web u05]# ls
[root@web u05]# lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0   20G  0 disk
├─sda1            8:1    0    1G  0 part /boot
└─sda2            8:2    0   19G  0 part
  ├─centos-root 253:0    0   17G  0 lvm  /
  └─centos-swap 253:1    0    2G  0 lvm  [SWAP]
sdb               8:16   0   10G  0 disk
├─sdb1            8:17   0    1G  0 part /u01
├─sdb2            8:18   0    1G  0 part /u2
├─sdb3            8:19   0    1G  0 part
├─sdb4            8:20   0    1K  0 part
├─sdb5            8:21   0    1G  0 part
├─sdb6            8:22   0    1G  0 part
├─sdb7            8:23   0    1G  0 part
├─sdb8            8:24   0    1G  0 part
└─sdb9            8:25   0  900M  0 part
sr0              11:0    1  4.4G  0 rom  /mnt
您在 /var/spool/mail/root 中有邮件
[root@web u05]# ls /u05/test
lost+found
[root@web u05]# ls /u05
test

node1 /share/nfs 挂载到server下的notes

node1:

rpm -list | grep rpcbind

rpm -list | grep nfs

mkdir /share/nfs

vim /etc/exports

/share/nfs serverip/24(rw)

service rpcbind restart

service nfs restart

bash 复制代码
caozx26@192.168.235.200's password:
     ┌────────────────────────────────────────────────────────────────────┐
     │                        • MobaXterm 20.0 •                          │
     │            (SSH client, X-server and networking tools)             │
     │                                                                    │
     │ ➤ SSH session to caozx26@192.168.235.200                           │
     │   • SSH compression : ✘                                            │
     │   • SSH-browser     : ✔                                            │
     │   • X11-forwarding  : ✔  (remote display is forwarded through SSH) │
     │   • DISPLAY         : ✔  (automatically set on remote server)      │
     │                                                                    │
     │ ➤ For more info, ctrl+click on help or visit our website           │
     └────────────────────────────────────────────────────────────────────┘

Last login: Sun Jul 13 21:33:40 2025 from 192.168.235.1
[caozx26@client ~]$ hostname
client.backup.cn
[caozx26@client ~]$ rpm -qa|grep ^nfs
nfs-utils-1.3.0-0.68.el7.x86_64
nfs4-acl-tools-0.3.3-21.el7.x86_64
[caozx26@client ~]$ rpm -ql rpcbind
/etc/sysconfig/rpcbind
/usr/lib/systemd/system/rpcbind.service
/usr/lib/systemd/system/rpcbind.socket
/usr/lib/tmpfiles.d/rpcbind.conf
/usr/sbin/rpcbind
/usr/sbin/rpcinfo
/usr/share/doc/rpcbind-0.2.0
/usr/share/doc/rpcbind-0.2.0/AUTHORS
/usr/share/doc/rpcbind-0.2.0/ChangeLog
/usr/share/doc/rpcbind-0.2.0/README
/usr/share/man/man8/rpcbind.8.gz
/usr/share/man/man8/rpcinfo.8.gz
/var/lib/rpcbind
[caozx26@client ~]$ ls /share
ls: 无法访问/share: 没有那个文件或目录
[caozx26@client ~]$ cd /sjare
-bash: cd: /sjare: 没有那个文件或目录
[caozx26@client ~]$ cd /share
-bash: cd: /share: 没有那个文件或目录
[caozx26@client ~]$ mkdif /share
bash: mkdif: 未找到命令...
[caozx26@client ~]$ mkdir /share
mkdir: 无法创建目录"/share": 权限不够
[caozx26@client ~]$ sudo su
[sudo] caozx26 的密码:
对不起,请重试。
[sudo] caozx26 的密码:
[root@client caozx26]# ls /share
ls: 无法访问/share: 没有那个文件或目录
[root@client caozx26]# mkdir /share
[root@client caozx26]# cat /etc/exports
[root@client caozx26]# vim /etc/exports
[root@client caozx26]# cat /etc/exports
/share 192.168.235.0/24(rw,sync)
[root@client caozx26]# systemctl start nfs
[root@client caozx26]# systemctl start rpcbind
[root@client caozx26]# ss -naltp | grep 111
LISTEN     0      128          *:111                      *:*                   users:(("rpcbind",pid=696,fd=8))
LISTEN     0      128       [::]:111                   [::]:*                   users:(("rpcbind",pid=696,fd=11))
[root@client caozx26]# mkdir /share/nfs -p
[root@client caozx26]# touch /share/nfs/file{1..5}
[root@client caozx26]# cat /etc/exports
/share 192.168.235.0/24(rw,sync)
[root@client caozx26]# vim /etc/exports
[root@client caozx26]# cat /etc/exports
/share/nfs 192.168.235.0/24(rw,sync)
[root@client caozx26]# service rpcbind restart
Redirecting to /bin/systemctl restart rpcbind.service
[root@client caozx26]# service nfs restart
Redirecting to /bin/systemctl restart nfs.service
[root@client caozx26]# ls /share/nfs
file1  file2  file3  file4  file5
[root@client caozx26]#
Network error: Software caused connection ab

server:

showmount -e nodeip

vim /etc/auto.master

/- /etc/auto.notes -t 120

vim /etc/auto.notes

/notes -nfs,ro node1ip:/share/nfs

service autofs restart

ls /notes

df -h

bash 复制代码
[root@web u05]# showmount -e 192.168.235.200
Export list for 192.168.235.200:
/share/nfs 192.168.235.0/24
您在 /var/spool/mail/root 中有邮件
[root@web u05]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
/u06 /etc/auto.notes --timeout 60
[root@web u05]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
/dev/sdb2                   976M  2.6M  907M    1% /u2
[root@web u05]# vim /etc/auto.master
您在 /var/spool/mail/root 中有邮件
[root@web u05]# ls /u06
[root@web u05]# cd /u06
[root@web u06]# ls
[root@web u06]# cat /etc/auto.notes
/notes -nfs,ro 192.168.235.200:/share/nfs
[root@web u06]# vim /etc/auto.master
[root@web u06]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
/- /etc/auto.notes --timeout 60
[root@web u06]#
Network error: Software caused connection abort

───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Session stopped
    - Press <return> to exit tab
    - Press R to restart session
    - Press S to save terminal output to file
root@192.168.235.20's password:
▒▒▒ʱ▒▒ܾ▒
root@192.168.235.20's password:
     ┌────────────────────────────────────────────────────────────────────┐
     │                        • MobaXterm 20.0 •                          │
     │            (SSH client, X-server and networking tools)             │
     │                                                                    │
     │ ➤ SSH session to root@192.168.235.20                               │
     │   • SSH compression : ✘                                            │
     │   • SSH-browser     : ✔                                            │
     │   • X11-forwarding  : ✔  (remote display is forwarded through SSH) │
     │   • DISPLAY         : ✔  (automatically set on remote server)      │
     │                                                                    │
     │ ➤ For more info, ctrl+click on help or visit our website           │
     └────────────────────────────────────────────────────────────────────┘

Last failed login: Mon Jul 14 21:14:35 CST 2025 from 192.168.235.1 on ssh:notty
There was 1 failed login attempt since the last successful login.
Last login: Mon Jul 14 19:21:29 2025 from 192.168.235.1
[root@web ~]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
/- /etc/auto.notes --timeout 60
[root@web ~]# cat /etc/auto.notes
/notes -nfs,ro 192.168.235.200:/share/nfs
[root@web ~]# ls /notes
ls: 无法访问/notes: 没有那个文件或目录
[root@web ~]# service autofs restart
Redirecting to /bin/systemctl restart autofs.service
[root@web ~]# ls /notes
file1  file2  file3  file4  file5
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
/dev/sdb2                   976M  2.6M  907M    1% /u2
192.168.235.200:/share/nfs   17G  4.5G   13G   27% /notes

物理卷

bash 复制代码
[root@web test]# pvcreate /dev/sdb6 /dev/sdb7
  Physical volume "/dev/sdb6" successfully created.
  Physical volume "/dev/sdb7" successfully created.
您在 /var/spool/mail/root 中有邮件
[root@web test]# pvs
  PV         VG     Fmt  Attr PSize   PFree
  /dev/sda2  centos lvm2 a--  <19.00g    0
  /dev/sdb6         lvm2 ---    1.00g 1.00g
  /dev/sdb7         lvm2 ---    1.00g 1.00g
[root@web test]# pvdisplay /sdv/sdb6
  Failed to find device for physical volume "/sdv/sdb6".
[root@web test]# pvdispy /dev/sdb6
bash: pvdispy: 未找到命令...
[root@web test]# pvdisplay /dev/sdb6
  "/dev/sdb6" is a new physical volume of "1.00 GiB"
  --- NEW Physical volume ---
  PV Name               /dev/sdb6
  VG Name
  PV Size               1.00 GiB
  Allocatable           NO
  PE Size               0
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               9CmJ8F-CIvN-vVhK-dI9L-UwlB-Pt0A-q19e3S

[root@web test]# vgcreate vg01 /dev/sdb6 /dev/sdb7
  Volume group "vg01" successfully created
您在 /var/spool/mail/root 中有邮件
[root@web test]# vgs vg01
  VG   #PV #LV #SN Attr   VSize VFree
  vg01   2   0   0 wz--n- 1.99g 1.99g
[root@web test]#

记录

bash 复制代码
Network error: Connection timed out

───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Session stopped
    - Press <return> to exit tab
    - Press R to restart session
    - Press S to save terminal output to file
root@192.168.235.20's password:
▒▒▒ʱ▒▒ܾ▒
root@192.168.235.20's password:
     ┌────────────────────────────────────────────────────────────────────┐
     │                        • MobaXterm 20.0 •                          │
     │            (SSH client, X-server and networking tools)             │
     │                                                                    │
     │ ➤ SSH session to root@192.168.235.20                               │
     │   • SSH compression : ✘                                            │
     │   • SSH-browser     : ✔                                            │
     │   • X11-forwarding  : ✔  (remote display is forwarded through SSH) │
     │   • DISPLAY         : ✔  (automatically set on remote server)      │
     │                                                                    │
     │ ➤ For more info, ctrl+click on help or visit our website           │
     └────────────────────────────────────────────────────────────────────┘

Last failed login: Mon Jul 14 19:21:22 CST 2025 from 192.168.235.1 on ssh:notty
There was 1 failed login attempt since the last successful login.
Last login: Sun Jul 13 22:39:30 2025 from 192.168.235.1
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M  8.7M  478M    2% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
/dev/sdb2                   976M  2.6M  907M    1% /u2
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
[root@web ~]# lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0   20G  0 disk
├─sda1            8:1    0    1G  0 part /boot
└─sda2            8:2    0   19G  0 part
  ├─centos-root 253:0    0   17G  0 lvm  /
  └─centos-swap 253:1    0    2G  0 lvm  [SWAP]
sdb               8:16   0   10G  0 disk
├─sdb1            8:17   0    1G  0 part /u01
├─sdb2            8:18   0    1G  0 part /u2
├─sdb3            8:19   0    1G  0 part
├─sdb4            8:20   0    1K  0 part
├─sdb5            8:21   0    1G  0 part
├─sdb6            8:22   0    1G  0 part
├─sdb7            8:23   0    1G  0 part
├─sdb8            8:24   0    1G  0 part
└─sdb9            8:25   0  900M  0 part
sr0              11:0    1  4.4G  0 rom  /mnt
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M  8.6M  478M    2% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
/dev/sdb2                   976M  2.6M  907M    1% /u2
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
您在 /var/spool/mail/root 中有新邮件
[root@web ~]# mount -o remount,ro /u03
Password for user01@//192.168.235.20/smb_share:  ***
您在 /var/spool/mail/root 中有邮件
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M  8.6M  478M    2% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
/dev/sdb2                   976M  2.6M  907M    1% /u2
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
[root@web ~]#  mount -o remount,ro /dev.sdb1
mount: 在 /etc/fstab 中找不到 /dev.sdb1
您在 /var/spool/mail/root 中有邮件
[root@web ~]# mount -o remount,ro /dev/sdb1
您在 /var/spool/mail/root 中有邮件
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
/dev/sdb2                   976M  2.6M  907M    1% /u2
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
[root@web ~]# blkid /dev/sdb1
/dev/sdb1: UUID="3508e39c-1cd2-4bbb-8e45-608883ed4513" TYPE="ext4"
[root@web ~]# e2label /dev/sdb1 d1
您在 /var/spool/mail/root 中有邮件
[root@web ~]# blkid /dev/sdb1
/dev/sdb1: LABEL="d1" UUID="3508e39c-1cd2-4bbb-8e45-608883ed4513" TYPE="ext4"
[root@web ~]# umount /u2
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
[root@web ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sat Apr 19 17:11:28 2025
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root /                       xfs     defaults        0 0
UUID=0671af2f-69a1-4a84-bb51-ceb937bc1a92 /boot                   xfs     defaults        0 0
/dev/mapper/centos-swap swap                    swap    defaults        0 0
您在 /var/spool/mail/root 中有邮件
[root@web ~]# vim /dev/fstab
[root@web ~]# vim /etc/fstab
您在 /var/spool/mail/root 中有邮件
[root@web ~]#
[root@web ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sat Apr 19 17:11:28 2025
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root /                       xfs     defaults        0 0
UUID=0671af2f-69a1-4a84-bb51-ceb937bc1a92 /boot                   xfs     defaults        0 0
/dev/mapper/centos-swap swap                    swap    defaults        0 0
/dev/sdb2               /u2                     xfs     defaults        0 0
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
[root@web ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sat Apr 19 17:11:28 2025
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root /                       xfs     defaults        0 0
UUID=0671af2f-69a1-4a84-bb51-ceb937bc1a92 /boot                   xfs     defaults        0 0
/dev/mapper/centos-swap swap                    swap    defaults        0 0
/dev/sdb2               /u2                     xfs     defaults        0 0
您在 /var/spool/mail/root 中有邮件
[root@web ~]# cat /u2
cat: /u2: 是一个目录
[root@web ~]# lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0   20G  0 disk
├─sda1            8:1    0    1G  0 part /boot
└─sda2            8:2    0   19G  0 part
  ├─centos-root 253:0    0   17G  0 lvm  /
  └─centos-swap 253:1    0    2G  0 lvm  [SWAP]
sdb               8:16   0   10G  0 disk
├─sdb1            8:17   0    1G  0 part /u01
├─sdb2            8:18   0    1G  0 part
├─sdb3            8:19   0    1G  0 part
├─sdb4            8:20   0    1K  0 part
├─sdb5            8:21   0    1G  0 part
├─sdb6            8:22   0    1G  0 part
├─sdb7            8:23   0    1G  0 part
├─sdb8            8:24   0    1G  0 part
└─sdb9            8:25   0  900M  0 part
sr0              11:0    1  4.4G  0 rom  /mnt
[root@web ~]# mount -a
mount: 文件系统类型错误、选项错误、/dev/sdb2 上有坏超级块、
       缺少代码页或助手程序,或其他错误

       有些情况下在 syslog 中可以找到一些有用信息- 请尝试
       dmesg | tail  这样的命令看看。
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
[root@web ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sat Apr 19 17:11:28 2025
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root /                       xfs     defaults        0 0
UUID=0671af2f-69a1-4a84-bb51-ceb937bc1a92 /boot                   xfs     defaults        0 0
/dev/mapper/centos-swap swap                    swap    defaults        0 0
/dev/sdb2               /u2                     xfs     defaults        0 0
您在 /var/spool/mail/root 中有邮件
[root@web ~]# blkid /dev/sdb2
/dev/sdb2: UUID="faacf3c9-5c84-4fae-a3d2-f323d9cbc0ef" TYPE="ext4"
您在 /var/spool/mail/root 中有邮件
[root@web ~]# vim /etc/fstab
[root@web ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sat Apr 19 17:11:28 2025
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root /                       xfs     defaults        0 0
UUID=0671af2f-69a1-4a84-bb51-ceb937bc1a92 /boot                   xfs     defaults        0 0
/dev/mapper/centos-swap swap                    swap    defaults        0 0
/dev/sdb2               /u2                     ext4    defaults        0 0
您在 /var/spool/mail/root 中有邮件
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
[root@web ~]# mount -a
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
/dev/sdb2                   976M  2.6M  907M    1% /u2
[root@web ~]# cat /etc/rc.local
#!/bin/bash
# THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
#
# It is highly advisable to create own systemd services or udev rules
# to run scripts during boot instead of using this file.
#
# In contrast to previous versions due to parallel execution during boot
# this script will NOT be run after all other services.
#
# Please note that you must run 'chmod +x /etc/rc.d/rc.local' to ensure
# that this script will be executed during boot.

touch /var/lock/subsys/local
mount -o ro /dev/sr0 /mnt
[root@web ~]# yum install autofs
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
local                                                                                                                       | 3.6 kB  00:00:00
软件包 1:autofs-5.0.7-113.el7.x86_64 已安装并且是最新版本
无须任何处理
您在 /var/spool/mail/root 中有邮件
[root@web ~]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
[root@web ~]# lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0   20G  0 disk
├─sda1            8:1    0    1G  0 part /boot
└─sda2            8:2    0   19G  0 part
  ├─centos-root 253:0    0   17G  0 lvm  /
  └─centos-swap 253:1    0    2G  0 lvm  [SWAP]
sdb               8:16   0   10G  0 disk
├─sdb1            8:17   0    1G  0 part /u01
├─sdb2            8:18   0    1G  0 part /u2
├─sdb3            8:19   0    1G  0 part
├─sdb4            8:20   0    1K  0 part
├─sdb5            8:21   0    1G  0 part
├─sdb6            8:22   0    1G  0 part
├─sdb7            8:23   0    1G  0 part
├─sdb8            8:24   0    1G  0 part
└─sdb9            8:25   0  900M  0 part
sr0              11:0    1  4.4G  0 rom  /mnt
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
/dev/sdb2                   976M  2.6M  907M    1% /u2
[root@web ~]# mkdir /u05
[root@web ~]# vim /etc/auto.master
您在 /var/spool/mail/root 中有邮件
[root@web ~]# vim /etc/auto.master
[root@web ~]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
[root@web ~]# cat /auto.test
cat: /auto.test: 没有那个文件或目录
[root@web ~]# blkid /dev/sdn5
[root@web ~]# blkid /dev/sdb5
您在 /var/spool/mail/root 中有邮件
[root@web ~]# lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0   20G  0 disk
├─sda1            8:1    0    1G  0 part /boot
└─sda2            8:2    0   19G  0 part
  ├─centos-root 253:0    0   17G  0 lvm  /
  └─centos-swap 253:1    0    2G  0 lvm  [SWAP]
sdb               8:16   0   10G  0 disk
├─sdb1            8:17   0    1G  0 part /u01
├─sdb2            8:18   0    1G  0 part /u2
├─sdb3            8:19   0    1G  0 part
├─sdb4            8:20   0    1K  0 part
├─sdb5            8:21   0    1G  0 part
├─sdb6            8:22   0    1G  0 part
├─sdb7            8:23   0    1G  0 part
├─sdb8            8:24   0    1G  0 part
└─sdb9            8:25   0  900M  0 part
sr0              11:0    1  4.4G  0 rom  /mnt
[root@web ~]# blkid /dev/sdb3
[root@web ~]# blkid /dev/sdb2
/dev/sdb2: UUID="faacf3c9-5c84-4fae-a3d2-f323d9cbc0ef" TYPE="ext4"
[root@web ~]# mkfs.ext4 /dev/sdb3
mke2fs 1.42.9 (28-Dec-2013)
文件系统标签=
OS type: Linux
块大小=4096 (log=2)
分块大小=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
65536 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
第一个数据块=0
Maximum filesystem blocks=268435456
8 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376

Allocating group tables: 完成
正在写入inode表: 完成
Creating journal (8192 blocks): 完成
Writing superblocks and filesystem accounting information: 完成

您在 /var/spool/mail/root 中有邮件
[root@web ~]# blkid /dev/sdb3
/dev/sdb3: UUID="3f7c2f3d-7eb9-4a46-b4f4-7a1ecde49b14" TYPE="ext4"
[root@web ~]# e2label /dev/sdb3 d3
[root@web ~]# blkid /dev/sdb3
/dev/sdb3: LABEL="d3" UUID="3f7c2f3d-7eb9-4a46-b4f4-7a1ecde49b14" TYPE="ext4"
[root@web ~]# cat /etc/auto.test
cat: /etc/auto.test: 没有那个文件或目录
[root@web ~]# vim /etc/auto.test
您在 /var/spool/mail/root 中有邮件
[root@web ~]# cat /etc/auto.test
test -fstype=ext4,ro :/dev/sdb3
[root@web ~]# service autofs  start
Redirecting to /bin/systemctl start autofs.service
您在 /var/spool/mail/root 中有邮件
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
/dev/sdb2                   976M  2.6M  907M    1% /u2
[root@web ~]# ls /u05
[root@web ~]# cat /etc/auto.test
test -fstype=ext4,ro :/dev/sdb3
[root@web ~]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
您在 /var/spool/mail/root 中有邮件
[root@web ~]# ls /u05
[root@web ~]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
[root@web ~]# cat /etc/auto.test
test -fstype=ext4,ro :/dev/sdb3
[root@web ~]# lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0   20G  0 disk
├─sda1            8:1    0    1G  0 part /boot
└─sda2            8:2    0   19G  0 part
  ├─centos-root 253:0    0   17G  0 lvm  /
  └─centos-swap 253:1    0    2G  0 lvm  [SWAP]
sdb               8:16   0   10G  0 disk
├─sdb1            8:17   0    1G  0 part /u01
├─sdb2            8:18   0    1G  0 part /u2
├─sdb3            8:19   0    1G  0 part
├─sdb4            8:20   0    1K  0 part
├─sdb5            8:21   0    1G  0 part
├─sdb6            8:22   0    1G  0 part
├─sdb7            8:23   0    1G  0 part
├─sdb8            8:24   0    1G  0 part
└─sdb9            8:25   0  900M  0 part
sr0              11:0    1  4.4G  0 rom  /mnt
您在 /var/spool/mail/root 中有邮件
[root@web ~]# service autofs restart
Redirecting to /bin/systemctl restart autofs.service
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
/dev/sdb2                   976M  2.6M  907M    1% /u2
[root@web ~]# cd /u05
[root@web u05]# ls
[root@web u05]# lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0   20G  0 disk
├─sda1            8:1    0    1G  0 part /boot
└─sda2            8:2    0   19G  0 part
  ├─centos-root 253:0    0   17G  0 lvm  /
  └─centos-swap 253:1    0    2G  0 lvm  [SWAP]
sdb               8:16   0   10G  0 disk
├─sdb1            8:17   0    1G  0 part /u01
├─sdb2            8:18   0    1G  0 part /u2
├─sdb3            8:19   0    1G  0 part
├─sdb4            8:20   0    1K  0 part
├─sdb5            8:21   0    1G  0 part
├─sdb6            8:22   0    1G  0 part
├─sdb7            8:23   0    1G  0 part
├─sdb8            8:24   0    1G  0 part
└─sdb9            8:25   0  900M  0 part
sr0              11:0    1  4.4G  0 rom  /mnt
您在 /var/spool/mail/root 中有邮件
[root@web u05]# ls /u05/test
lost+found
[root@web u05]# ls /u05
test
[root@web u05]# shownmount -e 192.168.235.100
bash: shownmount: 未找到命令...
您在 /var/spool/mail/root 中有邮件
[root@web u05]# showmount -e 192.168.235.200
Export list for 192.168.235.200:
/share/nfs 192.168.235.0/24
[root@web u05]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
您在 /var/spool/mail/root 中有邮件
[root@web u05]# ls /u05
test
[root@web u05]# vim /etc/auto.master
您在 /var/spool/mail/root 中有邮件
[root@web u05]# mkdir /u06
[root@web u05]# ls /u06
[root@web u05]# vim /etc/auto.master
您在 /var/spool/mail/root 中有邮件
[root@web u05]# cat /etc/auto.notes
cat: /etc/auto.notes: 没有那个文件或目录
[root@web u05]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
/u06 /etc/auto.notes --timeout 60
[root@web u05]# cat /etc/auto.notes
cat: /etc/auto.notes: 没有那个文件或目录
[root@web u05]# vim /etc/auto.notes
您在 /var/spool/mail/root 中有邮件
[root@web u05]# cat /etc/auto.notes
/notes -nfs,ro 192.168.235.200:/share/nfs
[root@web u05]# service autofs restart
Redirecting to /bin/systemctl restart autofs.service
您在 /var/spool/mail/root 中有邮件
[root@web u05]# ls /notes
ls: 无法访问/notes: 没有那个文件或目录
[root@web u05]# ls /notes
ls: 无法访问/notes: 没有那个文件或目录
[root@web u05]# showmount -e 192.168.235.200
Export list for 192.168.235.200:
/share/nfs 192.168.235.0/24
您在 /var/spool/mail/root 中有邮件
[root@web u05]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
/u06 /etc/auto.notes --timeout 60
[root@web u05]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
/dev/sdb2                   976M  2.6M  907M    1% /u2
[root@web u05]# vim /etc/auto.master
您在 /var/spool/mail/root 中有邮件
[root@web u05]# ls /u06
[root@web u05]# cd /u06
[root@web u06]# ls
[root@web u06]# cat /etc/auto.notes
/notes -nfs,ro 192.168.235.200:/share/nfs
[root@web u06]# vim /etc/auto.master
[root@web u06]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
/- /etc/auto.notes --timeout 60
[root@web u06]#
Network error: Software caused connection abort

───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Session stopped
    - Press <return> to exit tab
    - Press R to restart session
    - Press S to save terminal output to file
root@192.168.235.20's password:
▒▒▒ʱ▒▒ܾ▒
root@192.168.235.20's password:
     ┌────────────────────────────────────────────────────────────────────┐
     │                        • MobaXterm 20.0 •                          │
     │            (SSH client, X-server and networking tools)             │
     │                                                                    │
     │ ➤ SSH session to root@192.168.235.20                               │
     │   • SSH compression : ✘                                            │
     │   • SSH-browser     : ✔                                            │
     │   • X11-forwarding  : ✔  (remote display is forwarded through SSH) │
     │   • DISPLAY         : ✔  (automatically set on remote server)      │
     │                                                                    │
     │ ➤ For more info, ctrl+click on help or visit our website           │
     └────────────────────────────────────────────────────────────────────┘

Last failed login: Mon Jul 14 21:14:35 CST 2025 from 192.168.235.1 on ssh:notty
There was 1 failed login attempt since the last successful login.
Last login: Mon Jul 14 19:21:29 2025 from 192.168.235.1
[root@web ~]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
/- /etc/auto.notes --timeout 60
[root@web ~]# cat /etc/auto.notes
/notes -nfs,ro 192.168.235.200:/share/nfs
[root@web ~]# ls /notes
ls: 无法访问/notes: 没有那个文件或目录
[root@web ~]# service autofs restart
Redirecting to /bin/systemctl restart autofs.service
[root@web ~]# ls /notes
file1  file2  file3  file4  file5
[root@web ~]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
/dev/sdb2                   976M  2.6M  907M    1% /u2
192.168.235.200:/share/nfs   17G  4.5G   13G   27% /notes
[root@web ~]# ls /u03
新建 文本文档.txt
您在 /var/spool/mail/root 中有新邮件
[root@web ~]# ls /notes
file1  file2  file3  file4  file5
[root@web ~]# cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/u05 /etc/auto.test -t 120
/- /etc/auto.notes --timeout 60
您在 /var/spool/mail/root 中有邮件
[root@web ~]# cat /etc/auto.test
test -fstype=ext4,ro :/dev/sdb3
[root@web ~]# cd /u05
[root@web u05]# ls
[root@web u05]# cd /u05/test
您在 /var/spool/mail/root 中有邮件
[root@web test]# ls
lost+found
[root@web test]# ls /u05/test
lost+found
[root@web test]# df -h
文件系统                    容量  已用  可用 已用% 挂载点
devtmpfs                    470M     0  470M    0% /dev
tmpfs                       487M     0  487M    0% /dev/shm
tmpfs                       487M   15M  472M    4% /run
tmpfs                       487M     0  487M    0% /sys/fs/cgroup
/dev/mapper/centos-root      17G  9.2G  7.8G   55% /
/dev/sda1                  1014M  172M  843M   17% /boot
/dev/sr0                    4.4G  4.4G     0  100% /mnt
tmpfs                        98M   28K   98M    1% /run/user/1000
/dev/sdb1                   976M  2.6M  907M    1% /u01
tmpfs                        98M     0   98M    0% /run/user/0
//192.168.235.20/smb_share   17G  9.2G  7.8G   55% /u03
/dev/sdb2                   976M  2.6M  907M    1% /u2
192.168.235.200:/share/nfs   17G  4.5G   13G   27% /notes
/dev/sdb3                   976M  2.6M  907M    1% /u05/test
[root@web test]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sat Apr 19 17:11:28 2025
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root /                       xfs     defaults        0 0
UUID=0671af2f-69a1-4a84-bb51-ceb937bc1a92 /boot                   xfs     defaults        0 0
/dev/mapper/centos-swap swap                    swap    defaults        0 0
/dev/sdb2               /u2                     ext4    defaults        0 0
您在 /var/spool/mail/root 中有邮件
[root@web test]#   lsblk
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0   20G  0 disk
├─sda1            8:1    0    1G  0 part /boot
└─sda2            8:2    0   19G  0 part
  ├─centos-root 253:0    0   17G  0 lvm  /
  └─centos-swap 253:1    0    2G  0 lvm  [SWAP]
sdb               8:16   0   10G  0 disk
├─sdb1            8:17   0    1G  0 part /u01
├─sdb2            8:18   0    1G  0 part /u2
├─sdb3            8:19   0    1G  0 part /u05/test
├─sdb4            8:20   0    1K  0 part
├─sdb5            8:21   0    1G  0 part
├─sdb6            8:22   0    1G  0 part
├─sdb7            8:23   0    1G  0 part
├─sdb8            8:24   0    1G  0 part
└─sdb9            8:25   0  900M  0 part
sr0              11:0    1  4.4G  0 rom  /mnt
您在 /var/spool/mail/root 中有邮件
[root@web test]# pvcreate /dev/sdb6 /dev/sdb7
  Physical volume "/dev/sdb6" successfully created.
  Physical volume "/dev/sdb7" successfully created.
您在 /var/spool/mail/root 中有邮件
[root@web test]# pvs
  PV         VG     Fmt  Attr PSize   PFree
  /dev/sda2  centos lvm2 a--  <19.00g    0
  /dev/sdb6         lvm2 ---    1.00g 1.00g
  /dev/sdb7         lvm2 ---    1.00g 1.00g
[root@web test]# pvdisplay /sdv/sdb6
  Failed to find device for physical volume "/sdv/sdb6".
[root@web test]# pvdispy /dev/sdb6
bash: pvdispy: 未找到命令...
[root@web test]# pvdisplay /dev/sdb6
  "/dev/sdb6" is a new physical volume of "1.00 GiB"
  --- NEW Physical volume ---
  PV Name               /dev/sdb6
  VG Name
  PV Size               1.00 GiB
  Allocatable           NO
  PE Size               0
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               9CmJ8F-CIvN-vVhK-dI9L-UwlB-Pt0A-q19e3S

[root@web test]# vgcreate vg01 /dev/sdb6 /dev/sdb7
  Volume group "vg01" successfully created
您在 /var/spool/mail/root 中有邮件
[root@web test]# vgs vg01
  VG   #PV #LV #SN Attr   VSize VFree
  vg01   2   0   0 wz--n- 1.99g 1.99g
[root@web test]#

192.168.235.200

bash 复制代码
caozx26@192.168.235.200's password:
Remote side unexpectedly closed network connection

───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Session stopped
    - Press <return> to exit tab
    - Press R to restart session
    - Press S to save terminal output to file
caozx26@192.168.235.200's password:
     ┌────────────────────────────────────────────────────────────────────┐
     │                        • MobaXterm 20.0 •                          │
     │            (SSH client, X-server and networking tools)             │
     │                                                                    │
     │ ➤ SSH session to caozx26@192.168.235.200                           │
     │   • SSH compression : ✘                                            │
     │   • SSH-browser     : ✔                                            │
     │   • X11-forwarding  : ✔  (remote display is forwarded through SSH) │
     │   • DISPLAY         : ✔  (automatically set on remote server)      │
     │                                                                    │
     │ ➤ For more info, ctrl+click on help or visit our website           │
     └────────────────────────────────────────────────────────────────────┘

Last login: Sun Jul 13 21:33:40 2025 from 192.168.235.1
[caozx26@client ~]$ hostname
client.backup.cn
[caozx26@client ~]$ rpm -qa|grep ^nfs
nfs-utils-1.3.0-0.68.el7.x86_64
nfs4-acl-tools-0.3.3-21.el7.x86_64
[caozx26@client ~]$ rpm -ql rpcbind
/etc/sysconfig/rpcbind
/usr/lib/systemd/system/rpcbind.service
/usr/lib/systemd/system/rpcbind.socket
/usr/lib/tmpfiles.d/rpcbind.conf
/usr/sbin/rpcbind
/usr/sbin/rpcinfo
/usr/share/doc/rpcbind-0.2.0
/usr/share/doc/rpcbind-0.2.0/AUTHORS
/usr/share/doc/rpcbind-0.2.0/ChangeLog
/usr/share/doc/rpcbind-0.2.0/README
/usr/share/man/man8/rpcbind.8.gz
/usr/share/man/man8/rpcinfo.8.gz
/var/lib/rpcbind
[caozx26@client ~]$ ls /share
ls: 无法访问/share: 没有那个文件或目录
[caozx26@client ~]$ cd /sjare
-bash: cd: /sjare: 没有那个文件或目录
[caozx26@client ~]$ cd /share
-bash: cd: /share: 没有那个文件或目录
[caozx26@client ~]$ mkdif /share
bash: mkdif: 未找到命令...
[caozx26@client ~]$ mkdir /share
mkdir: 无法创建目录"/share": 权限不够
[caozx26@client ~]$ sudo su
[sudo] caozx26 的密码:
对不起,请重试。
[sudo] caozx26 的密码:
[root@client caozx26]# ls /share
ls: 无法访问/share: 没有那个文件或目录
[root@client caozx26]# mkdir /share
[root@client caozx26]# cat /etc/exports
[root@client caozx26]# vim /etc/exports
[root@client caozx26]# cat /etc/exports
/share 192.168.235.0/24(rw,sync)
[root@client caozx26]# systemctl start nfs
[root@client caozx26]# systemctl start rpcbind
[root@client caozx26]# ss -naltp | grep 111
LISTEN     0      128          *:111                      *:*                   users:(("rpcbind",pid=696,fd=8))
LISTEN     0      128       [::]:111                   [::]:*                   users:(("rpcbind",pid=696,fd=11))
[root@client caozx26]# mkdir /share/nfs -p
[root@client caozx26]# touch /share/nfs/file{1..5}
[root@client caozx26]# cat /etc/exports
/share 192.168.235.0/24(rw,sync)
[root@client caozx26]# vim /etc/exports
[root@client caozx26]# cat /etc/exports
/share/nfs 192.168.235.0/24(rw,sync)
[root@client caozx26]# service rpcbind restart
Redirecting to /bin/systemctl restart rpcbind.service
[root@client caozx26]# service nfs restart
Redirecting to /bin/systemctl restart nfs.service
[root@client caozx26]# ls /share/nfs
file1  file2  file3  file4  file5
[root@client caozx26]#
Network error: Software caused connection abort

───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Session stopped
    - Press <return> to exit tab
    - Press R to restart session
    - Press S to save terminal output to file
相关推荐
久绊A4 天前
服务器新硬盘初始化与挂载
linux·挂载
gzxx2007sddx2 个月前
ubuntu挂载访问windows的共享文件夹
linux·运维·ubuntu·挂载·共享
gsls2008082 个月前
阿里云两个数据盘合并挂载
运维·挂载
ergevv3 个月前
硬盘挂载操作手册
扩容·挂载·硬盘
列逍3 个月前
Linux文件(二)
linux·磁盘·文件系统·挂载·软硬链接·缓冲区
俺俺9 个月前
(40)华为云平台cce中挂载nginx等配置文件方法
服务器·nginx·华为云·挂载·cce
encoding-console1 年前
centos挂载的基本步骤
linux·运维·centos·挂载
NPE~2 年前
文件系统小册(Fuse&Posix&K8s csi)【3 K8s csi】
云原生·容器·kubernetes·对象存储·csi·挂载
supersolon2 年前
群晖7.2版本安装CloudDriver2(套件)挂载alist(xiaoya)到本地
群晖·alist·挂载·clouddriver·套件