I have come up against a common problem (Most recently discussed in
thread titled "cannot replace X with Y: devices have different sector
alignment"), and have to do a " zfs send -R ... | zfs recv ..." to
migrate from old to new disks.
While searching I saw reference to a new feature being discussed
years ago under the title of "RFE 4852783 (need for an equivalent to
LVM2's pvmove)" which would have made the process much easier. I'm
using mirrored pairs of disks where I could have removed one disk from
an old mirror (made up of ashift=9 disks), added a new (ashift=12)
single-disk, done this "move/detach", and then added a second new
(ashift=12) disk to the new mirror.
I can't find any ticket in any current tracking system, so am
curious if there is any current discussion of this. Being able to
remove vdevs from a pool would make a number of management tasks
easier, and avoid the send/recv of entire pools to deal with an issue
with a single vdev.
Russell McOrmond, Internet Consultant: <http://www.flora.ca/>
Please help us tell the Canadian Parliament to protect our property
rights as owners of Information Technology. Sign the petition!
"The government, lobbied by legacy copyright holders and hardware
manufacturers, can pry my camcorder, computer, home theatre, or
portable media player from my cold dead hands!" http://c11.ca/own
zfs-discuss mailing list