xfs
[Top] [All Lists]

Can't mount XFS : Bad Superblock

To: linux-xfs@xxxxxxxxxxx
Subject: Can't mount XFS : Bad Superblock
From: olivier.tarnus@xxxxxxxxx
Date: Sat, 02 Nov 2002 22:52:42 +0100
Sender: linux-xfs-bounce@xxxxxxxxxxx
Hi,

I'm having troubles mounting an xfs filesystem because of bad superblocks. It 
seems that i'm not alone :

http://marc.theaimsgroup.com/?l=linux-xfs&m=103356627519048&w=2
http://marc.theaimsgroup.com/?l=linux-xfs&m=103433574516723&w=2

My disk seems clean, and my others filesystems are ok. This occurs just after a 
clean reboot. I've tried xfs_repair, but :

gentoodarkstar root # xfs_repair -nLv /dev/hdc6
Phase 1 - find and verify superblock...
error reading superblock 20 -- seek to offset 21474836480 failed
couldn't verify primary superblock - bad magic number !!!

attempting to find secondary superblock...
..........................................................
..........................................................
..........................................................
..........................................................
..........................................................
...found candidate secondary superblock...
error reading superblock 20 -- seek to offset 21474836480 failed
unable to verify superblock, continuing...
..........................................................
..........................................................
and so on...

I'm sure that this is an xfs filesystem :

gentoodarkstar root # dd if=/dev/hdc6 bs=512 count=1 |hexdump
1+0 records in
1+0 records out
0000000 4658 4253 0000 0010 0000 0000 5100 20df
0000010 0000 0000 0000 0000 0000 0000 0000 0000
0000020 0f8c 0121 9a1d 4b4b 49ae 48f7 5de9 3bd8
0000030 0000 0000 2800 0400 0000 0000 0000 8000
0000040 0000 0000 0000 8100 0000 0000 0000 8200
0000050 0000 1000 0400 0000 0000 1500 0000 0000
0000060 0000 b004 8420 0002 0001 1000 0000 0000
0000070 0000 0000 0000 0000 090c 0408 0012 1900
0000080 0000 0000 0000 4002 0000 0000 0000 e701
0000090 0000 0000 4200 f24c 0000 0000 0000 0000
00000a0 0000 0000 0000 0000 0000 0000 0000 0000
00000b0 0000 0000 0000 0200 0000 0000 0000 0000
00000c0 0000 0000 0000 0000 0000 0000 0000 0000
*
0000200

I'm running :
SGI XFS snapshot 2.4.19-2002-08-03_04:15_UTC with ACLs, quota, no debug enabled

The filesystem has been created with no special options and was mounted in 
/mnt/util. Here are some infos about my partitions :

  22     0   80418240 hdc
  22     1    1024096 hdc1
  22     2     256032 hdc2
  22     3   10240272 hdc3
  22     4          1 hdc4
  22     5   10240240 hdc5
  22     6   20480008 hdc6
  22     7   20480008 hdc7
  22     8   17697424 hdc8

Do i have chance to get my filesystem back??? I'm surprised because this bug 
appeared after a normal reboot,
so i suppose the fs has been unmounted cleanly.
This is not really critical, because this is my home PC, but i'm using XFS at 
work on two files servers with 500G, so i would sleep better if i know this is 
an \"exceptional bug\" :-)

Thanks for reading.

Olivier Tarnus

PS: Please cc me, i'm not in the mailing list

[[HTML alternate version deleted]]


<Prev in Thread] Current Thread [Next in Thread>
  • Can't mount XFS : Bad Superblock, olivier . tarnus <=