如下是恢复结果;首先弄个跟原来系统不一样的VPS,目的是要不同的卷组名
以前用的是centos 32bit、现在用的是centos 64bit、然后将原来的硬盘分离后挂在新的VPS上
1.vgscan|grep -i volgroup #查找卷标
激活
2.vgchange --available y 卷标名
3. mount /dev/卷标/目录 /要挂的目录,接着出现错误
mount: wrong fs type, bad option, bad superblock on /dev/VolGroup00/LogVol00
尝试修复
4.fsck -b /dev/VolGroup00/LogVol00
然后打印superblocks信息
5.dumpe2fs /dev/VolGroup00/LogVol00
重启接着再来一次mount
再打印suprtblocks信息
[root@MyVPS2098 /]# fsck /dev/VolGroup00/LogVol00
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
/dev/VolGroup00/LogVol00: clean, 230782/7010720 files, 1685264/7036928 blocks
接着赶紧mount
[root@MyVPS2098 /]# mount /dev/VolGroup00/LogVol00 /mnt
[root@MyVPS2098 /]# cd /mnt
[root@MyVPS2098 mnt]# ls
bin boot dev etc home lib lost+found media misc mnt net opt proc root sbin selinux srv sys tmp usr var
ppt.cc/fVjECx ppt.cc/fEnHsx ppt.cc/fRZTnx ppt.cc/fSZ3cx ppt.cc/fLOuCx ppt.cc/fE9Nux ppt.cc/fL5Kyx ppt.cc/fIr1ax ppt.cc/f71Yqx tecmint.com linuxcool.com linux.die.net linux.it.net.cn ostechnix.com unix.com ubuntugeek.com runoob.com man.linuxde.net bit.ly/2EzoUDo bit.ly/2tW6eYT bit.ly/2X6vadl bit.ly/2viLpHU linuxprobe.com linuxtechi.com howtoforge.com linuxstory.org systutorials.com ghacks.net linuxopsys.com v.gd/2P9wTx v.gd/FtfpqE v.gd/eMfHsm v.gd/Ub7mqv v.gd/RReVk0 v.gd/vS3uTI v.gd/4Zxmba
No comments:
Post a Comment