Date: Wed, 19 Nov 2008 22:12:47 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Jeremy Chadwick <koitsu@FreeBSD.org> Cc: freebsd-fs@freebsd.org Subject: Re: ZFS Drive change best practice. Message-ID: <20081119211227.GA2553@garage.freebsd.pl> In-Reply-To: <20081119125138.GA86942@icarus.home.lan> References: <49240A80.5010106@dannysplace.net> <20081119125138.GA86942@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
--5/uDoXvLw7AC5HRs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 19, 2008 at 04:51:38AM -0800, Jeremy Chadwick wrote: > 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. > >=20 > > I am pretty sure that if I do this with an export/import then it will > > just get the job done. > >=20 > > Does anyone know if there I need to take anything special into > > consideration, like perhaps maintaining the order of the drives? >=20 > Drive order does not matter, and drive label (e.g. adX or daX) does > not matter; "zpool import -a" will figure it out. >=20 > 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: >=20 > http://wiki.freebsd.org/JeremyChadwick/ZFS_disk_upgrade_gone_bad >=20 > 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. >=20 > Just something to keep in mind. Sorry about lack of response. The situation should improve with recent ZFS, although at the end I decided to give up on disks IDs, as they only work with ATA disks and nobody implemented this functionality for SCSI disks. After some more tests I'll commit changes that make ZFS to always depend on metadata only. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --5/uDoXvLw7AC5HRs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFJJIFOForvXbEpPzQRAm6EAJ46SAyDN/xmm30uFsU2UUk7SxcMXwCfcnT5 BRcPuhWh7puRHPI+mc2VCwg= =61rx -----END PGP SIGNATURE----- --5/uDoXvLw7AC5HRs--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081119211227.GA2553>