From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 5 14:50:39 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEEA7106566C for ; Fri, 5 Mar 2010 14:50:38 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-fx0-f223.google.com (mail-fx0-f223.google.com [209.85.220.223]) by mx1.freebsd.org (Postfix) with ESMTP id 781018FC3B for ; Fri, 5 Mar 2010 14:50:37 +0000 (UTC) Received: by fxm23 with SMTP id 23so2683445fxm.3 for ; Fri, 05 Mar 2010 06:50:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=lHt3YmIUbW/PiHgl09VQqZwiKXjG/XR1EOUA3fGFnsA=; b=Sb9medHRj+/ejuTIWv75eHabKiLcIRUf4E3jje9p+cCyqzTS4a34S8SzGR1AgvbvjC f5LcSBEszMLSwHCaWw7fbNUxiPlIOKWCjW1eKrRnpP2DvTXUSBcPVUstzFGQGzfXJbpz gV7iWhSM9vP1xwbpqluiUv17vIT25W9j5P7Fc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=K1TS/fydxy3UqRFnpCO2cRDqR9ZErRDOVsFA+V7eiW7JfhntIc84OSiyI/eG5aBBYG /o6RwJZrUfujcGx+rIXeQPEtcZdinEOgFTpNdEV3SMYJ7zL0DuhSf64oZc4hKMpkywhP 9RYHWhsXYivRq7yA6PbOnxYoe3nFy5VqYxuGo= Received: by 10.102.211.9 with SMTP id j9mr259062mug.130.1267800629371; Fri, 05 Mar 2010 06:50:29 -0800 (PST) Received: from ppp-22.41.dialinfree.com (ppp-22.41.dialinfree.com [209.172.22.41]) by mx.google.com with ESMTPS id u9sm8583091muf.9.2010.03.05.06.50.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 05 Mar 2010 06:50:27 -0800 (PST) Sender: "J. Hellenthal" Date: Fri, 5 Mar 2010 09:47:11 -0500 From: jhell To: =?ISO-8859-15?Q?Dag-Erling_Sm=F8rgrav?= In-Reply-To: <867hpr56ek.fsf@ds4.des.no> Message-ID: 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> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: freebsd-hackers@freebsd.org, xorquewasp@googlemail.com Subject: Re: package building failure irritation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2010 14:50:39 -0000 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