Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #262602

how to force mounting an entry in fstab on boot?

From hw <hw@adminart.net>
Newsgroups linux.debian.user
Subject how to force mounting an entry in fstab on boot?
Date 2023-10-23 16:20 +0200
Message-ID <Hs3WG-igI-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

I have an entry in the fstab to mount an NFS share via IPv6.  For
unknown reasons, the entry is being ignored on boot, so after booting,
I have to log in as root and do a 'mount -a' which mounts the share
without problems.

The entry in the fstab looks like this:


[fd53::11]:/srv/example 		  /home/example/foo	  nfs	  _netdev      0 0


I have another case in which machines need to be connected to a
particular VLAN to mount home directories.  In case they are not
connected to that VLAN, I don't want the boot process to proceed at
all because the home directories won't be available.


So how do I force it that the entries in fstab are not being silently
ignored?  I want these shares either mounted, like through like 3
retries, or booting to stop when they can't be mounted.

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

how to force mounting an entry in fstab on boot? hw <hw@adminart.net> - 2023-10-23 16:20 +0200
  Re: how to force mounting an entry in fstab on boot? Greg Wooledge <greg@wooledge.org> - 2023-10-23 16:40 +0200
    Re: how to force mounting an entry in fstab on boot? hw <hw@adminart.net> - 2023-10-23 17:30 +0200
      Re: how to force mounting an entry in fstab on boot? David Wright <deblis@lionunicorn.co.uk> - 2023-10-23 21:10 +0200
  Re: how to force mounting an entry in fstab on boot? Christoph Brinkhaus <c.brinkhaus@t-online.de> - 2023-10-23 17:00 +0200
    Re: how to force mounting an entry in fstab on boot? hw <hw@adminart.net> - 2023-10-23 17:50 +0200
      how to bring up message and prevent user login when not connected  to a particular VLAN? (was: how to force mounting an entry in fstab on  boot?) hw <hw@adminart.net> - 2023-10-23 18:00 +0200
        Re: how to bring up message and prevent user login when not  connected to a particular VLAN? (was: how to force mounting an entry in  fstab on boot?) Christoph Brinkhaus <c.brinkhaus@t-online.de> - 2023-10-23 19:30 +0200
          Re: how to bring up message and prevent user login when not  connected to a particular VLAN? (was: how to force mounting an entry in  fstab on boot?) hw <hw@adminart.net> - 2023-10-27 21:10 +0200
      Re: how to force mounting an entry in fstab on boot? Christoph Brinkhaus <c.brinkhaus@t-online.de> - 2023-10-23 18:10 +0200

csiph-web