[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: disk partitioning & partition size allocations



David:  replying to you and list in event you've given up on us...


on Mon, Jan 27, 2003 at 09:58:38PM -0800, David W. Jensen (amblest8@yahoo.com) wrote:
> I have been a telecommunications technician for many years & worked on
> the perifery of the data world over many years. I have got about 8
> books on Linux and have loosely studied this OS for about 3 years. 
>    But I am certainly a newbie.    So far I have not found a good
> general reference about partition sizes. The following table shows what
> hardware I have, disks in use, and planned layout for HD-2 (hdb*).
> I am concerned about /var in particular ... but will welcome any ideas.
>    The purpose of the Linux box is to learn Linux. I want to be able to
> practice my very rusty programing skills, in the future set up a very
> small LAN, and be able to do all the admin. stuff from this main box.
>    Will the "programming package" give me what I need or should I go
> into "dselect" & pick tasks.  ( I guess that would help my learning
> curve.)   Later on, I want to get into HA ( high availablity ) stuff
> with a 2nd box being a mirrow of this one.
> 

> RE-partitioning of 2nd HARD DISK ( IDE ) = 4.102 GB drive on DELL P-200
> MMX  ( 92 MB RAM )

4GB is a bit on the thin side for Debian, though it's definitely doable.
My current laptop runs in 4 GiB.

> #############################################################################
> All FILEs are of the ext2fs type.
>     This will be a multi-boot machine, but the first HD is for M$
> Windows only at this date.
>     The 2nd HD is for multiple Linux distros, Debian = first 2+ GB and
> any other L OS will be on whats left.
> (( NOTE: First HARD DR. = MicroCrap  98  //  2.1 MB.  //  FAT 32 ))
> #############################################################################
> Using PARTITION MAGIC program to do 2ND ATTEMPT partitioning.
> SUN 2003-01-26    re-design choices, which have been put on the HD &
> checked for bad blocks.
>         Hope to install Debian V 2.1 ( Slink & a half ) from CD-rom
> that I have on hand.
> PARTITION TYPES   P = primary         E = extended        L = logical
> #   TYPE MB     FILE    PURPOSE or FILE NAME
>  1  P   643    83      D. kernel, Work Station, develope, Networking.

I'm not sure what you're doing here.  A basic root partition need only
be 64-96 MiB.

>  2  P   128    82      SWAP
>  3  E   for logical partitions - - see below starting w/ # 5.
>  4  P  1890    83      TurboLinux or SuSE or whatever I play w/ next.
With only 4GB, and since you're already starting with Debian, don't do
that.  You've already chosen your last GNU/Linux distro ;-)

>  5  L   643    83      debian/usr
>  6  L    31    83      debian/tmp
>  7  L   300    83      debian/var

Almost certainly too small.  Your apt package archive will want more
space.

>  8  L   100    83      debian/var/spool/mail

Not necessary unless you're running a server.

>  9  L   327    83      debian/home
> 10 L     64    83      debian/usr/local
>         1896+   total
> ###################################################################
> END
> 301887 = Linux registration. // 187256 = hardware # Dell P-200 MMX box.
>   Thanking youse guys in advance for any help.   peace.!  David.

In general, I suggest in order the following partitions:  /, swap, /tmp,
/boot, /usr, /var, /home, /usr/local

Partitioning can be a hassle, but it gives you additional control, see
my general partitioning guide:

    http://kmself.home.netcom.com/Linux/FAQs/partition.html


My own current configuration for a similar system (P-133/64MB/4GB):

    [root@id:root]# df -h; fdisk -l /dev/hda; mount
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/hda2              80M   49M   27M  64% /
    /dev/hda1              27M  8.1M   17M  32% /boot
    /dev/hda5             126M  4.2M  115M   4% /tmp
    /dev/hda6             2.0G  1.3G  821M  60% /usr
    /dev/hda7             772M  586M  186M  76% /var
    /dev/hda8             717M  598M  118M  84% /home

    Disk /dev/hda: 128 heads, 63 sectors, 993 cylinders
    Units = cylinders of 8064 * 512 bytes

       Device Boot    Start       End    Blocks   Id  System
    /dev/hda1             1         7     28192+  83  Linux
    /dev/hda2   *         8        28     84672   83  Linux
    /dev/hda3            29        61    133056   82  Linux swap
    /dev/hda4            62       993   3757824    5  Extended
    /dev/hda5            62        94    133024+  83  Linux
    /dev/hda6            95       615   2100640+  83  Linux
    /dev/hda7           616       811    790240+  83  Linux
    /dev/hda8           812       993    733792+  83  Linux

    /dev/hda2 on / type ext3,ext2 (rw,errors=remount-ro)
    proc on /proc type proc (rw)
    devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    /dev/hda1 on /boot type ext3 (ro,nosuid,nodev)
    /dev/hda5 on /tmp type ext3 (rw,nosuid,nodev)
    /dev/hda6 on /usr type reiserfs (rw,nodev)
    /dev/hda7 on /var type reiserfs (rw,nosuid,nodev)
    /dev/hda8 on /home type reiserfs (rw,nosuid,nodev)


Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   A guide to GNU/Linux partitioning:
     http://kmself.home.netcom.com/Linux/FAQs/partition.html



Reply to: