Hi,
I would like to mount a map on my NAS to a raspberry PI4
For reboot i would use fstab to mount again.
In fstab i use this code:
Code:
//192.168.2.20/Backups/Backup_Rasp /mnt/backup cifs comment=systemd.automount,defaults,rw,username=xxxx,password=xxxx,uid=1000, gid=46 0 0
Afther command:
Code:
sudo mount -a
mount: /etc/fstab: parse error at line 4 -- ignored
When i manual set the mount:
Code:
sudo mount.cifs //192.168.2.20/Backups/Backup_Rasp /mnt/backup -o user=xxxx,pass=xxxx,sec=ntlmssp,uid=1000,gid=46
No error en df -h
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 1.4G 26G 6% /
devtmpfs 1.8G 0 1.8G 0% /dev
tmpfs 768M 1.2M 767M 1% /run
tmpfs 384M 0 384M 0% /run/user/1000
//192.168.2.91/Backups/Backup_Rasp 1.8T 708G 1.1T 40% /mnt/backup
/dev/sda1 255M 50M 206M 20% /boot
Why is there a error in the fstab ????