I'm having problems with automatically mounting my HDD using fstab entry.
fstab I added the following entry:
/dev/disk/by-uuid/CE20D46C20D45D51 /mnt/data1 auto default,exec,dev,suid 0 0
Whenever I try to remount it I get (from reading
/dev/sda1 /mnt/data1 fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
The problem is that I need to have dev and exec enabled, but this is not working whatever options I add or remove from my
fstab entry. Any ideas?
Linux: Linux Mint Mate 17.2 Rafaela
Kernel version: Linux version 3.16.0-38-generic
File System: fuseblk (ntfs)
dmesg doesn't show any messages after performing following commands:
sudo umount /dev/sda1 sudo mount -a
/var/log/syslog I can find:
Unmounting /dev/sda1 (Data1) Version 2013.1.13AR.1 external FUSE 29 Mounted /dev/sda1 (Read-Write, label "Data1", NTFS 3.1) Cmdline options: rw Mount options: rw,allow_other,nonempty,relatime,fsname=/dev/sda1,blkdev,blksize=4096 Ownership and permissions disabled, configuration type 7
My full fstab file:
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sdb8 during installation UUID=fd6f2b28-add9-43d2-90e4-e8c619b881e1 / ext4 errors=remount-ro 0 1 # /HOME was on /dev/sdb9 during installation UUID=b85b696e-7306-4489-8370-c1b14562ab65 /home ext4 defaults 0 2 # /boot/efi was on /dev/sdb1 during installation UUID=0670-E6CA /boot/efi vfat defaults 0 1 # swap was on /dev/sdb10 during installation UUID=dc53c42f-e148-4eb5-9e68-c70cbb2c03cd none swap sw 0 0 /dev/disk/by-uuid/CE20D46C20D45D51 /mnt/data1 auto users,exec,dev,suid 0 0 /dev/disk/by-uuid/2A6AD5C96AD59245 /mnt/data2 auto suid,exec,dev,nofail,x-gvfs-show 0 0
Remounting it using:
mount -o remount,exec,dev /mnt/data1
Seems to work, but why doesn`t this work using fstab? I want this to happen automatically.