全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1038|回复: 1

[Windows VPS] 挂载新硬盘提示write-protected, mounting read-only

[复制链接]
发表于 2019-8-27 13:06:47 | 显示全部楼层 |阅读模式
本帖最后由 chimney 于 2019-8-27 13:10 编辑
  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?没办法用,
求教大佬如何正确挂载……
 楼主| 发表于 2019-8-27 13:09:38 | 显示全部楼层
本帖最后由 chimney 于 2019-8-27 13:12 编辑

为毛代码贴到loc上来会被翻译!

ps:哦,乌龙了,是我的浏览器插件……
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-25 14:17 , Processed in 0.074794 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表