On 10/28/11 9:57 AM, Eric Shubert wrote:
On 10/27/2011 05:52 PM, Casey wrote:
Ok, ok...you sold me on it. Time to re-install. 3rd time is a charm,
right? Now I just need to figure out my partition scheme for the array
using the QMT5-ISO install. Could someone give me a couple of
partitioning scheme recommendations for this back-end server I'm trying
to setup? Is 150MB still the size recommendation for one of the
unmounted partitions for DRBD?
I'm not so familiar with that. Do you mean 150G?
Well, I've been trying to follow Jake's QMT ISP Array videos and he is
creating a 150MB unmounted partition for DRBD to use to temporarily
store data that has been replicated before it is written to the much
larger partition that is shared between the backend hosts.
Should /boot be on its own partition?
I would. Grub has limitations that this works around, and lets you do
things with / that you can't do with /boot, such as using ext4 for
example.
Ok, I'll setup /boot on its own parition.
How big should I make the swap partition? I have 6gigs of RAM in this
machine...
I don't use a swap partition any more. Use a swap file, which performs
just as well, and is more flexible. You can easily change the size of
a swap file to your needs, on the fly. No swap is best. I would create
a 512M swap file (not partition) just as a safety net. Use
"vm.swappiness = 0" in /etc/sysctl.conf file to minimize swap use.
Good to know. Swap partitions have always been a bit of a gray area I
didn't know much about. I'll follow your recommendation on this.
I'm opting to do the 5 drive RAID-10, using the 5th as a hotspare. Just
need a little guidance, so I can set this thing up the right way from
the beginning of it all.
I'd set up all drives with 3 raid partitions:
100M for md0, raid-1, 4 active one hot, /boot
8G for md1, raid-1, 4 active one hot, /
remainder md2, raid-10, 4 active one hot, /mnt/stor (or whatever you
like to call your storage area).
Thats sorta what I did last night, except I didn't put /boot on its own
partition, which I'll have to do.
With anaconda, you should create the raid partitions on all drives
first (3 raid partitions, the same on each drive), then create each
raid array using one partition from each drive. You'll want the hot
spare partition of each array to be on the same drive, but I'm not
sure if anaconda lets you do this or not. If anaconda can't handle the
configuration you want (it won't for example let you create a degraded
array), you'll need to create the partitions and arrays manually
first, then install the os.
That's all I have right now. Let us know how you progress.
At this point I have a decent understanding of what needs to be done, I
just want to make sure I'm not leaving anything out, and I don't know
about that 150MB partition and how that plays into things. How are you
doing things Eric? What do you use to handle the backend fs? DRBD?
Thanks again everyone!
Casey
Smile Global Technical Support
Submit or check trouble tickets http://billing.smileglobal.com
www.smileglobal.com <http://www.smileglobal.com>