Equivalent to zfs split?

Status
Not open for further replies.

pjc

Contributor
Joined
Aug 26, 2014
Messages
187
I was hoping to cheat and create two independent backup disks simultaneously by (1) setting up a mirrored pool and then (2) splitting the pool into two identical pools.

Non-open ZFS apparently has a "zfs split" command that makes this an easy process.

What would the equivalent be under OpenZFS? zfs detach followed by somehow renaming one of the disks and changing its GUID? How would I do that?
 

pjc

Contributor
Joined
Aug 26, 2014
Messages
187
You're right, I'm an idiot. I looked right past the fact that it's "zpool split" and not "zfs split". Thanks for the pointer! (And for not pointing out that I'm an idiot. :))
 
D

dlavigne

Guest
I heard a good tip yesterday that makes it easy to remember when to use zpool and when to use zfs (I always get those 2 commands mixed up and end up reading both man pages looking for what I want). zpool is for the pool and zfs is for datasets.
 
Status
Not open for further replies.
Top