Other Hardware

Wiki Resources

Sponsored Links

RAID can be enabled in the -able family of Unslung-2.x firmware or in the -standard family of Unslung 3.x firmware.

Before attempting this, be sure you know how RAID works under Linux.

In fact, DO NOT ATTEMPT THIS unless you are *ABSOLUTELY* sure you know what youre doing. You can LOSE DATA if you are not careful when constructing the RAID.

If you don't understand the commands listed below DO NOT ATTEMPT THIS.

Build the Unslung 3.x or later firmware using OE.

Download the mdadm ipk.

Format 2 identical disks using the NSLU2 web interface

Unsling

Disable USB_Detect, and possibly rc.bootbin using diversion scripts.

Using the BusyBox fdisk (call it like "/opt/bin/busybox fdisk /dev/sdx?), change the partition type to fd (raid autodetect)

ipkg install kernel-module-md kernel-module-raid1 (or raid0 if you prefer.) This will require access to the ipk directory created from the oe build, and a change to /etc/ipkg.conf to make it accessable. Expect depmod errors when installing these packages.

mknod /dev/md0 b 9 0

Unmount the drives that will form the raid array (e.g. umount /dev/sda)