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

Michael Coburn michael at gravis.ca
Fri Oct 25 09:23:47 EDT 2013


On Thu, Oct 24, 2013 at 4:16 PM, Don Jerman <djerman at pobox.com> wrote:
> You might try detecting LVM PV's now that the md0 device is active?

What do you mean?  I didn't have any LVM on this system, just pure
mdadm that created a RAID5 on 3 drives.  I installed lvm2 package, but
I don't see any results from the following:

root at raspbx:~# pvs
root at raspbx:~# lvs
  No volume groups found
root at raspbx:~# vgs
  No volume groups found

What  command should I execute?

For the record I was able to discover the filesystem type using fsck:

root at raspbx:~# fsck -N /dev/md0
fsck from util-linux 2.20.1
[/sbin/fsck.jfs (1) -- /dev/md0] fsck.jfs /dev/md0


More information about the TriLUG mailing list