From owner-freebsd-stable@FreeBSD.ORG Thu Dec 19 13:53:24 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BBB706C9 for ; Thu, 19 Dec 2013 13:53:24 +0000 (UTC) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 790D412A6 for ; Thu, 19 Dec 2013 13:53:24 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Vte2T-000573-BR for freebsd-stable@freebsd.org; Thu, 19 Dec 2013 14:53:21 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-stable@freebsd.org Subject: Re: ZFS and ISCSI References: <52B1C42A.4020506@LaTech.edu> <52B1CDB8.8050400@LaTech.edu> <52B1FEAB.20008@LaTech.edu> <20131219124451.GA71702@anubis.morrow.me.uk> Date: Thu, 19 Dec 2013 14:52:36 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <20131219124451.GA71702@anubis.morrow.me.uk> User-Agent: Opera Mail/12.16 (Win32) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: 0.8 X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.1 X-Scan-Signature: 2ecd0b53b7de9511489f92806276a3d7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2013 13:53:24 -0000 On Thu, 19 Dec 2013 13:44:56 +0100, Ben Morrow wrote: > Quoth "Ronald Klop" : >> On Wed, 18 Dec 2013 20:59:39 +0100, Danny Schales >> wrote: >> > On 12/18/13 01:20 PM, Ronald Klop wrote: >> > >> >> Maybe asking for the obvious, but... >> >> Do your zfs volumes have mountpoint set? >> > >> > yes, mountpoint is set. >> >> You might also post more information about your setup. Like the >> partitioning of your iscsi 'disks' (I don't have much experience with >> that). And the actual values of things like your mountpoint and iscsi >> config files. > > None of this information makes any difference: Danny's original analysis > of the problem is correct. Any zpools which show up after /etc/rc.d/zfs > has run will not be automatically mounted, they must be explicitly > mounted with 'zfs mount -a'. This is expected behaviour, and how things > are supposed to work, but noone had previously realised that iSCSI disks > (and, presumably, any other networked block devices) necessarily fall > into this category. The solution is a ZFS equivalent to > /etc/rc.d/mountlate; I believe all it needs to contain is 'zfs mount > -a', but ICBW. > > Ben Ok Regards, Ronald.