Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux File Server with (2) 40 Gig - Raid 1 Drives - {Partition Help}

Status
Not open for further replies.

Vince0000

MIS
May 30, 2002
46
CA
Hi Everyone,

I want to setup a Linux Server running Samba with (2) 40 Gig drives that are going to be running a software raid level 1 for mirroring.

What Partition setup would you recommend? From what I've read this is possibly a solution :

/boot -- 100 meg
/ -- 200 meg
/swap -- 768 meg (Machine has 256 meg of Ram)
/var -- 1000 meg
/home -- Fill the rest of the drives...

Also, if you could give me some guidance on setting the raid up in the RH9 install... i'll google around for help with that if you just have a partition recommendation also.

Thanks in advance!
Vince
 
I usually add in a /tmp drive of 512 (since I do a lot of testing etc) and I have a 1000 for /var/log/

as for setting up raid, if you use druid it has the option of a software raid.
 
you are going to get tripped up with not enough space for /usr and /usr/src if you ever need to recompile your kernel.

/usr and /usr/src will be drawing from space you allocated from /, which means that you'll be SOL.

I would allocate 500MB-1.5GB, particularly if you are partitioning for something like RedHat which over-uses the /usr partition for a wide array of system libs, shared docs, and other baggage.

Otherwise, I would second the recommendation to make a distinct /tmp partition. This is a good security/system resources practice. Otherwise you could end up filling the / partition by accidentally lobbing something large into /tmp.

I presume you know that no physical directory called /swap will be created....


"Surfinbox Shares" - A fundraising program that builds revenue from dialup Internet users.
 
So I'm looking at this for now then correct...

/boot -- 250 meg
/ -- 250 meg
/swap -- 768 meg
/var -- 1000 meg
/usr -- 1500 meg
/home -- rest of drive

Also, I'm now thinking that I want to do a small 4 gig or so IDE drive with my boot and root partitions or something and then put the /home, /usr, /var etc on the 2 - 40 gig drives setup with the raid1 array would that work?

Thanks,
Vince
 
If you're going to be running mail, fax, or virus scanning services, I'd alot more to var, log files tend to grow very quickly. Honestly, I tend to give at least 10gb, but if you have the spare time to check for free space a couple times a week, then you don't need it that large, you can purge the files.

Matt J.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top