[comp.sys.sun] Questions about formatting and partitioning disks on Suns

dinah@shell.UUCP (Dinah Anderson) (04/07/89)

>  Is the b: partition always the swap
>>partition?  Is this a Unix convention?  How large should it be?  Mine is
>18 Mbytes.  Is there a rule of thumb for estimating the size of the swap
>partition?

I don't think it has to be the b partition, but for consistency with the
way Suninstall/setup works it is a good idea. Just make sure it does not
start on cylinder 0 of a disk or the system will swap right on the label.

Sun has told us that a minimum of 2*size of memory. Swap needs to be as
large as the total number of processes you plan to run at any given time.
For instance, we run large seismic analysis programs and have 100 Mb swap
files on 16 Mb systems.

About your filesystem size questions, I know unix uses some for inodes,
etc., but since I don't know the details, I'll let someone else answer it.
I know that once I was unpleasantly surprised when I planned on a 512 MB
file systems size and calculated what that should be in terms of sectors
and cylinders on my disk. I figured that 512 MB = 512 * 1024 * 1024 =
536,870,912 bytes. When I made the file system, I found out it was not 512
Mb (from the output of newfs). Working backwards, I found that Sun used
512 Mb = 512 * 1000 * 1000, which makes since to me since I am a
mechanical engineer, but we all found it confusing.

Dinah Anderson 
Shell Oil Company, Information Center (713) 795-3287
...!{sun,psuvax,soma,rice,ut-sally,ihnp4}!shell!dinah