[zfs] attach by name/uuid still attaches wrong device

Alexander Leidinger Alexander at Leidinger.net
Tue Mar 2 09:38:40 UTC 2010


Quoting "James R. Van Artsdalen" <james-freebsd-fs2 at jrv.org> (from  
Sun, 28 Feb 2010 23:58:24 -0600):

> I don't think it's possible to do this right in vdev_geom.c: there's no
> way to guess what is intended without a hint from higher ZFS layers as
> to which drives should be found and which are new.

There is a way: do not attach blindly.

Bye,
Alexander.

-- 
Chocolate Chip.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-fs mailing list