From owner-freebsd-fs@FreeBSD.ORG Wed Nov 19 12:51:45 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E443106564A for ; Wed, 19 Nov 2008 12:51:45 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id 957668FC1C for ; Wed, 19 Nov 2008 12:51:44 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA03.westchester.pa.mail.comcast.net with comcast id h0qe1a0020vyq2s530qjFK; Wed, 19 Nov 2008 12:50:43 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id h0re1a00H2P6wsM3R0rft3; Wed, 19 Nov 2008 12:51:39 +0000 X-Authority-Analysis: v=1.0 c=1 a=ZDbTLsK2zeAA:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=lI5SyYldkA6oxCDDcbYA:9 a=UHlqQEGcnTMlUOZxGMIA:7 a=B0S5JKfQq4riN8V5Odwcgych630A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 883EB33C36; Wed, 19 Nov 2008 04:51:38 -0800 (PST) Date: Wed, 19 Nov 2008 04:51:38 -0800 From: Jeremy Chadwick To: Danny Carroll Message-ID: <20081119125138.GA86942@icarus.home.lan> References: <49240A80.5010106@dannysplace.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49240A80.5010106@dannysplace.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS Drive change best practice. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2008 12:51:45 -0000 On Wed, Nov 19, 2008 at 10:45:52PM +1000, Danny Carroll wrote: > I need to migrate my ZFS drives from one bus to another. As such they > will be getting new device names. > > I am pretty sure that if I do this with an export/import then it will > just get the job done. > > Does anyone know if there I need to take anything special into > consideration, like perhaps maintaining the order of the drives? Drive order does not matter, and drive label (e.g. adX or daX) does not matter; "zpool import -a" will figure it out. HOWEVER, there is a problem where ZFS can list the same drive label twice or more in the members list. Take a look at the last part of my Wiki here -- you'll see two members with the same name. This was induced by moving cables between two different controllers: http://wiki.freebsd.org/JeremyChadwick/ZFS_disk_upgrade_gone_bad I sent mail to pjd@ about this, but didn't receive a response (which is understandable given how busy he is). I have no idea if the latest ZFS commit on CURRENT fixes this problem. Just something to keep in mind. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |