Hi,
Some days ago my hard disk started to show a sector failure in
/dev/hda7, which is the only XFS partion:
# mount /mnt/space
Oct 11 23:34:30 freedom kernel: [4298615.381000] XFS mounting filesystem hda7
Oct 11 23:34:35 freedom kernel: [4298619.894000] hda: dma_intr: status=0x51 {
DriveReady SeekComplete Error }
Oct 11 23:34:35 freedom kernel: [4298619.894000] hda: dma_intr: error=0x40 {
UncorrectableError }, LBAsect=45035525, sector=45035525
Oct 11 23:34:35 freedom kernel: [4298619.894000] ide: failed opcode was: unknown
Oct 11 23:34:35 freedom kernel: [4298619.894000] end_request: I/O error, dev
hda, sector 45035525
Oct 11 23:34:35 freedom kernel: [4298619.896000] I/O error in filesystem
("hda7") meta-data dev hda7 block 0x7775ba ("xlog_bread") error 5 buf
count 512
Oct 11 23:34:35 freedom kernel: [4298619.896000] XFS: failed to find log head
Oct 11 23:34:35 freedom kernel: [4298619.896000] XFS: log mount/recovery
failed: error 5
Oct 11 23:34:35 freedom kernel: [4298619.896000] XFS: log mount failed
mount: /dev/hda7: can't read superblock
I wish I could access my data before the whole disk fails.
I don't know why there is a superblock error, since sector 45035525 is
not the first in /dev/hda7
Here's the output of
# fdisk -lu /dev/hda
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders, total 78140160 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 63 10410119 5205028+ a6 OpenBSD
/dev/hda2 10410120 24740099 7164990 a5 FreeBSD
/dev/hda3 24740100 36451484 5855692+ a5 FreeBSD
/dev/hda4 36451485 78140159 20844337+ 5 Extended
/dev/hda5 36451548 36949499 248976 82 Linux swap
/dev/hda6 36949563 37206539 128488+ 83 Linux
/dev/hda7 37206603 52837784 7815591 83 Linux
/dev/hda8 * 52837848 53223344 192748+ 83 Linux
/dev/hda9 53223408 54203309 489951 83 Linux
/dev/hda10 54203373 57127139 1461883+ 83 Linux
/dev/hda11 57127203 64934729 3903763+ 83 Linux
/dev/hda12 64934793 65673719 369463+ 83 Linux
/dev/hda13 * 65673783 66059279 192748+ 83 Linux
/dev/hda14 66059343 71923004 2931831 83 Linux
/dev/hda15 71923068 76613984 2345458+ 83 Linux
/dev/hda16 76614048 77593949 489951 83 Linux
/dev/hda17 77594013 78140159 273073+ 83 Linux
It's a laptop and yes, there are five different OS on it, but I hope
that someone would give me some help even if this is not a production server.
xfs_ncheck lists all inodes and file paths, so I think they're still
safe.
Would anybody tell me some hints?
P.S.:
Sorry for my terrible English
--
Giuseppe Argentieri
|