设为首页收藏本站

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย Français

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 11|回复: 1

挂载新硬盘提示write

[复制链接]

117

主题

474

回帖

1467

积分

金牌会员

积分
1467
发表于 2019-8-27 13:06:47 | 显示全部楼层 |阅读模式
本帖最后由 chimney 于 2019-8-27 13:10 编辑
[ol]
  • [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[/ol]复制代码

    fdisk -l如上,df -h如下

    [ol]
  • [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[/ol]复制代码

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

    [ol]
  • [root@s150730 ~]# mount /dev/sdb /home
  • mount: /dev/sdb is write-protected, mounting read-only
  • mount: unknown filesystem type '(null)'[/ol]复制代码

    好像是因为这块盘被做过raid?没办法用,
    求教大佬如何正确挂载……
  • 回复

    使用道具 举报

    117

    主题

    474

    回帖

    1467

    积分

    金牌会员

    积分
    1467
     楼主| 发表于 2019-8-27 13:09:38 | 显示全部楼层
    本帖最后由 chimney 于 2019-8-27 13:12 编辑

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

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

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|Discuz! X

    GMT+8, 2025-12-20 13:05 , Processed in 0.023632 second(s), 4 queries , Gzip On, Redis On.

    Powered by Discuz! X3.5

    © 2001-2025 Discuz! Team.

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