[TriLUG] How to identify a block device's filesystem type?

Brian Gerard bgerard at gmail.com
Thu Oct 24 15:44:10 EDT 2013


On 10/24/13 1:49 PM, Michael Coburn wrote:
>
> I have some hard drives laying around, that were once part of a mdadm RAID5
> array.  I put them back together using --assemble, but I can't remember
> what filesystem I had formatted them with.  Does anyone know how I can
> sample the block device and know conclusively what filesystem is on there?

Have you tried dumpe2fs(8) yet?

HTH-
Brian



More information about the TriLUG mailing list