home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / admin / 319 < prev    next >
Encoding:
Text File  |  1993-01-28  |  2.5 KB  |  64 lines

  1. Newsgroups: comp.sys.sgi.admin
  2. Path: sparky!uunet!charon.amdahl.com!amdahl!rtech!pacbell.com!sgiblab!sdd.hp.com!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!rblander
  3. From: rblander@math.uwaterloo.ca (Robyn Landers)
  4. Subject: growfs question
  5. Message-ID: <C1JM07.KsB@math.uwaterloo.ca>
  6. Keywords: growfs partition
  7. Organization: University of Waterloo
  8. Date: Thu, 28 Jan 1993 02:38:30 GMT
  9. Lines: 53
  10.  
  11.  
  12.  
  13. I have a situation in which I want to use growfs to adjust disk usage.
  14. (This is on a 4D/340 running 4.0.5a.)
  15. I led myself on a great and merry chase, details of which
  16. I'll post later for other reasons, but for now I have some
  17. key questions.
  18.  
  19. The disk, /dev/dsk/dks0d3,  is currently partitioned as follows:
  20.  
  21. Partition  Type  Fs   Start: sec   (cyl)    Size: sec    (cyl)  Mount Directory
  22.  0          raw             3816  (   3)       334536   ( 263)
  23.  1          efs  yes      338352  ( 266)       508800   ( 400)   /usr/people
  24.  5          efs  yes      847152  ( 666)       679248   ( 534)
  25.  6          efs          1526400  (1200)       581304   ( 457)
  26.  7          efs             3816  (   3)      2103888   (1654)
  27.  8       volhdr                0  (   0)         3816   (   3)
  28. 10       volume                0  (   0)      2107704   (1657)
  29.  
  30. It used to have no partition 5, and partition 6 was everthing
  31. from the end of partition 1 (cyl 666) to end of disk (cyl 1657),
  32. but I split p6 up into p5 and p6 and did mkfs on p5.
  33.  
  34. Okay -- now I want to use growfs to expand p1 to include p5.
  35. I gather from "man growfs" that I can do this without using logical 
  36. volumes if I just change partition setup so that p1 expands to 
  37. include p5, i.e.
  38.  
  39.  1          efs  yes      338352  ( 266)      1188048   ( 934)   /usr/people
  40.  
  41. and then do  growfs -s 1188048 /dev/dsk/dks0d3s1.
  42.  
  43. So the big questions are these:
  44. Is this all okay?  Any reason such a thing should not be done?
  45.  
  46. (I experimented first by expanding p5 to include p6 and then growfs
  47. on p5.  It seemed to work okay, so then I adjusted partitions again to
  48. split p5 and p6 up again to the state shown above.  Before I go
  49. ahead and try it for real on /usr/people, I thought I'd better ask.
  50. Yes I'll do backups first.)
  51.  
  52. Sort of related question: if I decide to chicken out of all this,
  53. how do I make partition 5 go away?  I see how to use fx to
  54. restore p6 to its original parameters but I don't see how
  55. to tell it to get rid of p5.
  56.  
  57. Thanks for your words of chastisement and/or reassurance.
  58.  
  59.  
  60. -------------
  61. Robyn Landers
  62. rblanders@math.uwaterloo.ca
  63. Math Faculty Computing Facility, University of Waterloo, Ontario, Canada
  64.