USB HDD wont auto mount
Posted: Fri May 26, 2017 10:26 am
Hi All,
I have my pi home server setup, but seem to be having considerable problems getting it to automount at boot.
I have changed the /etc/fstab file as so:
if I try to mount the device manually:
it works until I reboot the Pi.
Basically, its running Samba which when the drive is mounted, I can connect to the Pi from another device and can access it as a file server. Unfortunately though, it needs that manual intervention after boot to get it to work.
Can anyone advise the potential reason for this?
I have my pi home server setup, but seem to be having considerable problems getting it to automount at boot.
I have changed the /etc/fstab file as so:
Code: Select all
proc /proc proc defaults 0 0
PARTUUID=29469a15-01 /boot vfat defaults 0 2
PARTUUID=29469a15-02 / ext4 defaults,noatime 0 1
/dev/sda1/ /Media/pHDD_Other ntfs-3g defaults,nofail 0 0
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
Code: Select all
mount -t auto /dev/sda1 /media/pHDD_Other
Basically, its running Samba which when the drive is mounted, I can connect to the Pi from another device and can access it as a file server. Unfortunately though, it needs that manual intervention after boot to get it to work.
Can anyone advise the potential reason for this?