Server: Drive not mounting at startup even though it's in fstab

Asked by Ryan Dwyer

We have two 1TB USB drives. One is NTFS and is used for backup, the other is FAT32 and is used as a file archive. I've added them both to fstab using their UUIDs because their device name can change depending on what USB port they're plugged into.

The backup (NTFS) one mounts at boot, but the archive (FAT32) one does not. The archive drive is shared via Samba but I don't think that has anything to do with the mounting problem. I suspect it's got something to do with the drive being so big.

I can mount it manually using: mount -t vfat -o umask=000 /dev/sdd1 /media/archive
__________________________________________________________
root@bmserver:~# fdisk -l

<I removed some drives from the output>

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x44fdfe06

   Device Boot Start End Blocks Id System
/dev/sdd1 1 121601 976760001 c W95 FAT32 (LBA)
__________________________________________________________
root@bmserver:~# ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2009-10-24 00:02 53d21f19-643e-4319-a00d-817bdb1534e9 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2009-10-24 00:02 981e4ae4-f24e-466b-a15a-f23dabab5f08 -> ../../sda1
lrwxrwxrwx 1 root root 10 2009-10-24 00:02 A1C6-704B -> ../../sdd1
lrwxrwxrwx 1 root root 10 2009-10-24 00:02 BAE6FF79E6FF346B -> ../../sdc1
__________________________________________________________
root@bmserver:~# cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=53d21f19-643e-4319-a00d-817bdb1534e9 / ext4 relatime,errors=remount-ro 0 1
/dev/sdb5 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

UUID=981e4ae4-f24e-466b-a15a-f23dabab5f08 /data ext4 defaults 0 0
UUID=BAE6FF79E6FF346B /media/backup ntfs defaults 0 0
UUID=A1C6-704B /media/archive vfat umask=000 0 0
__________________________________________________________

I can't find anything in the logs telling me why it's not mounting.

Any help is appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Daniel Stone
Solved:
Last query:
Last reply:
Revision history for this message
Best Daniel Stone (danielstone) said :
#1

This might help http://ubuntuforums.org/showthread.php?t=1293282 it discusses a similar situation

Revision history for this message
Ryan Dwyer (ryandwyer) said :
#2

Thanks Daily Struggle, that solved my question.