Here is my situation:
After a sudden shutdown due to a power outage, the CentOS 5 server in my workplace will not boot.
My co-worker and I need to get an important file from the hard drive on this server before re-installing the OS.
However, when we connect the hard drive to another Linux PC and try to mount it, we get an error.
Output from fdisk -1
:
Disk /dev/sda: 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/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 60801 488279610 8e Linux LVM
Disk /dev/sdb: 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/sdb1 * 1 25496 204796588+ 83 Linux
/dev/sdb2 25497 60801 283587412+ 8e Linux LVM
The file I want to get is at /dev/sdb1
and /dev/sdb2
.
However, when I type mount /dev/sdb1 /haccan
I get this error:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
What do we have to do to access to the file on this hard disk?