挂载新硬盘提示write-protected, mounting read-only

搬瓦工机场JMS
  1. [root@s150730 ~]# fdisk -l
  2. Disk /dev/sda: 128.0 GB, 128035676160 bytes, 250069680 sectors
  3. Units = sectors of 1 * 512 = 512 bytes
  4. Sector size (logical/physical): 512 bytes / 512 bytes
  5. I/O size (minimum/optimal): 512 bytes / 512 bytes
  6. Disk label type: dos
  7. Disk identifier: 0x0008fb62
  8.    Device Boot      Start         End      Blocks   Id  System
  9. /dev/sda1            2048        4095        1024   83  Linux
  10. /dev/sda2   *        4096     2101247     1048576   83  Linux
  11. /dev/sda3         2101248   250068991   123983872   8e  Linux LVM
  12. Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
  13. Units = sectors of 1 * 512 = 512 bytes
  14. Sector size (logical/physical): 512 bytes / 512 bytes
  15. I/O size (minimum/optimal): 512 bytes / 512 bytes
  16. Disk label type: dos
  17. Disk identifier: 0x0001a4e1
  18.    Device Boot      Start         End      Blocks   Id  System
  19. Disk /dev/mapper/vg-root: 117.6 GB, 117557952512 bytes, 229605376 sectors
  20. Units = sectors of 1 * 512 = 512 bytes
  21. Sector size (logical/physical): 512 bytes / 512 bytes
  22. I/O size (minimum/optimal): 512 bytes / 512 bytes
  23. Disk /dev/mapper/vg-swap: 8321 MB, 8321499136 bytes, 16252928 sectors
  24. Units = sectors of 1 * 512 = 512 bytes
  25. Sector size (logical/physical): 512 bytes / 512 bytes
  26. I/O size (minimum/optimal): 512 bytes / 512 bytes
  27. Disk /dev/mapper/vg-tmp: 1073 MB, 1073741824 bytes, 2097152 sectors
  28. Units = sectors of 1 * 512 = 512 bytes
  29. Sector size (logical/physical): 512 bytes / 512 bytes
  30. I/O size (minimum/optimal): 512 bytes / 512 bytes

复制代码

fdisk -l如上,df -h如下

  1. [root@s150730 ~]# df -h
  2. Filesystem           Size  Used Avail Use% Mounted on
  3. /dev/mapper/vg-root  108G  1.1G  102G   2% /
  4. devtmpfs             7.6G     0  7.6G   0% /dev
  5. tmpfs                7.7G     0  7.7G   0% /dev/shm
  6. tmpfs                7.7G  8.7M  7.7G   1% /run
  7. tmpfs                7.7G     0  7.7G   0% /sys/fs/cgroup
  8. /dev/sda2           1008M  120M  838M  13% /boot
  9. /dev/mapper/vg-tmp   976M  2.6M  907M   1% /tmp
  10. tmpfs                1.6G     0  1.6G   0% /run/user/0

复制代码

这样看/dev/sdb是没绑定目录的,然后mount一下出问题了

  1. [root@s150730 ~]# mount /dev/sdb /home
  2. mount: /dev/sdb is write-protected, mounting read-only
  3. mount: unknown filesystem type ‘(null)’

复制代码

好像是因为这块盘被做过raid?没办法用,
求教大佬如何正确挂载……
安徽网友:
为毛代码贴到loc上来会被翻译!

ps:哦,乌龙了,是我的浏览器插件……

未经允许不得转载:美国VPS_搬瓦工CN2 GIA VPS » 挂载新硬盘提示write-protected, mounting read-only

赞 (0) 打赏

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏