Skip to content

Setting up automated ZFS snapshots on FreeBSD

Using the port sysutils/zfs-snapshot-mgmt.

The make is taking a while, because it had to pull in Ruby. Luckily, my new FreeBSD machine has a whopping 160 GB hard drive. No worries. However, I wonder if I should’ve used the alternative. Just didn’t want to install something that doesn’t register with the FreeBSD packages/ports.

Initially left the default /usr/local/etc/zfs-snapshot-mgmt.conf file except edited it to have tank/Users and tank as the filesystems to snapshot. However, the latter was giving a NoMethod Ruby exception so I commented it out. Things are looking good:


NAME USED AVAIL REFER MOUNTPOINT
tank/Users@auto-2010-01-20_07.30 0 – 30.0K –
tank/Users/Wife@auto-2010-01-20_07.30 0 – 30.6K –
tank/Users/Wife/Documents@auto-2010-01-20_07.30 0 – 39.0M –
tank/Users/Wife/Music@auto-2010-01-20_07.30 0 – 1.55G –
tank/Users/Wife/Pictures@auto-2010-01-20_07.30 0 – 3.84G –
tank/Users/Wife/Videos@auto-2010-01-20_07.30 0 – 24.0K –
tank/Users/Poojan@auto-2010-01-20_07.30 0 – 30.6K –
tank/Users/Poojan/Documents@auto-2010-01-20_07.30 1.02M – 2.35G –
tank/Users/Poojan/Music@auto-2010-01-20_07.30 0 – 36.5G –
tank/Users/Poojan/Pictures@auto-2010-01-20_07.30 0 – 24.0K –
tank/Users/Poojan/Videos@auto-2010-01-20_07.30 0 – 310M –
tank/Users/Public@auto-2010-01-20_07.30 0 – 30.6K –
tank/Users/Public/Documents@auto-2010-01-20_07.30 0 – 50.6K –
tank/Users/Public/Music@auto-2010-01-20_07.30 0 – 2.61G –
tank/Users/Public/Pictures@auto-2010-01-20_07.30 0 – 6.57G –
tank/Users/Public/Videos@auto-2010-01-20_07.30 0 – 310M –
Be the first to like.

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*