home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi.admin
- Path: sparky!uunet!charon.amdahl.com!amdahl!rtech!pacbell.com!sgiblab!sdd.hp.com!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!rblander
- From: rblander@math.uwaterloo.ca (Robyn Landers)
- Subject: growfs question
- Message-ID: <C1JM07.KsB@math.uwaterloo.ca>
- Keywords: growfs partition
- Organization: University of Waterloo
- Date: Thu, 28 Jan 1993 02:38:30 GMT
- Lines: 53
-
-
-
- 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
-