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.

On our Ubuntu 10.04 server, I've configured it to automount a 2nd hard drive to /mnt/wd15/ but now I can't unmount (using umount) it or find the entry in /etc/fstab.

How do I unmount it (or/and find out how its mounted)?

Details:

I get the following error messages:

sudo umount /dev/sdb1
umount: /dev/sdb1: not mounted

sudo umount /mnt/wd15/
umount: /mnt/wd15/: not mounted

This is my mount output (same as /etc/mtab):

# sudo mount

/dev/mapper/veda-root on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
/dev/sda1 on /boot type ext2 (rw)
share|improve this question
    
@Zoredache: Is that the same as /etc/mtab, I don't see it there, unless its included in /dev/mapperr/hostname-root ? –  wag2639 Jun 21 '10 at 20:14
1  
So, how did you configure this to mount automatically at boot? The fact that you're not seeing it in /etc/fstab means it's probably not even trying. –  Christopher Karel Jun 21 '10 at 20:18
1  
Oh, now I feel dumb, I forgot about the possibility that it's never been mounted and that its just using the primary drive. –  wag2639 Jun 21 '10 at 20:24

1 Answer 1

up vote 2 down vote accepted

You can find out what devices are mounted to what directories using "mount"...

mount

It will list the device first, then the mount point, then the file system type, and finally, mount options.

share|improve this answer

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.