Disk Partitions

From: Jonathan Williams (jonathw@shubertorg.com)
Date: Mon Dec 09 2002 - 12:32:42 EST


ES40s, Tru64 5.1 (patch 5) and 5.1a -- ES45s, Tru64, 5.1a
I'm trying to cleanup some things that the admin I replaced had done wrong (and
HP was very unhappy with ME...even though I told them the HE did it!!).
Anyway...the problem that I'm trying to fix is how he was using the boot disk on
our systems. He had root, usr, and swap which is fine. But he also had another
filesystem (that we use to store software for our production machines) on the
boot disk using partition H. Of course I followed his lead when I was setting
up any additional systems we received. Apparently it is "unsupported" to have
anything other than root, usr, and swap on the boot disk. I have other disks,
and have no problem recreating this filesystem elsewhere. Of course that would
leave a bunch of unused space on the boot disk. So my boss wants to use that
space up.

Basically, what I want to do is add to the size of the /usr filesystem, and then
whatever is left give to swap. My question is how to best go about this. We
are no longer going to use LSM on the boot disk, so I figure I need to use the
actual disk partitions. Here is what I have right now:

dsk0:
a = root = 262 MB
b = swap = 3 GB
g = usr = 2.1 GB
h = "star" = 12.2 GB

And this is what I want:

a = root = 262 MB
b = swap = 14.2 GB
g = usr = 3.1 GB

So can I redo the partitions of the disk, and just add them in like I have
above...or should I just split the H partition up into two pieces (like h=11.2
GB and e=1 GB), and then do an addvol to add the 1 GB to usr, and also add a
second partition to the swapdevice
(i.e. swapdevice=/dev/disk/dsk0b, /dev/disk/dsk0h)

I'm just not sure which is the "better" way...and maybe there is even another
way that would be even more better.

Anyway...TIA

Jonathan Williams
Unix Systems Administrator
The Shubert Organization, Inc.



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:01 EDT