🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sgi.admin
1 messages
1 total messages Started by Robyn Landers Thu, 28 Jan 1993 02:38
growfs question
#211
Author: Robyn Landers
Date: Thu, 28 Jan 1993 02:38
53 lines
2627 bytes

I have a situation in which I want to use growfs to adjust disk usage.
(This is on a 4D/340 running 4.0.5a.)
I led myself on a great and merry chase, details of which
I'll post later for other reasons, but for now I have some
key questions.

The disk, /dev/dsk/dks0d3,  is currently partitioned as follows:

Partition  Type  Fs   Start: sec   (cyl)    Size: sec    (cyl)  Mount Directory
 0          raw             3816  (   3)       334536   ( 263)
 1          efs  yes      338352  ( 266)       508800   ( 400)   /usr/people
 5          efs  yes      847152  ( 666)       679248   ( 534)
 6          efs          1526400  (1200)       581304   ( 457)
 7          efs             3816  (   3)      2103888   (1654)
 8       volhdr                0  (   0)         3816   (   3)
10       volume                0  (   0)      2107704   (1657)

It used to have no partition 5, and partition 6 was everthing
from the end of partition 1 (cyl 666) to end of disk (cyl 1657),
but I split p6 up into p5 and p6 and did mkfs on p5.

Okay -- now I want to use growfs to expand p1 to include p5.
I gather from "man growfs" that I can do this without using logical 
volumes if I just change partition setup so that p1 expands to 
include p5, i.e.

 1          efs  yes      338352  ( 266)      1188048   ( 934)   /usr/people

and then do  growfs -s 1188048 /dev/dsk/dks0d3s1.

So the big questions are these:
Is this all okay?  Any reason such a thing should not be done?

(I experimented first by expanding p5 to include p6 and then growfs
on p5.  It seemed to work okay, so then I adjusted partitions again to
split p5 and p6 up again to the state shown above.  Before I go
ahead and try it for real on /usr/people, I thought I'd better ask.
Yes I'll do backups first.)

Sort of related question: if I decide to chicken out of all this,
how do I make partition 5 go away?  I see how to use fx to
restore p6 to its original parameters but I don't see how
to tell it to get rid of p5.

Thanks for your words of chastisement and/or reassurance.


-------------
Robyn Landers
rblanders@math.uwaterloo.ca
Math Faculty Computing Facility, University of Waterloo, Ontario, Canada
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads