I want to setup a debian server mainly used as data storage.
I have 4 devices:
- /dev/sda (160GB) – installed debian on it
- /dev/sdb, /dev/sdc, /dev/sdd (all 500GB) – created a raid5 array with it
Now I am not sure, how to go on.
Is it usefull to create a LVM on the raid5 /dev/md0?
How can I do this? Is there a good HowTo?
Or can I just create filesystem on the raid5 and create different partitions?
Best Answer
Create the mdadm raid5 array. Create a volume group (I used the complete array). Create LVM2 logical volumes at whatever size you deem necessary.
I used redhat's documentation when building my 8TB NAS on Debian Lenny.
http://www.redhat.com/magazine/009jul05/features/lvm2/