Solved [Solved] How to properly shuffle my ZFS pool

Hello. I have a ZFS pool consisting of 6 disks (ada1 to ada6). If somehow my device naming has change (the pool consists now of ada0 to ada5), how can I properly import it?

Thanks in advance :)
 
Re: How to properly shuffle my ZFS pool

Code:
# zpool import -d /dev <poolname>

If using GPT-based labels:
Code:
# zpool import -d /dev/gpt <poolname>

If using GLABEL-based labels:
Code:
# zpool import -d /dev/label <poolname>

Generally, ZFS is smart enough to figure things out automatically, and a simple import will work:
Code:
# zpool import <poolname>

ZFS checks for ZFS labels on every disk/partition it finds, and builds the pools from those.
 
Back
Top