Debian: Unable to mount a second drive as a subdirectory inside of another partition.
Posted
by jkndrkn
on Super User
See other posts from Super User
or by jkndrkn
Published on 2010-06-14T14:06:25Z
Indexed on
2010/06/14
14:13 UTC
Read the original article
Hit count: 206
Hello. I have the following /etc/fstab
:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/md1 / ext3 defaults,errors=remount-ro 0 1
/dev/md0 /boot ext3 defaults 0 2
/dev/md5 /home ext3 defaults 0 2
/dev/md3 /opt ext3 defaults 0 2
/dev/md6 /tmp ext3 defaults 0 2
/dev/md2 /usr ext3 defaults 0 2
/dev/md4 /var ext3 defaults 0 2
/dev/md7 none swap sw 0 0
/dev/sdc /home/httpd ext3 defaults 0 2
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sdc1 /mnt/usb/backup-1 auto defaults 0 0
I am unable to get /dev/sdc/
to mount at /home/httpd/
on reboot. The /home/httpd/
directory exists.
Mounting via mount -t ext3 /dev/sdc /home/httpd
works just fine.
Mounting via mount -a
generates the following error message:
mount: you must specify the filesystem type
This is, incidentally, the same message that I see while booting. The error message goes away if I comment out the line in fstab
starting with /dev/sdc
.
© Super User or respective owner