我重新启动了我的 VPS,之后 VPS 找不到额外添加的驱动器。启动期间,VPS 在控制台中显示以下消息:
fsck.ext3: No such file or directory while trying to open /dev/xvdc1
/dev/xvdc1:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
fsck.ext3: No such file or directory while trying to open /dev/xvdf1
/dev/xvdf1:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
fsck died with exit status 8
failed (code 8).
File system check failed.
运行这些命令时,系统找不到驱动器。我继续启动 VPS。一切都已启动,但额外的驱动器(带有有价值的数据)在任何地方都找不到。
vps:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 4.0G 3.0G 764M 81% /
tmpfs 1.1G 0 1.1G 0% /lib/init/rw
tmpfs 1.1G 4.0K 1.1G 1% /dev/shm
vps:~# fdisk -l
vps:~#
vps:~# ls /dev/ | grep xv
vps:~#
我的 fstab 是:
vps:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/xvda1 / ext3 rw,noatime 0 1
/dev/xvdb1 none swap defaults 0 0
/dev/xvdc1 /home ext3 rw,noatime,usrquota 0 1
/dev/xvdf1 /mnt/backup ext3 rw,noatime 0 1
/dev/tmpMnt /tmp tmpfs loop,noexec,nosuid,noatime,rw 0 0
这怎么可能?我怎样才能解决这个问题?
系统/dev/xvda1
看起来可以从该分区启动,但之后就找不到了。而且附加驱动器(包含有价值的数据!)也丢失了!