On 22/08/2016 22:59, Rafael Vanoni via openzfs-developer wrote:
Hi folks,

I have a couple mirrored zpools whose disks need to be moved to
different slots on the same system. Is there a way of changing the zfs
config for that zpool so this doesn't start a re-silvering?

For example, I have something like:

         NAME         STATE     READ WRITE CKSUM
         foo          ONLINE       0     0     0
           mirror-0   ONLINE       0     0     0
             c1t1d1   ONLINE       0     0     0
             c1t2d1   ONLINE       0     0     0

and will move c1t2d1 such that it will become c1t3d1. The first disk
stays the same.

Export and then reimport them after rearrangement, ZFS should
do the rest for you automagically.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




-------------------------------------------
openzfs-developer
Archives: https://www.listbox.com/member/archive/274414/=now
RSS Feed: https://www.listbox.com/member/archive/rss/274414/28015062-cce53afa
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=28015062&id_secret=28015062-f966d51c
Powered by Listbox: http://www.listbox.com

Reply via email to