Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 743

Only one CIFS share is auto-mounted

$
0
0

I have the following two mounts listed in my /etc/fstab

//192.168.10.1/StashNas /mnt/stashnas cifs uid=sam,gid=sam,credentials=/etc/stashnas.credentials 0 0//192.168.10.1/StashSam /mnt/stashsam cifs uid=sam,gid=sam,credentials=/etc/stashnas.credentials 0 0

After booting, /mnt/stashsam is mounted as expected, but /mnt/stashnas is not. Running sudo mount -a will mount /mnt/stashnas. Why doesn't the first mount happen at boot time?

System Info:

sam@stash-pc:~[main]$ lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription:    Ubuntu 24.04 LTSRelease:    24.04Codename:   noblesam@stash-pc:~[main]$ uname -aLinux stash-pc 6.8.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Mon May 20 15:51:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Viewing all articles
Browse latest Browse all 743

Trending Articles