This wasnt incredibly difficult to figure out, but if you have a Debian etch system with iscsi-target compiled from source (as I regularly do) getting both open-iscsi and iscsi-target to play nice together takes a small amount of fiddling.
Archive for the ‘HowTo’ Category
iscsi-target, open-iscsi and Debian
Wednesday, July 16th, 2008Coraid Odyssey: Part 4 (ethernet bonding)
Thursday, April 10th, 2008On the plate today is getting ethernet interface bonding working to provide load balancing and failover on the dual onboard gigabit interfaces on our home-built Coraid.
This actually turns out to be much easier than expected…
Coraid Odyssey: Part 3 (performance testing)
Tuesday, April 8th, 2008Performance and failure testing are next up in building our kickin’ iSCSI/AoE device.
The Debian Etch installer supports building and installing onto software RAID arrays. Because of that…
Coraid Odyssey: Part 2 (sata_mv hotplug)
Tuesday, April 1st, 2008Todays adventure with building a SAN on the cheap involves attempting to get hotplug working and changing device mappings.
First of all, hotplug. I have discovered that…
Coraid Odyssey: Part 1 (building the chassis)
Friday, March 28th, 2008AoE (ATA over Ethernet) and iSCSI are the hot new things. Xen is the hot new thing. I like using hot new things as long as they can be made rock solid.
There happens to be a company (Coraid) that makes a turnkey AoE device. Its far cheaper than a true fibre channel SAN or something similar. Perfect for setting up a SAN over Ethernet device that can serve Xen domU filesystems out to “thin” dom0′s on the network.
Well that’s all well and good but you see I’m always looking to save a buck…
Clear a Cisco 1605 router password
Sunday, March 2nd, 2008I recently had need to wipe the passwords on a Cisco 1605 router and thought I’d document the process here. It’s really pretty easy…
DIY silent hard drive mounting
Friday, January 18th, 2008I recently upgraded my lowly socket 939 workstation to a mini-itx motherboard with a socket AM2 dual core CPU and integrated GPU. I’ve always tried to minimize noise in my workstations since I have a great pair of Grado SR60 headphones and extraneous noise bothers me.
Now that the noisy GPU cooling fan is gone (yay!) I’ve begun to notice the noise that my dual SATA hard drives generate. I got sufficiently motivated last night to figure out a way to silence them. What I came up with was a “hard drive suspension mechanism” of sorts that cost, oh, probably about $0.13. Best of all, the drives generate ZERO noise from vibration now.
Click here to see some pics. My wife’s laptop is now actually louder than my dual core workstation :-)
Convert firmware images from .bin to .trx
Sunday, November 4th, 2007You may on occasion have a need to convert .bin firmware images such as those used to flash linksys based devices into .trx formatted images that can be accepted by OpenWRT. Its actually quite easy to do:
dd if=image.bin of=image.trx bs=32 skip=1
That will strip the first 32 bytes off the image, thus making it a valid .trx formatted firmware image file. Neat, huh?
Fahrenheit to Celcius
Thursday, October 11th, 2007I am constantly forgetting this and having to look it up so here are the equations to convert each unit of measure to the other:
C = (5/9)(F-32)
F = (9/5)C+32
Tar and Restore Files Over SSH
Thursday, August 16th, 2007This will be pretty obvious to seasoned *nix admins but it’s possible to tar/gz/bzip files over an ssh connection onto a remote file system. Read on to find out how…