hello,
i have a and old 250 gb ide where I had a sme server installation and i'm trying to mount it to get some important datas that i forgot...
as you can see:
[root@smeserver ~]# fdisk -l
Disk /dev/hdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 60801 488384001 83 Linux
[color=red]Disk /dev/hdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 13 104391 fd Linux raid autodetect
/dev/hdc2 14 30401 244091610 fd Linux raid autodetect[/color]
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 fd Linux raid autodetect
/dev/sda2 14 30401 244091610 fd Linux raid autodetect
Disk /dev/sdb: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 13 104391 83 Linux
/dev/sdb2 14 30401 244091610 83 Linux
Disk /dev/md1: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md2: 249.9 GB, 249949716480 bytes
2 heads, 4 sectors/track, 61022880 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/dm-0: 245.6 GB, 245685551104 bytes
2 heads, 4 sectors/track, 59981824 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 4227 MB, 4227858432 bytes
2 heads, 4 sectors/track, 1032192 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/dm-1 doesn't contain a valid partition table
when i try to mount hdc1 it works fine but when i try to mount hdc2
[root@smeserver ~]# mount /dev/hdc2 /media/250gb/ -t ext3
mount: wrong fs type, bad option, bad superblock on /dev/hdc2,
or too many mounted file systems
google told me to try to fix the superblock using fsck:
[root@smeserver ~]# fsck /dev/hdc2
fsck 1.35 (28-Feb-2004)
e2fsck 1.35 (28-Feb-2004)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/hdc2
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>
after a search i learned that different superblock' s backups are stored in the hd. you just have know where they are stored:
[root@smeserver ~]# dumpe2fs /dev/hdc2
dumpe2fs 1.35 (28-Feb-2004)
dumpe2fs: Bad magic number in super-block while trying to open /dev/hdc2
Couldn't find valid filesystem superblock.
can someone give me a hint on how to procced? i got no clue on what to do.
everything works fine on the first partition hdc1 but cannot do anything with hdc2.
[root@smeserver ~]# mount -t ext3 /dev/hdc1 /media/250gb/
[root@smeserver ~]# cd /media/
250gb/ 500gb/ smbShare/ tmp/
[root@smeserver ~]# cd /media/250gb/
[root@smeserver 250gb]# ls
config-2.6.9-42.0.3.EL initrd-2.6.9-42.0.3.EL.img System.map-2.6.9-42.0.3.EL vmlinuz-2.6.9-42.0.3.ELsmp
config-2.6.9-42.0.3.ELsmp initrd-2.6.9-42.0.3.ELsmp.img System.map-2.6.9-42.0.3.ELsmp
grub lost+found vmlinuz-2.6.9-42.0.3.EL
[root@smeserver 250gb]#
what am i missing?
thank you in advance