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

Re: Optimum partition sizes for RH 5.0 on 1.6G drive



Patrick Hays wrote:
> 

<snip>

> I have a trusty old 1.6G drive and partitioned it:
> 
> swap       100    (I have 64 MB physical memory)
> /          80
> /usr       600
> /home      200
> /usr/local 200
> /usr/src   200
> /tmp       200
> 
> I installed RH5.0 lock, stock and barrel (minus CD 2) and intend to do
> g++ and Tcl/Tk work on it.
> 
> Is my partitioning nuts, reasonable, brilliant?  I'd like, if necessary,
> to fix it now while I don't have much invested.
> 

Some guidelines from Solaris, & some other stuff to think about...

swap space: no more than 3x your physical memory...
/ partition - I usually give about 100M...  the stuff under /var
	has all your messges, logs, etc, & can outgrow the usual
	default 50M or so...
/usr - probably 75% of your installed software will go here
	- the other 75% will probably be split between /usr/local
		and /opt
/tmp - use the same rule as for swap....
/home - user accounts usually go here...  If you're the only user,
	200M is probably more than enough...  If you have
	multiple accounts, try to give about 50M per account
	(some will use, most won't)
/usr/src - your surce trees may or may not go here...  RedHat
	usually puts SRPMS under usr/src/redhat/SRPMS


here's a copy of my own "df -k", but note I only have a 1.2G drive,
	and I'm beginning to run out of space...  I felt that it
	would be easier to have a single large partition than to have
	to worry about maybe running out of space...  someday, when
	I add more HD, I will just mount it under a directory
	somewhere....

/dev/hdb2            1129511  902901   168247     84%   /
/dev/hda1             717472  468592   248880     65%   /dosc
/dev/hda5             866608  383440   483168     44%   /dosd
heera:/grad1         1952573  938732   818591     53%   /grad1
heera:/staff1        1952573 1585686   171637     90%   /staff1
athena:/             1180343  572753   546606     51%   /athena
192.168.68.2:/export  404430  203981   179553     53%   /import
/dev/sbpcd             28476   28476        0    100%   /cdrom
192.168.68.2:/cdrom0  314638  314638        0    100%   /cdrom1
192.168.68.2:/cdrom1  571250  571250        0    100%   /cdrom2
192.168.68.2:/cdrom2  649264  649264        0    100%   /cdrom3
192.168.68.2:/cdrom3   55780   55780        0    100%   /cdrom4
192.168.68.2:/cdrom4  593990  593990        0    100%   /cdrom5
192.168.68.2:/cdrom5  624626  624626        0    100%   /cdrom6


results of a "du -s" run from the / partition...  I imagine
	I'm approximately typical.... note, I left out the remotely
	mounted machines, except for the import directory which
	I use quite often...  It is a common network drive on
	both the LINUX, and Windoze sides of this machine...

51      TT_DB
3787    bin
550     boot
40      dev
468608  dosc
383456  dosd
1424    etc
31268   home
203981  import
5577    lib
3       mnt
22747   mud
1       net
224218  opt
0       proc
7351    root
1893    sbin
35      tmp
589371  usr
13991   var



-- 
tomii siu edu
tom engr siu edu
tburkeii aol com

Tom Burke
2520 New Era Rd #19
Murphysboro, IL 62966
(618) 549-3188

http://members.aol.com/tburkeii/index.html



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