I've been trying this script out on some tmp pools just to see how it works and try to understand it. It's very cool, bye the way. I'm having a couple issues I thought maybe someone could help with.
Destination snapshots missing on child filesystems:
- Code: Select all
NAME USED AVAIL REFER MOUNTPOINT
mypool1@2012-11-27-173405 0 - 32.5Ki -
mypool1@2012-11-27-173429 0 - 32.5Ki -
mypool1@2012-11-27-173743 0 - 32.5Ki -
mypool1@2012-11-27-173757 0 - 32.5Ki -
mypool1@2012-11-27-174305 0 - 32.5Ki -
mypool1@2012-11-27-174319 0 - 32.5Ki -
mypool1@2012-11-27-174328 0 - 32.5Ki -
mypool1@2012-11-27-174342 0 - 32.5Ki -
mypool1@2012-11-27-174402 0 - 32.5Ki -
mypool1/lwrpool@2012-11-27-173743 0 - 31.5Ki -
mypool1/lwrpool@2012-11-27-173757 0 - 31.5Ki -
mypool1/lwrpool@2012-11-27-174305 0 - 31.5Ki -
mypool1/lwrpool@2012-11-27-174319 0 - 31.5Ki -
mypool1/lwrpool@2012-11-27-174328 0 - 31.5Ki -
mypool1/lwrpool@2012-11-27-174342 0 - 31.5Ki -
mypool1/lwrpool@2012-11-27-174402 0 - 31.5Ki -
mypool2/mypool1@2012-11-27-173757 1Ki - 32.5Ki -
mypool2/mypool1@2012-11-27-174342 1Ki - 32.5Ki -
mypool2/mypool1@2012-11-27-174402 0 - 32.5Ki -
mypool2/mypool1/lwrpool@2012-11-27-173757 1Ki - 31.5Ki -
mypool2/mypool1/lwrpool@2012-11-27-174342 1Ki - 31.5Ki -
mypool2/mypool1/lwrpool@2012-11-27-174402 0 - 31.5Ki -
I would expect there to be the same snapshots at mypool2/mypool1/lwrpool as there are on mypool2/mypool 3 vs. 10
I used the following command:
- Code: Select all
./zfstimemachinebackup.perl --sourcepool=mypool1 --destinationpool=mypool2/mypool1 --recursive --snapshotstokeeponsource=5 --createsnapshotonsource
I'm also getting a lot of "dataset is busy" messages:
- Code: Select all
Could not destroy snapshot: zfs destroy "mypool1@2012-11-27-173405"cannot destroy 'mypool1@2012-11-27-173429': dataset is busy
This is on a brand new filesystem with no actual files. I'm not sure why it's busy. It shouldn't be doing anything.
Anyway, great work! Any help is greatly appreciated.
- Mac Mini (Late 2012), 10.8.5, 16GB memory, pool - 2 Mirrored 3TB USB 3.0 External Drives