gpt4 book ai didi

ubuntu - EC2 实例、装载卷 DOS/MBR 引导扇区

转载 作者:太空宇宙 更新时间:2023-11-03 16:53:45 25 4
gpt4 key购买 nike

我正在尝试将主/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 super block 。但它不起作用。

最佳答案

磁盘已分区,请改用它:

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

关于ubuntu - EC2 实例、装载卷 DOS/MBR 引导扇区,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41881161/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com