[Top] [All Lists]

Re: Power loss causes bad magic number??

To: kevin.dual@xxxxxxxxx
Subject: Re: Power loss causes bad magic number??
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sat, 07 Feb 2009 15:54:11 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <498DF8AD.3020903@xxxxxxxxxxx>
References: <22271900.11234039561556.JavaMail.root@xxxxxxxxxxxxxxxxxx> <498DF8AD.3020903@xxxxxxxxxxx>
User-agent: Thunderbird (Macintosh/20081209)
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@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@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...)


<Prev in Thread] Current Thread [Next in Thread>