“How to repair super blocks”版本间的差异

来自cslt Wiki
跳转至: 导航搜索
(以“1. The following commands are useful for checking raid status pvdisplay; vgdisplay, lvdisplay; lvs, lvscan, mdadm 2. superblock information is backed up in many pl...”为内容创建页面)
 
(没有差异)

2016年1月13日 (三) 05:07的最后版本

1. The following commands are useful for checking raid status

pvdisplay; vgdisplay, lvdisplay; lvs, lvscan, mdadm

2. superblock information is backed up in many places, so don't worry it's corrupted. Check the article:

http://www.cnblogs.com/nathaninchina/articles/2748678.html


Basically:

(1) using the following command to find the error

sudo fsck.ext4 -v /dev/xxx

(2) using hte following command to find superblock backup

       mke2fs -n /dev/xxx

(3) using the following command to get backup:

       e2fsck -b block_number /dev/xxx