Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

From: Alex Zbyslaw (xfb52_at_dial.pipex.com)
Date: 07/07/05

  • Next message: M. Goodell: "Re: imap-uw / squirrellmail / mysql / postfix / postfixadmin question"
    Date: Thu, 07 Jul 2005 18:27:42 +0100
    To: Shark Wang <sharkwang@gmail.com>
    
    

    Shark Wang wrote:

    >I put '/boot' for an individual partition just for 1023 cylinder
    >story, although FreeBSD did
    >not need this action !
    >
    >the following is my partitions layout, pls help to do some check:
    >
    >ad0s1d /boot -> 30M
    >ad0s1a / -> 512M
    >ad0s1b swap -> 512M
    >ad0s1e /usr -> 6144M
    >ad0s1f /var -> 512M
    >ad0s1g /home -> 2017M
    >ad0s1h /tmp -> 512M
    >
    >But after I finished my installation and reboot FreeBSD, it will not
    >load sccuessfully!
    >
    >
    Do the install again but do not make /boot a partition. 1Gb is more
    than ample for / and /boot. Given that you have /tmp separately, 256Mb
    would do. I, at least, never used that much even.

    /dev/ad12s1a 981527 122405 780600 14% /

    1Gb just because it's peanuts to a 200Gb disk, and I don't bother with
    /tmp separately.

    For all the talk of the 1024 cylinder problem, I have never encountered
    it. I suspect that while it was true of older hardware, that it just
    isn't the case any more. If this is a problem, then it is just the /
    (root) partition that needs to start inside 1024 cylinders.

    Apart from that, my opinion is that having swap = 2.5 * memory is still
    a reasonable rule of thumb. You may never need it but a) it's a tiny
    fraction of your disk and b) if you expand your memory in the future you
    still have enough swap. You must have at least as much swap as physical
    memory. With 1Gb I put in 4Gb of swap, just because it's peanuts
    compared to a 200Gb disk. If I double my memory, I still have plenty of
    swap.

    /var depends on what this machine does. If it is a mailserver then 512M
    is inadequate, for a home machine it's probably plenty. If you ever
    need a crash dump from the kernel (and you may *never* need one, but if
    you do...) then you need as much free disk space as you have physical
    memory.

    There was a recent thread about disk sizing (maybe a month ago?) so try
    searching the archive.

    I also found this useful when clarifying my thoughts about how to
    partition a new disk:

    http://keramida.serverhive.com/weblog/archives/2004-10-26/daemonizing-a-new-disk

    --Alex

    _______________________________________________
    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: M. Goodell: "Re: imap-uw / squirrellmail / mysql / postfix / postfixadmin question"

    Relevant Pages

    • Re: mdconfig unable to allocate memory
      ... > one ensure that all the memory is being used for suitable file caching ... > disk, really; I assumed that it would immediately start dumping ... > anything I put in it, into swap, causing disk access. ... file system with 4GB of RAM without a problem, ...
      (freebsd-current)
    • Re: Hibernation woes
      ... this) or a swap PARTITION needs to be created from disk space ... which I take to mean unformatted free physical unused disk space just ... swap "file" creation and change. ... Unfortunately this is a dual boot machine (XP and Ubuntu) and will ...
      (Ubuntu)
    • Re: I HATE WINDOWS!
      ... stable and easily backed up system, how would you partition a headless ... considering a system with two or three hard drives. ... Higher data rates are achieved at the beginning of the disk. ... Swap would probably be next if you have one drive. ...
      (alt.os.linux)
    • [PATCH 0/4] compcache: compressed in-memory swapping
      ... It creates RAM based block devices which can be used as swap disks. ... Pages swapped to this device are compressed and stored in memory itself. ... these suffer from wear-leveling issues when used as swap disk ... exposes *bottlenecks* in ramzswap code due to which this gain ...
      (Linux-Kernel)
    • Re: swap_pager complaints but not using swap
      ... using a whole 96K of swap. ... I don't see any disk related ... Traditionally swap used the b partition. ... virtual memory support. ...
      (freebsd-questions)