Re: Error during 'make installworld' over NFS
- In reply to: mike tancsa : "Re: Error during 'make installworld' over NFS"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Mar 2024 20:29:34 UTC
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