TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ROB@DESPAMMER.COM
from: MIKE
date: 2019-10-30 20:51:00
subject: Re: fstab is not mounting

In article , RobH   wrote:
>In my /etc/fstab file In have:
>//192.168.0.22/mnt/CCTV/xeoma /mnt/CCTV/xeoma cifs
>credentials=/home/pi/.smbclient,uid=pi 0 0

>On checking it was being sent direct to the pi folders, so I did a sudo
>mount -a -vvv and the NAS CCTV/xeoma folder was then mounted.
>
>I thought that the fstab file would do this automatically, as it does in
>linux ubuntu.

For Slackware (non systemd) and my R-PI 2B (also still happily non systemd)
that's how it works, if it's mentioned in /etc/fstab, it's auto mounted.

Unless you add "noauto" to the options ...

Unless a remote file system (e.g. NFS mount, NAS) was asleep/powered down/
not on the network etc. at the time of the PI booting, in which case it
would have failed (and won't automatically retry).

You've got systemd now, no idea what that does about it :)
--
--------------------------------------+------------------------------------
Mike Brown: mjb[-at-]signal11.org.uk  |    http://www.signal11.org.uk

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.