我的/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
启动后,/mnt/stashsam
按预期挂载,但/mnt/stashnas
并未挂载。运行sudo mount -a
将挂载/mnt/stashnas
。为什么第一次挂载不在启动时发生?
系统信息:
sam@stash-pc:~[main]$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
sam@stash-pc:~[main]$ uname -a
Linux 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