I’ve spent the last week or so writing a customer emulation script for the QA group here to test some of our archiving products. If you’re unfamiliar with PHFOS/CIOSim, take a look here. In short, PHFOS/CIOSim is a small multi-threaded program that randomly selects files in a given directory to open and hold open. I […]
[UPDATE 10/30/07]: In the below post, use the link to the text file to get the latest version, I can’t edit the actual text on the page every time I update the script. The most up-to-date script can be found here. Just a small update, you *can* actually use more than ~20 threads when using […]
[UPDATE 10/29/07]: You can now use phfos with lots more threads, read this post It’s quick, it’s dirty, but here it is “PHFOS” (Note to self: get better at naming scripts). So here’s what it does. Basically, you specify a directory with some kind of files in it, the script then spawns <n> threads that […]
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 […]
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 […]