Go to ...

Techpository

A Better Technical Repository

RSS Feed

Linux: ZFS pool migration


On the source system export the ZFS pool(s)
zpool export datapoolname

Remove the drives from the source system and attach them to the target system.After a few minutes type:
zpool import
pool: datapoolname
id: 15530172945248346540
state: ONLINE

FindĀ  the data pool ID and type the following:
zpool import 15530172945248346540

Verify by typing the following:
zpool status