Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm working on a system (Ubuntu Precise) with a mount defined in /etc/fstab as follows:

/dev/vdb        /mnt    auto    defaults,nobootwait,comment=cloudconfig 0       2

Originally I just wanted to find out if it's NFS (due to potential MySQL locking issues). Judging from man mount, it's not:

If no -t option is given, or if the auto type is specified, mount will try to guess the desired type.  Mount uses the blkid library for guessing  the
filesystem type; if that does not turn up anything that looks familiar, mount will try to read the file /etc/filesystems, or, if that does not exist,
/proc/filesystems.  All of the filesystem types listed there will be tried, except for those that are labeled "nodev" (e.g., devpts, proc  and  nfs).
If /etc/filesystems ends in a line with a single * only, mount will read /proc/filesystems afterwards.

But, out of curiosity now, how can I find out more about what type of device it actually is? (For context, this is a VM running on OpenStack. The device is a 60Gb allocation mounted from somewhere - but I don't know how.)`

EDIT Including answers here:

$ mount
/dev/vdb on /mnt type ext3 (rw,_netdev)

$ df -T
/dev/vdb                       ext3        61927420     2936068   55845624   5% /mnt
share|improve this question
    
What's mount say? –  Shane Madden Jun 8 '12 at 1:20
    
Whoops, that was easy. ext3. /dev/vdb on /mnt type ext3 (rw,_netdev) –  Steve Bennett Jun 8 '12 at 3:21

1 Answer 1

up vote 3 down vote accepted

Would you be satisfied with just df -T /mnt ? :)

share|improve this answer
    
Yep, that's very satisfying! –  Steve Bennett Jun 8 '12 at 3:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.