Probable Unix filesystem HDD

Topics about disk partitioning (fdisk, parted, gparted, partimage), Volumes Management (lvm, evms, dmraid), Storage, file systems, ...
markmarques
Posts: 85
Joined: 26 Feb 2007, 12:30
Contact:

Probable Unix filesystem HDD

Postby markmarques » 05 Nov 2014, 11:58

Hi,
recently I got to recover a SCSI HDD from an old machine.

The HDD was recognized by the sysrescue but I do not know ho to access the contents ...

Using Testdisk gave the information of a SCO/ Unix partition type ...
I have made an image using ddrescue ...

If I "blindly" try to mount the HDD the system thinks it is a damaged NTFS filesystem ...
If I call "fsarchiver probe" it reports as being "unknown" file system, although it reports the existence of a partition...
if I try to boot the HDD goes to "Booting Unix" then display becomes with garbled letters ...


In the internet I have found this :
http://www.tldp.org/HOWTO/Filesystems-HOWTO-9.html

But I do not know how to try to identify the filesystem ....
Any ideas or pointers are welcome...

vanepp
Posts: 86
Joined: 22 Jun 2012, 02:24

Re: Probable Unix filesystem HDD

Postby vanepp » 06 Nov 2014, 05:01

fdisk may be your friend here (I can't see how to make parted or gparted
give numeric file system types from the partition table althougth there may
be a way).


[email protected] /root % fdisk -l

Disk /dev/sda: 19.1 GiB, 20525137920 bytes, 40088160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2052474d

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 8398847 419840Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x42d903a7

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 208895999 104344576 7 HPFS/NTFS/exFAT
0 83 Linux
/dev/sda2 8398848 24242175 7921664 83 Linux
/dev/sda3 24242176 40085503 7921664 83 Linux
^^

Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x42d903a7

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 208895999 104344576 7 HPFS/NTFS/exFAT
^
The value of interest here is the 83 which is the numeric file system type
in the partition table. Fat is 6, NTFS is 7 linux ext4 is 83 etc. As I recall (it has been years since I last looked at this) SCO has its own value as do the BSDs (free, net, open). There is (or at least used to be :-)) a table of the values somewhere on the net. If you can find the numeric value of the mystery file system and the table that should tell you (maybe) what kind of file system you are looking at and therefore what may be able to mount and/or fsck it (if it is damaged and thats why it won' mount). You could also try fsck on a copy of the file system and see what it thinks and if it can fix it (note that this may destroy the file system thus use a copy not the original!). Hope this helps.

Peter Van Epp


Return to “Hard-disk partitioning and storage”

Who is online

Users browsing this forum: No registered users and 3 guests