From owner-freebsd-fs@FreeBSD.ORG Sun May 18 11:25:29 2014 Return-Path: Delivered-To: freebsd-fs@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 95F3B7EE for ; Sun, 18 May 2014 11:25:29 +0000 (UTC) Received: from smtp1.multiplay.co.uk (smtp1.multiplay.co.uk [85.236.96.35]) by mx1.freebsd.org (Postfix) with ESMTP id 2E4A221A5 for ; Sun, 18 May 2014 11:25:28 +0000 (UTC) Received: by smtp1.multiplay.co.uk (Postfix, from userid 65534) id 2BE2820E7088B; Sun, 18 May 2014 11:25:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.multiplay.co.uk X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=8.0 tests=AWL,BAYES_00,DOS_OE_TO_MX, FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,RDNS_DYNAMIC,STOX_REPLY_TYPE autolearn=no version=3.3.1 Received: from r2d2 (82-69-141-170.dsl.in-addr.zen.co.uk [82.69.141.170]) by smtp1.multiplay.co.uk (Postfix) with ESMTPS id DB33020E70886; Sun, 18 May 2014 11:25:22 +0000 (UTC) Message-ID: <3E3DCC6DED864A519B02A398B92D1994@multiplay.co.uk> From: "Steven Hartland" To: "Jeff Chan" , References: <1129127016.20140517185154@supranet.net> <1198503903.20140518030907@supranet.net> <236659679.20140518035326@supranet.net> Subject: Re: ZFS snapshot restore not quite working; missing steps? Date: Sun, 18 May 2014 12:25:22 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2014 11:25:29 -0000 ----- Original Message ----- From: "Jeff Chan" To: Sent: Sunday, May 18, 2014 11:53 AM Subject: Re: ZFS snapshot restore not quite working; missing steps? > On Sunday, May 18, 2014, 3:25:39 AM, Steven Hartland wrote: >> Not used legacy here have you tried: >> zfs set mountpoint=/ zroot > > It was tried initially. Trying again a second time > > zfs set mountpoint=legacy zroot > > was tried. > >> Silly question given your using mfi have confirmed your controller / >> machine bios are set to boot from the relavent disk? > > Not silly; yes it does boot from the right disk. > >> Also have you confirmed zfs in /boot/loader.conf e.g. >> zfs_load="YES" >> vfs.root.mountfrom="zfs:zroot" > > Yes. > >> Finally do be aware its not ideal to use a RAID controller for ZFS >> your better of with a HBA which does less "fancy" stuff when >> communicating with the disks allowing ZFS do see whats really going >> on. > > Yes, indeed. It's an LSI 2208 which doesn't seem to be reflashable > into HBA like a LSI 2008, so we're running each of the three disks as > a separate RAID-0, with RAID hardware read and write caching turned > off (as it supposedly works faster with ZFS that way). Would have > preferred HBA, but we're trying to do the best with the hardware we > have. Yer here you there; we've had to do the same, this is layout we use which Is that configured by mfsbsd (http://mfsbsd.vx.sk/): zroot 22.8G 55.5G 144K none zroot/root 20.8G 55.5G 19.4G / zroot/root/tmp 592K 55.5G 592K /tmp zroot/root/var 1.39G 55.5G 1.39G /var zroot/swap 266M 57.2G 266M - Pool layout:- zpool status zroot pool: zroot state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gptid/d27aba97-5c20-11e2-a017-00259088112a ONLINE 0 0 0 gptid/d3226aa9-5c20-11e2-a017-00259088112a ONLINE 0 0 0 errors: No known data errors > We wonder if things like the MBR and zfs boot loader are happy. How > does one review whether those are set up correctly? Not had any issues here As a test I would a micro install using mfsbsd, only takes a few mins which will ensure the basic layout is all good and the machine boots. If all good you can then boot back to the install, restore from you backup and reboot. Regards Steve