时间:2021-07-01 10:21:17 帮助过:229人阅读
yum install nfs-utils
[root@localhost ~]# fdisk -l Disk /dev/vda: 42.9 GB, 42949672960 bytes 255 heads, 63 sectors/track, 5221 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00020f78 Device Boot Start End Blocks Id System /dev/vda1 * 1 5222 41940992 83 Linux Disk /dev/vdb: 64.4 GB, 64424509440 bytes 16 heads, 63 sectors/track, 124830 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x41398dd0
[root@localhost ~]# mkfs -t ext4 /dev/vdb1
[root@localhost ~]# mount /dev/vdb1 /mnt
[root@localhost ~]# df -Th Filesystem Type Size Used Avail Use% Mounted on /dev/vda1 ext4 40G 35G 2.8G 93% / tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm /dev/vdb1 ext4 59G 1G 58G 99% /mnt
[root@localhost ~]# lsblk -f NAME FSTYPE LABEL UUID MOUNTPOINT vda └─vda1 ext4 1ae5f12f-79c1-47d4-************* / vdb └─vdb1 ext4 1e3cb065-e1ad-4ee1-************* /mnt
vi /etc/fstab
UUID=1e3cb065-e1ad-4ee1-******* /mnt ext4 defaults 0 0
Linux mount挂载磁盘报错 mount: wrong fs type, bad option, bad superblock on /dev/vdb
标签:自动挂载 its ram err pre 挂载磁盘 新建文件系统 mount mis