|  | 
 
| 本帖最后由 chimney 于 2019-8-27 13:10 编辑 
 复制代码[root@s150730 ~]# fdisk -l
Disk /dev/sda: 128.0 GB, 128035676160 bytes, 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0008fb62
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048        4095        1024   83  Linux
/dev/sda2   *        4096     2101247     1048576   83  Linux
/dev/sda3         2101248   250068991   123983872   8e  Linux LVM
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0001a4e1
   Device Boot      Start         End      Blocks   Id  System
Disk /dev/mapper/vg-root: 117.6 GB, 117557952512 bytes, 229605376 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/vg-swap: 8321 MB, 8321499136 bytes, 16252928 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/vg-tmp: 1073 MB, 1073741824 bytes, 2097152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
 fdisk -l如上,df -h如下
 
 
 复制代码[root@s150730 ~]# df -h
Filesystem           Size  Used Avail Use% Mounted on
/dev/mapper/vg-root  108G  1.1G  102G   2% /
devtmpfs             7.6G     0  7.6G   0% /dev
tmpfs                7.7G     0  7.7G   0% /dev/shm
tmpfs                7.7G  8.7M  7.7G   1% /run
tmpfs                7.7G     0  7.7G   0% /sys/fs/cgroup
/dev/sda2           1008M  120M  838M  13% /boot
/dev/mapper/vg-tmp   976M  2.6M  907M   1% /tmp
tmpfs                1.6G     0  1.6G   0% /run/user/0
 这样看/dev/sdb是没绑定目录的,然后mount一下出问题了
 
 
 复制代码[root@s150730 ~]# mount /dev/sdb /home
mount: /dev/sdb is write-protected, mounting read-only
mount: unknown filesystem type '(null)'
 好像是因为这块盘被做过raid?没办法用,
 求教大佬如何正确挂载……
 | 
 |