'zfs' Category

  • Recent home project: ZFS NAS server

    July 2, 2007

    I apologize for not posting for the last week, it was a very hectic week for myself because of a certain request for a Solaris 9 machine with tape that took the greater part of a week to get working properly. All I have to say about that is that I much prefer Solaris 10 […]

  • Submission: Ralf’s updated zfs backup script (with tutorial!)

    June 20, 2007

    The following comes to you from Ralf Ramge, who has graciously allowed me to post his script and all the instructions below: “I have a small update. I’ve made the number of backups of each filesystem easier to handle by replacing the hardcoded number with a variable. I also added some comments so everybody should […]

  • Frustrating: Kernel panics

    June 8, 2007

    Alright, so for the last 3 days or so, my main Solaris machine has been going crazy and kernel panicing about once every day or so, which is extremely annoying because every time it panics the machine reboots (and this machine has 3 zones that are in current use, so I get 3 calls about […]

  • Submission: local/remote zfs snapshot script

    June 6, 2007

    Here’s a nifty little submission from Ralf Ramge. It will do a ZFS snapshot backup to a local directory, a remote machine and also clone and promote the filesystem on the remote machine. It keeps the last 7 backups around. Take a look: #!/bin/bash # backup_zfssnap.sh, (c) 2007 ralf [dot] ramge [at] webde [dot] de […]

  • Not-as-simple perl script for ZFS snapshot auditing

    June 5, 2007

    Hi everyone, I’m back again with another perl script to hopefully be useful to a few of you. Firstly, the script: http://lee.hinmanphoto.com/files/zdiff.txt (formatting long scripts in wordpress’ crazy editor is a very long and arduous process, thus I’m just linking to the script in this case, if anyone knows of a better place to stick […]

  • Super-simple perl script for zfs snapshots

    June 1, 2007

    Here’s a simple script for creating daily zfs snapshots that get rotated every week (so you always have one for Mon, Tues, Wed, etc) #!/usr/bin/perl use warnings; use strict; my $zfsname = shift || die “Need a filesystem name\n”; my $day = `date`; $day =~ s/(Sun|Mon|Tue|Wed|Thu|Fri|Sat)[\S\s]+/$1/gi; my $snapname = “$zfsname\@$day”; my $exist = system(“zfs list […]

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org