xfs
[Top] [All Lists]

HDD and xfs problem

To: xfs@xxxxxxxxxxx
Subject: HDD and xfs problem
From: entereczek <entereczek@xxxxxxxxx>
Date: Sat, 26 Jul 2008 22:03:40 +0000
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=NzGsqUpxSfCbLqk8jVnXnnv5tb/EluVy/3Ikzm/SJzM=; b=riRKv2fNY4m5KrDVkndZ5i14Xg+kjd+9BxgHinG+/6q5Nc/vOtZmPNnxcaiD0rtK/m h5NmeCbh0MRXyZlYWZwROaofyJfy+x0Q7djtJ0EQEqq+K19Pde3lQvyS/rrdjOLJ6x3V YsKa+K2iPH342biCpq5fUYa9xytRpjm51tT10=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=hfa2JpAXBsJmcGZur4oH3AP4uJ5w3CSvPOg+tRpMCPHrgiuzo3DdCuC4px8byUY7VB P5efIt2cxXXSM1Ey9eHg2n/s5OXHX0ETpsK0bc9c87sdbATj/4ru5GjIB9eYDBzGAK6z LJO1pSbngIHBDLnZod0bybT8K30AiApqVZqpc=
Sender: xfs-bounce@xxxxxxxxxxx
Hi,

I've got a problem with my harddisk. After last reboot my system hangs
with kernel panic about xfs problems. I tried accessing my xfs
partitions using live cd but I get:

[ 2567.872000] hda: drive not ready for command
[ 2567.888000] hda: status error: status=0x59 { DriveReady
SeekComplete DataRequest Error }
[ 2567.888000] hda: status error: error=0x40 { UncorrectableError },
LBAsect=23695938, high=1, low=6918722, sector=23695938
[ 2567.888000] ide: failed opcode was: unknown
[ 2567.888000] end_request: I/O error, dev hda, sector 23695938
[ 2567.888000] hda: drive not ready for command
[ 2567.892000] hda: status error: status=0x59 { DriveReady
SeekComplete DataRequest Error }
[ 2567.892000] hda: status error: error=0x40 { UncorrectableError },
LBAsect=23695938, high=1, low=6918722, sector=23695942
[ 2567.892000] ide: failed opcode was: unknown
[ 2567.892000] end_request: I/O error, dev hda, sector 23695942
[ 2567.892000] hda: drive not ready for command
[ 2567.928000] hda: status error: status=0x59 { DriveReady
SeekComplete DataRequest Error }
[ 2567.928000] hda: status error: error=0x40 { UncorrectableError },
LBAsect=23695938, high=1, low=6918722, sector=0
[ 2567.928000] ide: failed opcode was: 0xea
[ 2567.928000] hda: drive not ready for command
[ 2567.928000] hda: wcache flush failed!

The weirdest thing is that I can boot that disk and in command line
grub after trying:
>root (hd0,[press TAB]
I get list of 3 first partitions and instead of last 3 I get:

Error 18: Selected cylinder exceeds maximum supported by BIOS

I tried >root (hd0,5) which was my home directory and I didn't get any
errors. So i tried:
>kernel /myusername/[TAB]
and I got list of my dirs&files. I can list files and show it's
content by grub's cat from that partition using grub, but I can't do
mount it using live cd.
So I deeply investigated it using livecd:

>fdisk -l /dev/hda
>ls /dev/hda*
/dev/hda  /dev/hda1  /dev/hda2  /dev/hda3  /dev/hda4  /dev/hda5  /dev/hda6
>xfs_admin -l /dev/hda5
xfs_admin: /dev/hda1 is invalid (cannot read first 512 bytes)
>dd if=/dev/hda of=temp
dd: reading `/dev/hda': Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.0301734 seconds, 0.0 kB/s
>dd if=/dev/hda5 of=temp
dd: reading `/dev/hda5': Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.0619014 seconds, 0.0 kB/s

and in dmesg I get lots of errors as above.
So, fdisk doesn't see any partitions but block devices are good.
I get in&out error in linux, but grub can access that xfs partition.
So here is the deal:
1. Is there any chance of forcing linux to get access to this drive?
2. Is there any way of getting a mirror clone of this drive so I can
try for example replacing first 512 bytes from another xfs partition
or any other way without disturbing the orginal one?
3. Is there any way of cloning content of this xfs in grub-level or
use grub-implementation of xfs client to get access to this data?
4. Is there any other working way of getting access to my data?

PS: I almost forgot, I tried connecting this HDD to PC running M$ Win
and when I accessed partition manager in computer management it hang
:P

Regards,
Entereczek


<Prev in Thread] Current Thread [Next in Thread>
  • HDD and xfs problem, entereczek <=