Hi Frank,

If you want to replace one disk with another disk, then physically
replace the disk and let ZFS know by using the zpool replace command
or set the autoreplace property.

Whether disk swapping on the fly or a controller firmware update renumbers the devices causes a problem really depends on the driver-->ZFS interaction and we can't speak for all hardware.

Thanks,

Cindy

On 02/01/10 12:52, Frank Cusack wrote:
On February 1, 2010 10:19:24 AM -0700 Cindy Swearingen <cindy.swearin...@sun.com> wrote:
ZFS has recommended ways for swapping disks so if the pool is exported,
the system shutdown and then disks are swapped, then the behavior is
unpredictable and ZFS is understandably confused about what happened. It
might work for some hardware, but in general, ZFS should be notified of
the device changes.

That's quite frequently difficult or impossible.  Can you elaborate as
to when this becomes a problem (you may have already done so in your
followup, but like you said, it's Monday :)) and how to notify ZFS of
the change?

I thought zfs wrote a unique ID into each member disk/slice of a pool
so that they could be reordered in any fashion at any time (even without
export) and no problem.  Long ago, but I've tested swapping scsi target
ids (not controller ids) and it worked fine on non-Sun hardware.

-frank
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to