Re: how do determine last file system on disk?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On Sat, Jun 25, 2011 at 3:16 PM, Robert Heller <heller@xxxxxxxxxxxx> wrote:

If 'fdisk -l /dev/sda' does not show anything, either the disks were
never partitioned or formatted, at least not as a bare drive. What kind
of disk is this (I know it says USB above, but I am assuming these are
bare disk(s) that you installed in a USB enclosure).

It is *possible* these disks were part of a *hardware* RAID array, in
which case only the hardware RAID would know how to deal with them
(they would have some vendor-specific metadata / superblock on them
somewhere).  If the disks are not partitularly large (< 1TB) if they
were actually in use they would likely have a MS-DOS partition table
(which fdisk -l would be displaying).  If they are larger disks they
might have gpt partition table (parted would show this).  It is
possible that they have a Solaris disk label (if they were in a Solaris
machine).

It is *possible* that someone used them as part of a Linux software
RAID array using the whole disk, in which case there might be a MD
superblock on them (mdadm might see it) and it is ALSO possible that
they were part of a LVM volume group, also using the whole disk as a
PV, in which case there should be LVM metadata on them (lvm might see
this).

If none of the above, they are just 'factory fresh', never used disks.

--



All the drives are old 160GB SATA. There's 1x 160GB IDE as well.

They were used in the office on various machines, so no hardware RAID, but they definitely had some data on them.
I did get some drives with software RAID on and could recover the data, but there's 2 drives which I can't figure out what filesystem they have / had on them. 
We use Linux & FreeBSD, so I suspect they had ZFS / UFS on them, but couldn't mount them on a FreeBSD server with ZFS or UFS either.


--
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux