From owner-freebsd-stable@FreeBSD.ORG Thu Dec 19 10:07:58 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 1E8DD9EC for ; Thu, 19 Dec 2013 10:07:58 +0000 (UTC) Received: from mail-ea0-x22f.google.com (mail-ea0-x22f.google.com [IPv6:2a00:1450:4013:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A5EE1109A for ; Thu, 19 Dec 2013 10:07:57 +0000 (UTC) Received: by mail-ea0-f175.google.com with SMTP id z10so355240ead.6 for ; Thu, 19 Dec 2013 02:07:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=dw4QGivJck4J7Em4CpOntS5hCfXWGs1dtfk1MEul4T4=; b=bLELzydRWtYgaV7TgQqZJe9jIWvm0xQV8GzTa1gAGAYpsunvZ8T3ZCV7sHn6saZalU xBiFnjaCMxIR27biDGPPivQ8W5gBgsTp1b/hBrPeq69o1SMicFYv9WmyRqKqPswb/dj+ NFHlBI3S90gptAg7skZBNV7IkyXM9DlSjyH8yyKNBBOhAyJp5AaHE5TOIbTMC4w66f2R b0QQPPtbus03z+tF72zlzfD5ZT3Po/hkfET7Mhj8S3XWHeVJttAmN2qWCVFZ//Smxr0h BvMptzxcETFSe6ClK1zsBrF4BuEM/a1DrwlRx+WssXBdDPVk6a1Sg2plIf1On1e10Mqu k+BA== X-Received: by 10.14.246.202 with SMTP id q50mr961520eer.58.1387447675923; Thu, 19 Dec 2013 02:07:55 -0800 (PST) Received: from mini.home (aae183.neoplus.adsl.tpnet.pl. [83.25.4.183]) by mx.google.com with ESMTPSA id h3sm7944328eem.15.2013.12.19.02.07.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 02:07:55 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: ZFS and ISCSI From: =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= In-Reply-To: <52B1CDB8.8050400@LaTech.edu> Date: Thu, 19 Dec 2013 11:07:52 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <1B9AC961-E2ED-4041-AB09-1EA8F65FC18B@FreeBSD.org> References: <52B1C42A.4020506@LaTech.edu> <52B1CDB8.8050400@LaTech.edu> To: Danny Schales X-Mailer: Apple Mail (2.1822) Cc: FreeBSD Stable 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 10:07:58 -0000 Wiadomo=C5=9B=C4=87 napisana przez Danny Schales w dniu = 18 gru 2013, o godz. 17:30: > On 12/18/13 10:13 AM, Ronald Klop wrote: >> On Wed, 18 Dec 2013 16:50:02 +0100, Danny Schales = wrote: >>=20 >>> It seems that ZFS and ISCSI don't play well at boot time in FreeBSD = 10. >>> ZFS is started fairly early in the boot sequence, well before ISCSI = is >>> initiated, so ISCSI based pools aren't detected. Should there be a >>> stage 2 ZFS rc.d script that rescans for pools and mounts the >>> filesystems after ISCSI initiation if ISCSI and ZFS are enabled? I >>> don't know the rc setup well enough to create one myself. Right = now, >>> I'm simply using rc.local, but I would think an official rc.d = solution >>> would be preferable in the long run. >>>=20 >>> Danny Schales >>>=20 >>=20 >> As soon as a disk with ZFS is connected GEOM/ZFS should detect it >> automatically. But I could be wrong. >>=20 >=20 >=20 > The disks/pools are detected, but the filesystem are not being = mounted..freshly booted system: >=20 > # df -lh | grep test > [nothing] > # zfs mount -a > # df -lh | grep test > test 1.2T 152K 1.2T 0% /test > test2 49G 152K 49G 0% /test2 Do you have zfs_enable=3D=E2=80=9EYES=E2=80=9D in /etc/rc.conf?