xfs
[Top] [All Lists]

How to fix bad superblock or xfs_repair: error - read only 0 of 512 byte

To: xfs@xxxxxxxxxxx
Subject: How to fix bad superblock or xfs_repair: error - read only 0 of 512 bytes
From: Christian Kildau <lists@xxxxxxxxxxxxx>
Date: Sat, 21 Jan 2012 11:03:39 +0100
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unixhosts.org; s=google; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=Af85IL5NYEMgrtZtnmcMGr21fE1Bmv2uogJi0qB48sk=; b=ABMPd46o7hO5pTrq9sz7c6JOkJHSwFwIA9dmWCdvB+sV1nqUN/pryvAhHcsePkYUuc nQ/T12D6s5QmPX9gaQOtMBgx8WmuIWDW3W/A9te/WRrQmsFF4SqbuXduPHc101mAOcRI v5AP+np/iW4shBFtoG9tNZbZY/TJJdbZAZpfk=
Hello,

I'm having some very serious issues with XFS after upgrading from a Linux 
Distro running Ubuntu 2.6.32 to 3.2.

It seems like my filesystems are damaged after attaching them to a Linux 3.2 
server. I am also no longer able to mount the hdd on the old server that is 
still running 2.6.32!

'test disk' does find the filesystem as XFS 4 and i created a 1.5TB dump of it 
to another hdd.

(I created the xfs filesystem on the entire hdd, not on a partition, so 
/dev/sdd is not a typo)

$ sudo mount -t xfs /dev/sdd /media/
mount: /dev/sdd: can't read superblock
(dmesg)
[236659.912663] attempt to access beyond end of device
[236659.912667] sdd: rw=32, want=2930277168, limit=2930275055
[236659.912670] XFS (sdd): last sector read failed

$ sudo xfs_check /dev/sdd
xfs_check: error - read only 0 of 512 bytes

$ sudo xfs_repair /dev/sdd
Phase 1 - find and verify superblock...
xfs_repair: error - read only 0 of 512 bytes


'testdisk' does find the filesystem as XFS 4 and i created a 1.5TB dump of it 
to another hdd.

Is there any way I can fix this? - Except restroring from backup? Because this 
IS my backup!
see ubuntuforums.org/showthread.php?t=1910962 for more details…


Any help is appreciated!

Thanks in advance
Chris
<Prev in Thread] Current Thread [Next in Thread>