[opensuse] One partition is not working !!!!
One of my harddisc's of a total of 4 Gb is not working properly. After an unexpected shutdown (electricity went down) I got the error in forming me that my hdd2 did not work. After removing this hd from the fstab I could startup as usual. On the first half of this disc (2 Gb) I have my /home. No problems after that but I want to retrieve the data on the second part. I tried to mount this partition on /mnt but got following info: # mount /dev/hdd2 /mnt mount: wrong fs type, bad option, bad superblock on /dev/hdd2, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so Tried the proposed dsmeg | tail and got following info about the drive: EXT3-fs: hdd2: couldn't mount because of unsupported optional features (8000800) . I really want to access this partition but do not want to destruct anything in this hdd2 when I force my way in. What is the next step? -- +=========================================+ | Powered by openSUSE 10.2 (i586) Kernel: 2.6.18.8-0.1-default | KDE: 3.5.6 "release 64.1" | 12:25am up 8:16, 3 users, load average: 4.25, 2.83, 1.67 | +=========================================+ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2007-04-19 at 00:37 +0700, Constant Brouerius van Nidek wrote:
I tried to mount this partition on /mnt but got following info:
# mount /dev/hdd2 /mnt mount: wrong fs type, bad option, bad superblock on /dev/hdd2, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so
What filesystem was it? Have you fsck-ed it? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGJmB9tTMYHG2NR9URAh6WAJ9Dl+yX2HBgN2QeU9byvnUBCTLT4wCgjhzW wYZc79HerQiWrb1hm+BbvvE= =lx/v -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 19 April 2007, Carlos E. R. wrote:
The Thursday 2007-04-19 at 00:37 +0700, Constant Brouerius van Nidek wrote:
I tried to mount this partition on /mnt but got following info:
# mount /dev/hdd2 /mnt mount: wrong fs type, bad option, bad superblock on /dev/hdd2, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so
What filesystem was it? Have you fsck-ed it?
-- Cheers, Dear Carlos, It is an ext3 filesystem. Think it would be best to make a copy of the disc and I have to find out how to make a raw copy of the partition which I can not mount. When I used e2fsck it told:
Filesystem revision too high while trying to open /dev/hdd2 The filesystem revision is apparently too high for this version of e2fsck. (Or the filesystem superblock is corrupt) The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> e2fsck -b 8193 it tells me: Bad magic number in super-block while trying to open /dev/hdd2 The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> -- +=========================================+ | Powered by openSUSE 10.2 (i586) Kernel: 2.6.18.8-0.1-default | KDE: 3.5.6 "release 64.1" | 2:11am up 10:01, 3 users, load average: 0.27, 0.29, 0.33 | +=========================================+ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 4/18/07, Constant Brouerius van Nidek
On Thursday 19 April 2007, Carlos E. R. wrote:
The Thursday 2007-04-19 at 00:37 +0700, Constant Brouerius van Nidek wrote:
I tried to mount this partition on /mnt but got following info:
# mount /dev/hdd2 /mnt mount: wrong fs type, bad option, bad superblock on /dev/hdd2, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so
What filesystem was it? Have you fsck-ed it?
-- Cheers, Dear Carlos, It is an ext3 filesystem. Think it would be best to make a copy of the disc and I have to find out how to make a raw copy of the partition which I can not mount. When I used e2fsck it told:
Filesystem revision too high while trying to open /dev/hdd2 The filesystem revision is apparently too high for this version of e2fsck. (Or the filesystem superblock is corrupt)
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device>
e2fsck -b 8193 it tells me:
Bad magic number in super-block while trying to open /dev/hdd2
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device>
What does the 8193 represent? If it is a block group number, then finding the block groups with suberblocks can be a bit of a challenge. If I recall correctly ext2 breaks a disk into block groups. Originally (1995 or so) every block group had a copy of the superblock. This became unreasonable on big disks, so they implemented a rather unusual distribution. Number the block groups 1,2,3, etc. If the block group number is a power of 3, 5, or 7, then it gets a superblock. If not, it does not. ie. Block groups 1,3,5,7,9,25,27,49,81,125,... have a superblock, the rest don't. I had not seen a algorithm like that before, but it puts a lot of superblock copies towards the front of the disk, but also has them distributed across the partition. Especially if you have a lot of corruption at the front of the partition you may need to know the above to find superblocks further into the partition. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2007-04-19 at 02:18 +0700, Constant Brouerius van Nidek wrote:
It is an ext3 filesystem. Think it would be best to make a copy of the disc and I have to find out how to make a raw copy of the partition which I can not mount. When I used e2fsck it told:
You should have made the copy before doing the fsck run, now it is modified, and you can not back from those modifications. image backup: dd if=/dev/hdXY of=image_hdXY And, you can run fsck on the image instead of on the real data, and test out different strategies.
Filesystem revision too high while trying to open /dev/hdd2 The filesystem revision is apparently too high for this version of e2fsck. (Or the filesystem superblock is corrupt)
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device>
e2fsck -b 8193 it tells me:
You can not simply plug in that number without really knowing before hand that there is a superblock in there. It is an example! - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGJn/RtTMYHG2NR9URAh+aAJ93QQWFnjvCsK0xDWY4PK1+HRNlMQCeMFx4 y9NtloRMVOOXPTrwG2BrwRs= =9S9E -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Carlos E. R.
-
Constant Brouerius van Nidek
-
Greg Freemyer