Re: Partition sizes

From: Jerry McAllister (jerrymc_at_clunix.cl.msu.edu)
Date: 11/26/04

  • Next message: Parv: "Re: Can I use mtools to access usb flash memory?"
    To: trey@fastmail.fm (Trey Sizemore)
    Date: Fri, 26 Nov 2004 01:07:45 -0500 (EST)
    
    

    >
    > I'll be installing FBSD 5.3 on an 80GB hard drive (machine has 512MB of
    > RAM) and was considering the following partitions:
    >
    > /
    > /usr
    > /usr/local
    > /var
    > /var/tmp
    > /tmp
    > /home
    > SWAP

    For that big a main disk, my likely division would be something like:

       / 512 MB
       swap 1.25 GB
       /tmp 512 MB
       /usr 2 GB
       /var 4 GB
       /home all remaining disk - probably be about 66 GB before newfsing.

    Then, I wouldn't have a separate /usr/local or /var/tmp partitions.
    I would use /tmp for tmp stuff and since /var is big, not worry about
    the few things that want to assume tmp is in var.
    For /usr/local, /usr/src and /usr/ports, I would copy them
    in to home as /home/usr.local /home/usr.src and /home/usr.ports and
    then make sym links to them in /usr
    If that sounds confusing, check the archive. I and several others
    have posted detailed steps to do it several times over the last year
    or so.

    If you are going to do a database or something that will really
    eat up space in /var, then you might want to move some of that
    to /home in a similar manner. If you don't have any of that
    stuff, you might want to cut /var in half. If you install Apache
    (or another web server), this should accomodate that too. You would
    most likely be putting your document root in something that lives
    in /home - maybe in /usr/local (which is really /home/usr.local)
    or just in /home/some_user_id/www or whatever so since the big
    user of space is the web pages themselves, it will be using up the
    most space in /home too.

    Have fun,

    ////jerry

       
    >
    > I'm looking for some recommendations around what the partition sizes
    > should be assuming I'm allocating the entire disk to FreeBSD. It will
    > be a used as a desktop and not a server, but I'd be curious about the
    > sizing differences as I'll be setting up a similar machine as a
    > mail/FTP/web server.
    >
    > Thanks.
    >
    >
    > --=20
    > Cheers,
    > Trey
    > ---
    >
    > The most costly of all follies is to believe passionately in the
    > palpably
    > not true. It is the chief occupation of mankind.
    > -- H.L. Mencken=20
    >
    > 9:25pm up 3:13, 4 users, load average: 1.74, 0.80, 0.56=20
    > Linux salamander 2.6.8-20041025161453-default #1 Mon Oct 25 16:14:53 UTC
    > 2004 i686 i686 i386 GNU/Linux
    >
    > --=-rDwP+bTRGCl/yAYcEhar
    > Content-Type: application/pgp-signature; name=signature.asc
    > Content-Description: This is a digitally signed message part
    >
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v1.2.4 (GNU/Linux)
    >
    > iD8DBQBBppQ3EGwvX2++Pg0RAtwHAJoDnpXTy4CTn2Bxp2luxMCCUw+5FQCfbKyP
    > BSXJjHQkVM0Mf+PAB7rboEU=
    > =2g17
    > -----END PGP SIGNATURE-----
    >
    > --=-rDwP+bTRGCl/yAYcEhar--
    >
    >

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Parv: "Re: Can I use mtools to access usb flash memory?"

    Relevant Pages

    • Re: Best drive configuration?
      ... > I'm moving drives between my PC, my server and my spares. ... To be used as a "hot pluggable" disk? ... Presume you know that having swap on different hds only "gains" you ... Partitions will depend on how you use the PC -- less critical here ...
      (microsoft.public.windowsxp.setup_deployment)
    • Re: Best drive configuration?
      ... > I'm moving drives between my PC, my server and my spares. ... To be used as a "hot pluggable" disk? ... Presume you know that having swap on different hds only "gains" you ... Partitions will depend on how you use the PC -- less critical here ...
      (comp.os.linux.setup)
    • Re: Configuring RAID1 after install
      ... Shouldn't I create the partitions on the second disk I'm adding to be ... wanted to divide things up so you had swap, ... and then create a copy of the new layout on it ...
      (Ubuntu)
    • Re: small hdd install
      ... That sounds like plenty of swap for those services unless you plan to ... On my home gateway, I've got a mail server, news ... If the auto-assign is just setting up the first disk, ... auto-create the usual partitions on the first disk, ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Increase 2003 boot drive
      ... Fragmentation is not a valid reason. ... If your swap file is growing dynamically you didn't design the system ... >> spreading the page file over multiple partitions increases performance. ... > disk is easier to defrag. ...
      (microsoft.public.windows.server.general)