xfs
[Top] [All Lists]

Re: unexpected XFS SB magic number

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: unexpected XFS SB magic number
From: Gaspar Bakos <gbakos@xxxxxxxxxxxxxxx>
Date: Sun, 24 Dec 2006 01:08:44 -0500 (EST)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <458DF8F7.5030104@xxxxxxxxxxx>
References: <Pine.SOL.4.58.0612221219570.2514@xxxxxxxxxxxxxxxxxxxxx> <458C6719.6080106@xxxxxxxxxxx> <Pine.SOL.4.58.0612221824500.2856@xxxxxxxxxxxxxxxxxxxxx> <458C6C5A.6090504@xxxxxxxxxxx> <Pine.SOL.4.58.0612231748450.3446@xxxxxxxxxxxxxxxxxxxxx> <458DF8F7.5030104@xxxxxxxxxxx>
Reply-to: gbakos@xxxxxxxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
Hi, Eric,

RE:
> Well, something put a gpt label on top of your xfs partition... and it
> wasn't xfs :)

After some contemplation I allowed xfs_repair to make an attempt.
It seems that nothing was recovered.

If found a secondary suplerblock, and then lot of message followed ...
(attached).

The repaired XFS filesystem is 2Tb in size (as opposed to the 5TB), and
0% is used:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdd1            2147352448       528 2147351920   1% /mnt/ar1/un0

After the recovery parted reports:
Error: Unable to open /dev/sdd - unrecognised disk label.

( For parted /dev/sdd1: partition type reported as 'loop'. _

fdisk reports GPT partition type for /dev/sdd:

[root@cfhat7 xfs]# fdisk -l /dev/sdd
WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'!
The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdd: 4999.9 GB, 4999998341120 bytes
255 heads, 63 sectors/track, 607881 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      267350  2147483647+  ee  EFI GPT

---------
So all this is a great mess.
parted is supposed to be better than fdisk, yet it does not recognize
what fdisk does?

Now having lost all the data, I may start experimenting if I can
reproduce this.

Gaspar


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