You are not logged in.
Pages: 1
Hey this might be dumb but I'm banging my head here but my HDD only mounts as root. I've set my fstab to
/dev/sda1 /mnt/hdd1 ntfs noatime,rw,user 0 2
/dev/sdb2 /mnt/hdd2 ntfs noatime,rw,user 0 2When I'm back from a reboot, drives are mounted "lsblk"
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 3.7T 0 disk
└─sda1 8:1 0 3.7T 0 part /mnt/hdd1
sdb 8:16 0 3.7T 0 disk
├─sdb1 8:17 0 16M 0 part
└─sdb2 8:18 0 3.7T 0 part /mnt/hdd2cat /proc/mounts | grep /mnt/
/dev/sda1 /mnt/hdd1 ntfs rw,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0
/dev/sdb2 /mnt/hdd2 ntfs rw,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0Directories unmounted
drwxr-xr-x 2 root root 4096 Jan 2 11:30 hdd1
drwxr-xr-x 2 root root 4096 Jan 2 11:30 hdd2Directories mounted
drwx------ 1 root root 4096 Dec 19 18:40 hdd1
drwx------ 1 root root 4096 Dec 12 14:24 hdd2From the documentation I've read seems its setup right. The "user" option in fstab should allow non-root users to mount filesystems.
I've also tried creating a mountpoint in my /home/user directory with same results as above.
Any help would be greatly appreciated.
Last edited by mrturcot (2021-01-03 06:52:58)
Offline
Offline
That did the trick, many thanks. I need to be more thorough.
Cheers
Offline
Pages: 1