Date: Sat, 30 Mar 2024 16:29:34 -0400 From: mike tancsa <mike@sentex.net> To: freebsd-questions@umpquanet.com, freebsd-questions@freebsd.org Subject: Re: Error during 'make installworld' over NFS Message-ID: <aa869e20-37d1-40ff-b951-f40c5f6b9cd5@sentex.net> In-Reply-To: <028576bf-1d83-48c7-b3fb-bac35e10bfca@sentex.net> References: <ZgcVKwT1v0b%2BG/hV@sfo.umpquanet.com> <028576bf-1d83-48c7-b3fb-bac35e10bfca@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------hJd0BlCnFMCiiQir9whdlCCh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 3/30/2024 1:33 PM, mike tancsa wrote: > On 3/29/2024 3:23 PM, freebsd-questions@umpquanet.com wrote: >> For years I've been doing upgrades by mounting /usr/src and /usr/obj via >> read-only NFS shares, and doing an installkernel/installworld/ >> mergemaster sequence. >> >> Lately I've built stable/14-n267062-77205dbc1397 but I'm hitting an >> error that appears to be because the NFS mounts are read-only. > > I havent tried RELENG_14 in a few weeks, but does setting > > setenv MAKE_OBJDIR_CHECK_WRITABLE 0 > > before you do the installkernel/installworld help at all ? > Just checked on a vm. mount_nfs -onfsv4,readahead=8,rsize=131072,wsize=131072 build14server:/usr/src /usr/src mount_nfs -onfsv4,readahead=8,rsize=131072,wsize=131072 build14server:/usr/obj /usr/obj root@nano14:/usr/src # touch /usr/src/testfile touch: /usr/src/testfile: Read-only file system root@nano14:/usr/src # touch /usr/obj/testfile touch: /usr/obj/testfile: Read-only file system root@nano14:/usr/src # with a csh shell (not sure if that makes a diff or not) installkernel and world work without errors/warnings with setenv MAKE_OBJDIR_CHECK_WRITABLE 0 for me nfsstat -m 192.168.15.6:/usr/src on /usr/src nfsv4,minorversion=2,tcp,resvport,nconnect=1,hard,cto,sec=sys,acdirmin=3,acdirmax=60,acregmin=5,acregmax=60,nametimeo=60,negnametimeo=60,rsize=65536,wsize=65536,readdirsize=65536,readahead=8,wcommitsize=16777216,timeout=120,retrans=2147483647 ---Mike --------------hJd0BlCnFMCiiQir9whdlCCh Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <div class="moz-cite-prefix">On 3/30/2024 1:33 PM, mike tancsa wrote:<br> </div> <blockquote type="cite" cite="mid:028576bf-1d83-48c7-b3fb-bac35e10bfca@sentex.net"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> On 3/29/2024 3:23 PM, <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:freebsd-questions@umpquanet.com" moz-do-not-send="true">freebsd-questions@umpquanet.com</a> wrote:<br> <blockquote type="cite" cite="mid:ZgcVKwT1v0b+G%2FhV@sfo.umpquanet.com"> <pre class="moz-quote-pre" wrap="">For years I've been doing upgrades by mounting /usr/src and /usr/obj via read-only NFS shares, and doing an installkernel/installworld/ mergemaster sequence. Lately I've built stable/14-n267062-77205dbc1397 but I'm hitting an error that appears to be because the NFS mounts are read-only. </pre> </blockquote> <br> <p>I havent tried RELENG_14 in a few weeks, but does setting</p> <p>setenv MAKE_OBJDIR_CHECK_WRITABLE 0</p> <p>before you do the installkernel/installworld help at all ? <br> </p> </blockquote> <p>Just checked on a vm.</p> <p>mount_nfs -onfsv4,readahead=8,rsize=131072,wsize=131072 build14server:/usr/src /usr/src</p> <p>mount_nfs -onfsv4,readahead=8,rsize=131072,wsize=131072 build14server:/usr/obj /usr/obj</p> <p><br> </p> root@nano14:/usr/src # touch /usr/src/testfile<br> touch: /usr/src/testfile: Read-only file system<br> root@nano14:/usr/src # touch /usr/obj/testfile<br> touch: /usr/obj/testfile: Read-only file system<br> <p>root@nano14:/usr/src # <br> </p> <p>with a csh shell (not sure if that makes a diff or not)</p> <p>installkernel and world work without errors/warnings with <br> setenv MAKE_OBJDIR_CHECK_WRITABLE 0 <br> </p> <p>for me</p> <p>nfsstat -m<br> 192.168.15.6:/usr/src on /usr/src<br> nfsv4,minorversion=2,tcp,resvport,nconnect=1,hard,cto,sec=sys,acdirmin=3,acdirmax=60,acregmin=5,acregmax=60,nametimeo=60,negnametimeo=60,rsize=65536,wsize=65536,readdirsize=65536,readahead=8,wcommitsize=16777216,timeout=120,retrans=2147483647</p> <p><br> </p> <p> ---Mike<br> </p> <p><br> </p> <p><br> </p> <blockquote type="cite" cite="mid:028576bf-1d83-48c7-b3fb-bac35e10bfca@sentex.net"><span style="white-space: pre-wrap"> </span> </blockquote> </body> </html> --------------hJd0BlCnFMCiiQir9whdlCCh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aa869e20-37d1-40ff-b951-f40c5f6b9cd5>