Good UNIX structure for install

Networking/Security Forums -> UNIX // GNU/Linux

Author: unixnewbie PostPosted: Sun May 26, 2002 2:31 am    Post subject: Good UNIX structure for install
    ----
Hi

Ive installed some 'user friendly' distributions recently but they dont let you customise the partitions as much, hence i have two questions:


1-What is a good structure to use for any distro
i.e ive read that 1/5-2x the amount of memory for swap file

If someone could suggest what the minimum is needed for

/bin
/tmp
/var

So I can then assign as much as possible to

/home
/root


2-Is it possible to resize the partitions between say
/root and /home without affecting the data stored on them


Thanks

Author: Eater PostPosted: Sat Jun 01, 2002 1:42 pm    Post subject:
    ----
Most distros at least give you the option to manually partition your drive. I know Red Hat has 'Disk Druid'. Many just allow you to use fdisk.

1.5 X memory is plenty for swap, unless you really short on memory (less than, say, 32MB) then go 2X.

Partitioning schemes should be handled based on your experience. New users usually do best with one, big assed partition. I keep a separate /home partition, so I can re-install the system without losing my personal files. Looks like this:

$ df -h
Filesystem Size Used Avail Use% Mounted on
//[b][/b]dev[b][/b]/hda1 9.5G 1.8G 7.1G 21% /
//[b][/b]dev[b][/b]/hda2 26G 16G 9.5G 62% /home

I've been pretty happy with this configuration for the past few years. I wouldn't suggest messing with splitting up the other directories unless you have a specific reason to. The original purpose of doing so is to mount *different disks* to these directories, giving either additional storage, or redundancy.ie, mounting an NFS share to a backup directory would give you a convenient backup solution.

Salut,
Eater

Author: b4rtm4nLocation: Bi Mon Sci Fi Con PostPosted: Sat Jun 01, 2002 10:11 pm    Post subject:
    ----
I was curious to see who would reply to this thread first and what their answer would be.

Glad to see it matches my primary partioning system.

If I'm setting up a sendmail server i also tend to add a big fecker of a /var for mail queue files (I had a bad experience ONCE with someone sending a 120mb word doc to 250 people).

Cheers



Networking/Security Forums -> UNIX // GNU/Linux


output generated using printer-friendly topic mod, All times are GMT + 2 Hours

Page 1 of 1

Powered by phpBB 2.0.x © 2001 phpBB Group