auto-replicate update

I just updated the auto-replicate script to add in the zfs holds function so that snapshots that have been used to replicate a file system have a hold positioned on them so they can’t be deleted.

It manages the holds so that once you’ve sent a new replication stream to a destination it will remove the old hold and add one to the latest snapshot.

This should obviate the need to deal with missing source snapshots.

Note: you can still break the system by taking snapshots on the destination volume or manually deleting snapshots on the destination. But you shouldn’t be doing that kind of thing anyway…

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
« ESXi, OS X and a Mac Mini | Main | From the IT WTF files »