From owner-freebsd-questions@FreeBSD.ORG Fri Oct 2 21:34:02 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AF951065676 for ; Fri, 2 Oct 2009 21:34:02 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mtumishi.cyberleo.net (mtumishi.cyberleo.net [69.72.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id DD8988FC1B for ; Fri, 2 Oct 2009 21:34:01 +0000 (UTC) Received: from [172.16.44.14] (unknown [74.2.96.2]) by mtumishi.cyberleo.net (Postfix) with ESMTPSA id 8E19923554; Fri, 2 Oct 2009 17:17:56 -0400 (EDT) Message-ID: <4AC66DAC.3040206@cyberleo.net> Date: Fri, 02 Oct 2009 16:16:28 -0500 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.23 (X11/20090919) MIME-Version: 1.0 To: Graeme Dargie References: <01FB8F39BAD0BD49A6D0DA8F789739295752@Mercury.galaxy.lan.lcl> In-Reply-To: <01FB8F39BAD0BD49A6D0DA8F789739295752@Mercury.galaxy.lan.lcl> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: ZFS on FreeBSD 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 21:34:02 -0000 Graeme Dargie wrote: > Hello all > > I currently have machine with 6x500gb hdd`s running under ZFS RaidZ > everything is working just fine, I have bought 2x3bay ICY Dock bays for > this machine, my questions is do I have to make sure the drives go back > on to the same sata ports as they are currently on or will ZFS sort it > self out? Before you remove the drives, export the zpool; after moving them, import the zpool. This will scan all connected devices and put everything where it needs to be. If you forget to export before shuffling the devices and zfs complains, just export and import the pool and it should sort itself out. -------- freenas:~# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT data 931G 630G 301G 67% ONLINE - freenas:~# zpool export data freenas:~# zpool list no pools available freenas:~# zpool import pool: data id: 12298073319825187638 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: data ONLINE raidz1 ONLINE ad0 ONLINE ad4 ONLINE ad6 ONLINE ad8 ONLINE ad10 ONLINE freenas:~# zpool import data freenas:~# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT data 931G 630G 301G 67% ONLINE - -------- -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/