dreamcatcher
Posts: 11
Joined: Fri Jun 12, 2020 10:57 am

fstab not worked ubuntu server 20.04 raspberry 4b 4GB

Mon Jun 15, 2020 1:15 pm

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)
Last edited by dreamcatcher on Thu Jun 18, 2020 2:59 am, edited 1 time in total.

dreamcatcher
Posts: 11
Joined: Fri Jun 12, 2020 10:57 am

Re: fstab not worked

Mon Jun 15, 2020 3:58 pm

Once I solved the problem by turning off the firewall but now can not auto mount again!

Code: Select all

ufw disable

dreamcatcher
Posts: 11
Joined: Fri Jun 12, 2020 10:57 am

Re: fstab not worked

Thu Jun 18, 2020 2:58 am

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?

Return to “Ubuntu”