Power loss causes bad magic number??
Eric Sandeen
sandeen at sandeen.net
Sat Feb 7 15:54:11 CST 2009
Eric Sandeen wrote:
> Dunno how much damage could have been done, or if you can just try to
> fix the assembly perhaps...?
>
> -Eric
FWIW on a 3-disk raid5:
[root at inode tmp]# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid5 loop3[2] loop2[1] loop1[0]
262016 blocks level 5, 4k chunk, algorithm 2 [3/3] [UUU]
unused devices: <none>
it's the 0th device which should have the superblock:
[root at inode tmp]# file -s /dev/loop[123]
/dev/loop1: SGI XFS filesystem data (blksz 4096, inosz 256, v2 dirs)
/dev/loop2: data
/dev/loop3: data
whereas yours was the 1st (not 0th)
(I wasn't sure how mdstat showed the order so double checked...)
-Eric
More information about the xfs
mailing list