[TriLUG] Ubuntu FakeRAID or Software

Alan Porter porter at trilug.org
Fri Nov 5 10:40:18 EDT 2010


By the way, if you want to experiment with RAID without
setting up a bunch of disks and waiting forever for them
to sync, you can always create a few "sparse files" with
"dd" and then use 'losetup' to create block devices that
use the files as their store.

Here's one of many tutorials on the subject.

http://spin.atomicobject.com/2010/08/03/using-sparse-files-as-disks-for-networked-raid



The relevent commands (from another tutorial):

dd if=/dev/zero of=raid-0 bs=1M count=1024
dd if=/dev/zero of=raid-1 bs=1M count=1024
dd if=/dev/zero of=raid-2 bs=1M count=1024
losetup /dev/loop0 raid-0
losetup /dev/loop1 raid-1
losetup /dev/loop2 raid-2
mdadm --create --verbose /dev/md0 -l5 -n3 /dev/loop0 /dev/loop1 /dev/loop2


It's been a while... maybe we should plan a RAID / LVM
talk for the group.  Anyone interested in attending?
Anyone interested in presenting?

Anyone?  Anyone?  Bueller?

Alan







.



More information about the TriLUG mailing list