public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] NFS mounting - SOLVED
@ 2024-11-26 16:13 Peter Humphrey
  2024-12-02 17:56 ` Michael
  2024-12-03 13:08 ` Matt Jolly
  0 siblings, 2 replies; 11+ messages in thread
From: Peter Humphrey @ 2024-11-26 16:13 UTC (permalink / raw
  To: gentoo-user

Greetings,

[New readers start here...   :) ]

I've spent several days-worth of my time over the last few weeks in trying to 
get my i5 box to export its portage tree and packages directory to a chroot on 
my M9 machine. I read all the docs, I thought about the help that was offered 
here, I changed file systems and partitions around - everything I could think 
of.

The answer was simple, and I stumbled over it in a post on Stack Exchange: the 
behaviour of NFS mount calls changed in NFS v4. I didn't need to change /etc/
exports on the i5, but the NFS-mount call on the M9 did need to change.

# cat /etc/exports		# on the i5
/mnt/nfs \
   192.168.178.7(rw,sync,no_subtree_check,no_root_squash,crossmnt,fsid=0)
/mnt/nfs/portage \
   192.168.178.7(rw,sync,insecure,no_subtree_check,no_root_squash)
/mnt/nfs/packages \
   192.168.178.7(rw,sync,insecure,no_subtree_check,no_root_squash)

$ grep nfs /etc/init.d/nuci		# on the M9. Nuci is the I5
    mount -t nfs 192.168.178.4:portage /mnt/nuci/var/db/repos/gentoo
    mount -t nfs 192.168.178.4:packages /mnt/nuci/var/cache/packages

Notice the absence of '/mnt/nfs' from the M9 mount commands. That's what was 
tripping me up all that time.

Someone needs to have a look at the nfs-utils wiki page. I'd do something 
myself, but how? I raised a bug against a document once, only to be rebuked.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-12-05  1:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-26 16:13 [gentoo-user] NFS mounting - SOLVED Peter Humphrey
2024-12-02 17:56 ` Michael
2024-12-03 11:29   ` Peter Humphrey
2024-12-03 11:44     ` Michael
2024-12-03 11:48       ` Peter Humphrey
2024-12-05  1:53   ` Peter Humphrey
2024-12-03 13:08 ` Matt Jolly
2024-12-03 13:28   ` Peter Humphrey
2024-12-04  2:20     ` Peter Humphrey
2024-12-05  0:55       ` Gentoo wiki [was: Re: [gentoo-user] NFS mounting - SOLVED] Alexis
2024-12-05  1:21         ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox