Hey all,
My old server consists of a /root + swap part on a 40gb ide drive and a 6 hdd raid5 array.
My new server will consist of
3x750gb Sata Raid5
2x320gb Sata Raid1
Promise SATA300TX4 raid controller (+ onboard raid)
Asus M2n
Anyhoo im confused slightly about LVM's. ATM im fiddling with debain inside a virtual PC and i can set it up but im finding it hard to see the benefits.
So if someone could in a nutshell explain to me why i want LVM that would be great. Most the webpages i have seen have been quite vague.
Anyway this is my proposed setup
Sda and sdb are the 320gb drives, cde are 750's
/dev/sda1 319gb in size, raid partition
/dev/sda2 100mb in size, raid partition
/dev/sda3 900mb in size, swap partition
/dev/sdb1 319gb in size, raid partition
/dev/sdb2 100mb in size, raid partition
/dev/sdb3 900mb in size, swap partition
MD0 consists of /dev/sda1 /dev/sdb1 and contains LVM group vgosraid
MD1 consists of /dev/sda2 /dev/sdb2 and contains the /boot partition (AFAIK Bootloaders dont understand LVM so that will mean i need a sep part)
In the group vgosraid i will have the following lvm's
15gb /
200gb /home
Actually i kind of can understand the advantage of LVM's now, as i can dynamically expand the partitions like /home /usr e.t.c. Would i want to have seperate lvm's for /usr e.t.c. or should i follow KISS and just use a / and a /home as its just for a basic fileserver with a torrent client. If i dont make it complicated i wont need to expand things as often
the other 3 disks will be full raid partitions, in a raid5 array.
will contain a lvm group with 3 devices. one for Music, One For Downloads and One for Videos.
So in that situation when a device needs more space i can just expand it?
A few final Questions
Do i have to worry about Phys Extents?
What should i set the chunksise for the array if most files are >200mb but many files will also be <10mb
Will that controller work with smartd? my other IDE controllers dont let my current server grab smart information.
Any other things i need to be specific about?
Thanks