Page 1 of 1

fstab not worked ubuntu server 20.04 raspberry 4b 4GB

Posted: Mon Jun 15, 2020 1:15 pm
by dreamcatcher
hardware: raspberry 4b 4GB
system: ubuntu server 20.04

i already added

Code: Select all

/dev/sda1  /media/toshiba ntfs-3g defaults,noexec,nofail,x-systemd.device-timeout=1,umask=0000 0 0
code in /etc/fstab
and I can use

Code: Select all

mount -t ntfs-3g /dev/sda1 /media/toshiba
but fstab didn't work not mount.

and my nfs server didn't work also.

here is /etc/exports

Code: Select all

/media/toshiba      192.168.0.0/24(rw,sync,no_subtree_check,insecure)

Re: fstab not worked

Posted: Mon Jun 15, 2020 3:58 pm
by dreamcatcher
Once I solved the problem by turning off the firewall but now can not auto mount again!

Code: Select all

ufw disable

Re: fstab not worked

Posted: Thu Jun 18, 2020 2:58 am
by dreamcatcher
I tried to use UUID in fstab , but still can't work.
I can use
mount -a
mount my disk, but can't auto mount in fstab.
What should i do?