xfs
[Top] [All Lists]

Re: Lost Superblock and need help recovering

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: Lost Superblock and need help recovering
From: Javier Gomez <gomez@xxxxxxxxxxxxxxxx>
Date: Mon, 26 May 2008 06:35:00 -0400
Cc: xfs@xxxxxxxxxxx
In-reply-to: <483A3112.4090502@xxxxxxxxxxx>
References: <483A231F.2030207@xxxxxxxxxxxxxxxx> <483A3112.4090502@xxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
    The two devices having issues are /dev/etherd/e5.1p1    and    
/dev/etherd/e4.1p1

    You make a very valid point.  Notice the main device shows the full 
size (one has 12.6 TB and the other is 9.5 TB).  Each of these two 
devices contain a single complete partition on it taking up the full 
size of the device.  It looks like both of these are short on the size 
for the actual partition "1p1".  Note that for device /dev/etherd/e3.1 
and /dev/etherd/e7.1  and /dev/etherd/e7.2 we formated the xfs 
filesystem directly on the device.  The groups on the net had noted that 
it could be done either way, but it might be a little safer to do it 
with the xfs formated directly on the device (not sure if this is 
valid).  In this case /dev/etherd/e3 and /dev/etherd/e7 both came up 
just fine after the hard shutdown while the /dev/etherd/e4 and 
/dev/etherd/e5 both have this superblock issue.  Each of these devices 
are running the same stuff except that /dev/etherd/e5 is slightly 
smaller then the other ones in disk space.  See this information below, 
do you have any suggestions to recover from it?  Is there anyway to 
remap the partition description to fill the entire size correctly so 
that the xfs_repair can complete its job?
   
    Thanks again for any help...
                      Javier

[root@seer proc]# cat partitions
major minor  #blocks  name

   8     0  243163136 sda
   8     1     104391 sda1
   8     2  243055417 sda2
 253     0  241008640 dm-0
 253     1    2031616 dm-1
 152     0 12697913278 etherd/e4.1
 152     1 1960494281 etherd/e4.1p1
 152    16 12697913278 etherd/e3.1
 152    32 12697913278 etherd/e7.1
 152    48 9523468862 etherd/e5.1
 152    49  933533929 etherd/e5.1p1
 152    64  976762558 etherd/e7.2



Eric Sandeen wrote:
> Javier Gomez wrote:
>
>   
>>  > xfs_repair -nv /dev/etherd/e4.1p1
>> ---------------------------------------------------------------
>> Phase 1 - find and verify superblock...
>> error reading superblock 4 -- seek to offset 1219003957248 failed
>> couldn't verify primary superblock - bad magic number !!!
>>     
>
> Looks to me like you still have storage problems.
>
> 1219003957248 is just over 1 terabyte... why can't repair seek to that
> location if it's a 13T device?
>
> What does /proc/partitions say about this block device (or do AoE
> devices go there?)
>
> -Eric
>
>   
>> attempting to find secondary superblock...
>> ................................................................................................
>> ......................................................
>> ..................
>> ..................
>> ............Sorry, could not find valid secondary superblock
>> Exiting now.
>> ---------------------------------------------------------------
>>
>>
>>     
>
>   


[[HTML alternate version deleted]]


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