Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disk space requirement?

Status
Not open for further replies.

jkm

Technical User
Feb 13, 2001
4
US
hi,
i am working on sun enterprise 420R machine,
it has 2 disks each(16gb) and ram 2gb.
when installing solaris 2.7, what amount of disk space should be alloted to /, /usr, swap ,/opt, /var?

can i go only with following slices / swap and /opt.

thx
 
There is no strange forward answer to this... but there are some general rules to follow:

First here is an example of my file system sizes :

# df -k
Filesystem kbytes used avail capacity Mounted on

/dev/dsk/c0t0d0s0 490097 58646 382442 14% /
/dev/dsk/c0t0d0s3 1986439 704967 1221879 37% /usr
/dev/dsk/c0t0d0s4 1490275 234600 1196064 17% /var
/dev/dsk/c0t0d0s5 1490275 596651 834013 42% /opt
swap 2312024 8 2312016 1% /tmp

Each install really depends on how much disk is needed for you apps and how much can you spare for the O.S.

root or '/' -> is general failry static and should be at least 200mbs
/usr -> should be no less than 200mbs of free space after everything is installed. This should allow room to upgrade to Solaris 8... I like to have about 1gb or more if possible!!
/var -> is one of the most dymanic file systems, so leave room for growth. This mostly contains logs, printer conf files, mail conf files. Eg. as you add more printers this FS will grow.
/opt -> this really depends on how much software your need to install now and later on. Some people also use /usr/local/ to install software as well.
Swap -> there is mixed feelings on this one. some say swap should be double the amount of physical memory. But after Solaris 2.6 it now only needs to be 20% of your physical memory. having more swap is not a bad thing!


I hope this helps!
 
re swap
as pbouchie said, swap used to specified to be at least the size of your RAM preffered up to double the size.
With the size of RAM available now you could get by without swap space IF you are certain the size of your RAM is big enough so that nothing will ever get swapped out.

If you have plenty of RAM set swap to the same size (as the RAM) and you should not get into trouble, even if you add extra applications later.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top