- [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?没办法用,
求教大佬如何正确挂载……
安徽网友:
为毛代码贴到loc上来会被翻译!
ps:哦,乌龙了,是我的浏览器插件……
未经允许不得转载:美国VPS_搬瓦工CN2 GIA VPS » 挂载新硬盘提示write-protected, mounting read-only