Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2022 10:41:44 -0600
From:      Larry Rosenman <ler@lerctr.org>
To:        Rick Macklem <rick.macklem@gmail.com>
Cc:        Freebsd fs <freebsd-fs@freebsd.org>
Subject:   Re: NFSv4.2: One share not automounting
Message-ID:  <ff76d27e8d1574633a740679a45d25cb@lerctr.org>
In-Reply-To: <CAM5tNy6gzJR=AHWRWUcZ8yDrznVtsOW1QkP4idKFemc5bfUR-Q@mail.gmail.com>
References:  <74b67036bfd95d1ec831f265c1712e31@lerctr.org> <CAM5tNy6gzJR=AHWRWUcZ8yDrznVtsOW1QkP4idKFemc5bfUR-Q@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]


/vault/backup is just a directory local on the client.

Late causes other issues with both mounts and the rest of the boot 
sequence.

On 11/23/2022 8:59 am, Rick Macklem wrote:

> On Tue, Nov 22, 2022 at 10:25 PM Larry Rosenman <ler@lerctr.org> wrote:
> 
>> CAUTION: This email originated from outside of the University of 
>> Guelph. Do not click links or open attachments unless you recognize 
>> the sender and know the content is safe. If in doubt, forward 
>> suspicious emails to IThelp@uoguelph.ca
>> 
>> I have the following 2 entries in /etc/fstab:
>> #########
>> freenas.lerctr.org:/mnt/data/TBH    /vault/backup/TBH    nfs
>> rw,nfsv4,minorversion=2,nconnect=8 0 0
>> freenas.lerctr.org:/mnt/data/BACULA /vault/backup/BACULA nfs
>> rw,nfsv4,minorversion=2,nconnect=8 0 0
>> 
>> the top one (ending in /TBH) doesn't mount at boot, but if I do a 
>> manual
>> mount, it's fine.
> 
> Is /vault/backup a mount point on the client?
> (You didn't show the rest of your /etc/fstab.)
> If so, it might be a timing thing w.r.t. when /vault/backup
> gets mounted.
> 
> You could try the "late" mount option, to see if that helps.
> 
> Other than that, I cannot think why the first one would not work.
> 
> rick
> ps: Normally NFSv4 mounts a tree of file systems on the server and,
> as such, a single mount to a server is used, but doing multiple
> mounts should work.
> 
>> How can I get data to diagnose this issue?
>> 
>> This has been happening for a while.  FreeBSD 14-CURRENT as of Tue Nov
>> 22 23:59:16 CST 2022
>> 
>> ❯ uname -a
>> FreeBSD borg.lerctr.org [1] 14.0-CURRENT FreeBSD 14.0-CURRENT #29
>> ler/freebsd-main-changes-n259398-496d4d928269: Tue Nov 22 23:59:16 CST
>> 2022
>> root@borg.lerctr.org:/usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL 
>> amd64
>> 
>> --
>> Larry Rosenman                     http://www.lerctr.org/~ler
>> Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
>> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106


Links:
------
[1] http://borg.lerctr.org
[-- Attachment #2 --]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Arial,Helvetica,sans-serif'>
<p>/vault/backup is just a directory local on the client.</p>
<p>Late causes other issues with both mounts and the rest of the boot sequence.</p>
<p id="reply-intro">On 11/23/2022 8:59 am, Rick Macklem wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div dir="ltr">
<div dir="ltr">
<div class="v1gmail_default" style="font-family: monospace;">&nbsp;</div>
</div>
<br />
<div class="v1gmail_quote">
<div class="v1gmail_attr" dir="ltr">On Tue, Nov 22, 2022 at 10:25 PM Larry Rosenman &lt;<a href="mailto:ler@lerctr.org" rel="noreferrer">ler@lerctr.org</a>&gt; wrote:</div>
<blockquote class="v1gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">CAUTION: This email originated from outside of the University of Guelph. Do not click links or open attachments unless you recognize the sender and know the content is safe. If in doubt, forward suspicious emails to <a href="mailto:IThelp@uoguelph.ca" rel="noreferrer">IThelp@uoguelph.ca</a><br /><br /><br />I have the following 2 entries in /etc/fstab:<br />#########<br />freenas.lerctr.org:/mnt/data/TBH&nbsp; &nbsp; /vault/backup/TBH&nbsp; &nbsp; nfs <br />rw,nfsv4,minorversion=2,nconnect=8 0 0<br />freenas.lerctr.org:/mnt/data/BACULA /vault/backup/BACULA nfs <br />rw,nfsv4,minorversion=2,nconnect=8 0 0<br /><br />the top one (ending in /TBH) doesn't mount at boot, but if I do a manual <br />mount, it's fine.</blockquote>
<div><span class="v1gmail_default" style="font-family: monospace;">Is /vault/backup a mount point on the client?</span></div>
<div><span class="v1gmail_default" style="font-family: monospace;">(You didn't show the rest of your /etc/fstab.)</span></div>
<div><span class="v1gmail_default" style="font-family: monospace;">If so, it might be a timing thing w.r.t. when /vault/backup</span></div>
<div><span class="v1gmail_default" style="font-family: monospace;">gets mounted.</span></div>
<div><span class="v1gmail_default" style="font-family: monospace;">&nbsp;</span></div>
<div><span class="v1gmail_default" style="font-family: monospace;">You could try the "late" mount option, to see if that helps.</span></div>
<div><span class="v1gmail_default" style="font-family: monospace;">&nbsp;</span></div>
<div><span class="v1gmail_default" style="font-family: monospace;">Other than that, I cannot think why the first one would not work.</span></div>
<div><span class="v1gmail_default" style="font-family: monospace;">&nbsp;</span></div>
<div><span class="v1gmail_default" style="font-family: monospace;">rick</span></div>
<div><span class="v1gmail_default" style="font-family: monospace;">ps: Normally NFSv4 mounts a tree of file systems on the server and,</span></div>
<div><span class="v1gmail_default" style="font-family: monospace;">&nbsp; &nbsp; as such, a single mount to a server is used, but doing multiple</span></div>
<div><span class="v1gmail_default" style="font-family: monospace;">&nbsp; &nbsp; mounts should work.</span></div>
<div><span class="v1gmail_default" style="font-family: monospace;"></span>&nbsp;</div>
<blockquote class="v1gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">How can I get data to diagnose this issue?<br /><br />This has been happening for a while.&nbsp; FreeBSD 14-CURRENT as of Tue Nov <br />22 23:59:16 CST 2022<br /><br />❯ uname -a<br />FreeBSD <a href="http://borg.lerctr.org" target="_blank" rel="noopener noreferrer">borg.lerctr.org</a> 14.0-CURRENT FreeBSD 14.0-CURRENT #29 <br />ler/freebsd-main-changes-n259398-496d4d928269: Tue Nov 22 23:59:16 CST <br />2022&nbsp; &nbsp; &nbsp;<br />root@borg.lerctr.org:/usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL amd64<br /><br /><br /><br />-- <br />Larry Rosenman&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.lerctr.org/~ler" target="_blank" rel="noopener noreferrer">http://www.lerctr.org/~ler</a><br />Phone: +1 214-642-9640&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;E-Mail: <a href="mailto:ler@lerctr.org" rel="noreferrer">ler@lerctr.org</a><br />US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106<br /><br /></blockquote>
</div>
</div>
</div>
</blockquote>
<p><br /></p>
<div id="signature">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span class="sig">--&nbsp;<br />Larry Rosenman &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.lerctr.org/~ler" target="_blank" rel="noopener noreferrer">http://www.lerctr.org/~ler</a><br />Phone: +1 214-642-9640 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E-Mail: <a href="mailto:ler@lerctr.org">ler@lerctr.org</a><br />US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106<br /></span></div>
</div>
</body></html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ff76d27e8d1574633a740679a45d25cb>