Partition Question

Robert Dege rdege at cse.Buffalo.EDU
Thu Jun 27 10:55:59 EDT 2002


I think partitioning should be dependant upon the use of the machine.
This way if the service runs rabid, only the partition will fill to
capacity, leaving the OS in a usuable, and recoverable state.  Also,
you're dedicating a set space for that service, which helps to prevent
other things from consuming the free space (rpm installs, user
comsumption, etc).

ie:  If you're building a mail server, then the mail spool should be on a
separate partition.  An NFS File Server should have the shared location on
a separate partition.  So on & so forth.

I've had a few rouge instances where a partition has filled on our mail
server due to accumulating undeliverable messages that were 60MB in size.
Keeping the spool on a separate partition kept other services running, and
allowed me to fix the machine without rebooting the server, or going to
init 1.

Just my opinion.

-Rob

> you mean root directory on the linux box. I usually only make that about
> 500 MB. as long as var, and user are seperate.
>
> I usually do (os on one drive) 9gb scsi in this case:
>
> / 	500M
> /tmp 	500M
> /usr	2.5gb (MORE OR LESS DEPENDING ON WHAT YOU LOAD, I DON'T LOAD GUI) 4
> gb or so prob with gui
> /var	4.6 (rest on 9gb os drive) This is were user inboxes are on a mail
> server and log files go. My samba server is also mail so this is bigger
> on mine.
>
> The seperate drives for files.
> starting with /export
>
>
> On Thu, 2002-06-27 at 10:25, Carl Yost Jr. wrote:
> > that sounds easy enough, how big should I make the / directory then?
> >
> >
> >
> >
> > ---------- Original Message ----------------------------------
> > From: Justin Bennett <justin.bennett at dynabrade.com>
> > Reply-To: nflug at nflug.org
> > Date: 27 Jun 2002 10:30:53 -0400
> >
> > >This is the way I do it. I put all samba share data under /export
> > >(easier to keep track of for backups and such). I have:
> > >
> > >/export/home - user homes
> > >/export/proj - project area
> > >
> > >Plus some others.
> > >
> > >Under /export/proj i have project areas for say marketing, engineering,
> > >automotive, sales, mis. ect.
> > >
> > >the automotive and engineering are separate mount points (drives). If
> > >you set it up in a hierarchy like this, if say one of the other area in
> > >/export/proj, start getting to large (like sales) then we could replace
> > >the /export/proj/sales directory with a separate mount point of new
> > >drives.
> > >
> > >Plus all being under /export instead of just in root, I can tar up all
> > >export and get all user data, rather than trying to specify which
> > >directories since they're all in root.
> > >
> > >Just the way i do it.
> > >
> > >
> > >
> > >On Thu, 2002-06-27 at 10:01, Carl Yost Jr. wrote:
> > >> Sorry for all the questions guys. This is my first attempt at using Linux in production except for internet stuff. Right now I have a total of 34 gigs of space to partition on the server. Tomorrow I will be tossing in another 18 gigs so that will bring us up to say 52. Anyone have some good advice on what mounts to use and how big? this will be the samba server so no matter what I will use a separate mount for all the company data say /HGC and have everything in there, home directories and all our data. Any help would be greatly appreciated.
> > >>
> > >>
> > >> Carl Yost Jr.
> > >> IS Director
> > >> Hamister Group of Companies
> > >> (716) 881-4425
> > >>
> > >> --
> > >> This message has been scanned for viruses and
> > >> dangerous content by Dynabrade using Mailscanner,
> > >> and is believed to be clean.
> > >--
> > >-------------------------------------------
> > >Justin Bennett
> > >Red Hat (Linux) Certified Engineer
> > >Network Administrator
> > >Dynabrade Inc.
> > >8989 Sheridan Dr
> > >Clarence, NY 14031
> > >716-631-0100 ext 215
> > >
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by Dynabrade using Mailscanner,
> > and is believed to be clean.
> --
> -------------------------------------------
> Justin Bennett
> Red Hat (Linux) Certified Engineer
> Network Administrator
> Dynabrade Inc.
> 8989 Sheridan Dr
> Clarence, NY 14031
> 716-631-0100 ext 215
>



Dege

So Many Things in Life Would Be Really Funny
.... If They Weren't Happening To Me




More information about the nflug mailing list