【问题标题】:EC2 Instance, mount volume DOS/MBR boot sectorEC2 Instance,挂载卷 DOS/MBR 引导扇区
【发布时间】:2017-06-12 09:05:29
【问题描述】:

我正在尝试将主 /dev/sda1 卷从 EC2 实例挂载到新实例,但我遇到了以下问题:

$ sudo mount -t ext4 /dev/xvdg /mnt/xvdg/
mount: wrong fs type, bad option, bad superblock on /dev/xvdg,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

来自 dmesg 的信息:

$ dmesg | tail
[  673.481965]  xvdg: xvdg1
[  673.589140]  xvdg: xvdg1
[  673.711554]  xvdg: xvdg1
[  673.802113]  xvdg: xvdg1
[  673.872627]  xvdg: xvdg1
[  673.978105]  xvdg: xvdg1
[10382.432880] EXT4-fs (xvdg): VFS: Can't find ext4 filesystem

更多信息:

$ sudo fdisk -l /dev/xvdg
Disk /dev/xvdg: 16 GiB, 17179869184 bytes, 33554432 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
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start      End  Sectors Size Id Type
/dev/xvdg1 *    16065 33543719 33527655  16G 83 Linux
Looking for more info, got to this link 

我也跟着these steps 修复了损坏的 Ext4 Superblock。但它不起作用。

【问题讨论】:

    标签: ubuntu amazon-ec2 ubuntu-server ext4


    【解决方案1】:

    磁盘已分区,请改用这个:

    $ sudo mount /dev/xvdg1 /mnt/xvdg/
    

    【讨论】:

    • 太棒了!谢谢 - '1' 是我需要的。
    猜你喜欢
    • 2018-07-05
    • 2014-05-17
    • 1970-01-01
    • 2020-05-15
    • 1970-01-01
    • 2016-02-15
    • 1970-01-01
    • 2012-07-25
    • 1970-01-01
    相关资源
    最近更新 更多