From: entereczek <entereczek@gmail.com>
To: xfs@oss.sgi.com
Subject: HDD and xfs problem
Date: Sat, 26 Jul 2008 22:03:40 +0000 [thread overview]
Message-ID: <8ece0edb0807261503w2998464asfeb403cce270d9ae@mail.gmail.com> (raw)
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
reply other threads:[~2008-07-26 22:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8ece0edb0807261503w2998464asfeb403cce270d9ae@mail.gmail.com \
--to=entereczek@gmail.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox