[comp.unix.xenix] Building Xenix 2.2.1 and partitions...

mitchell@cadovax.UUCP (Mitchell Lerner) (08/03/88)

I recently installed a MAXTOR 1085 HD in my Wyse AT and installed SCO Xenix 
2.2.1 on it.  After allocating about 4MB for the swap partition, I was 
rather let down to find that there were only 130,028 blocks available
for the system (28 bad tracks ~~1.9MB + 4MB swap area == ~~6MB).

df -v<ret>
partition	blocks		used	free	%used
/root		43330		16778	26552	39%
/u		86698		53430	66268	62%

Why did I get only ~~71 usable MB out of my 85MB MAXTOR?

I choose to have a separate /u partition and I choose the maximum
size for it which got me 86698 blocks.  I somehow wanted more of the
disk for the /u partition because that is where all of the 
databases for the accounting software goes.  The system seemed to 
decide for me that the root partition needed 43330 block.  20
meg for a vanilla Xenix root with no development system???
The root partition is only 39% used and I don't see where it's
gonna grow *that* much more.  I could see an extra 5 meg in the root just
for saftey's sake and such, but 12???

Is there a way that I can install Xenix so that the /u partition
gets more of the disk (I'm sure there must be)?

Is there a way (short of reinstalling the whole system) that I can make
the /u partition bigger?



I know that this stuff is elementry but thanks!
-- 
Mitchell Lerner -- UUCP:  {ucbvax,ihnp4,decvax}!trwrb!cadovax!mitchell
	Don't speak to him of your heartache, for he is speaking.
	He feels the touch of an ants foot.  If a stone moves under the 
	water he knows it.

davidsen@steinmetz.ge.com (William E. Davidsen Jr) (08/04/88)

What you want is a custom installation with block by block control over
the allocation. Therefore when installing and the question "do you
require block by block control over formatting" comes up, say yes.

Some warning about having too small: things which are in the root
partition (usually) are /tmp (and /usr/tmp), and /spool, for mail, cron
jobs, uucp, line printer, etc. If you run out of space on the root you
will find that (a) your applications will probably stop working, (b)
mail will not send, (c) uucp input will be lost, (d) printer output will
be lost, and (e) your cron jobs may not work.

If all this sounds pretty grim, it is. I would consider carefully before
making the root much smaller, but you certainly can do it.
-- 
	bill davidsen		(wedu@ge-crd.arpa)
  {uunet | philabs | seismo}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me

gerard@tscs.UUCP (Stephen M. Gerard) (08/05/88)

In article <2172@cadovax.UUCP> mitchell@cadovax.UUCP (Mitchell Lerner) writes:
>I recently installed a MAXTOR 1085 HD in my Wyse AT and installed SCO Xenix 
>
>Why did I get only ~~71 usable MB out of my 85MB MAXTOR?

The Maxtor 1085 has the following geometry:
Cylinders: 1024
R/W Heads:    8

To calculate the usable capacity of a disk use the following formula:

UsableCapacity = Cylinders * Heads * SectorSize * SectorsPerTrack

So:

71,303,168 = 1024 * 8 * 512 * 17

71,303,168 Bytes = 68.00 Megabytes

CAVEAT EMPTOR:
-------------

1 Megabyte = 1,048,576 bytes  NOT  1,000,000 bytes

Most vendors don't appear to know the difference!