Subject: Re: PR 11731 (union mount, under layer is NFS -> unusable)
To: None <itojun@iijlab.net>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: tech-kern
Date: 01/17/2001 23:05:03
At 15:11 Uhr +0100 17.1.2001, itojun@iijlab.net wrote:
> are there any workaround/solution against PR 11731? I have
> couple of experiment machines configured with nfs-mounted
> source code directory, and on top of that union-mounted working
> directory (so my machine exactly falls into this PR).
>
> if i can do anything to do help debug the symptom, i'm happy to run
> any configuration you would like.
Hi,
I found a viable workaround is to mount the remote directories to
intermediate mountpoints, and union-mount those together, like so:
elmo:/f/bsd/sup-netbsd/src 1436111 1008673 355632 73% /.source
elmo:/f/archive/distfiles 957151 529749 379544 58% /.distfiles
<below>:/.source 1521520 1343703 152174 89% /usr/src
<above>:/var/obj 1933601 1664773 239333 87% /usr/src
(/var/obj/pkgsrc/distfiles is a symlink to the mountpoint /.distfiles --
nfs-mounting anything inside a unionmount card-house blows up the whole
thing).
I have wrought a shell script that creates and destroys the setup no matter
if one, two or none of (src, distfiles) are remote; contact me off-list if
you are interested.
hauke
--
"It's never straight up and down" (DEVO)