Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2010 09:47:11 -0500
From:      jhell <jhell@DataIX.net>
To:        =?ISO-8859-15?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Cc:        freebsd-hackers@freebsd.org, xorquewasp@googlemail.com
Subject:   Re: package building failure irritation
Message-ID:  <alpine.BSF.2.00.1003050917290.7404@qvfongpu.qngnvk.ybpny>
In-Reply-To: <867hpr56ek.fsf@ds4.des.no>
References:  <20100226163227.GA15162@logik.internal.network> <4B88074E.7050007@FreeBSD.org> <20100226222113.GA14592@logik.internal.network> <4B884D48.90509@FreeBSD.org> <20100227093409.GA40858@logik.internal.network> <864ol0w4g5.fsf@ds4.des.no> <20100304175819.GC31036@logik.internal.network> <867hpr56ek.fsf@ds4.des.no>

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

On Fri, 5 Mar 2010 06:56, des@ wrote:
> xorquewasp@googlemail.com writes:
>> Is there any resolution for this problem?
>
> I told you, zfs set mountpoint and ditch nullfs.
>
> DES
>

Adding on to this. There were reports in various cases dating back to ~1 
year with bad results, possible data loss, hard and soft dead locks when 
nullfs was used with ZFS. nullfs at one point that I do remember was not 
recommended to be used at all with ZFS and there exist quite a bit of 
other functionality in ZFS "cloning, snapshots, mountpoint=" etc... that 
serve well enough to not use nullfs at all.

Surely in the case above you are talking about packages and in which you 
really should not need to mount this multiple times as a writable FS, 
correct me if you feel that it does and lets see why (please provide your 
process if you do).

This should suffice mounting a packages type collection in multiple 
places:

# Mount one dataset wherever you need it.
zfs set mountpoint=/path/to/wherever pool/packages

# Create a snapshot and clone it for further mountpoints.
zfs snapshot pool/packages@20100305
zfs clone pool/packages@20100305 pool/packages2
zfs set mountpoint=/path/to/other/dir pool/packages2


If none of this would suffice then your package management needs to be 
re-thought out. Central FTP, NFS, SMB, RSYNC?.

You have plenty of options available but the only one that will be 
suitable to you & your process will be the one that is planned for 
accordingly and thoroughly.


Best of luck,

-- 

  jhell




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