home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / 18731 < prev    next >
Encoding:
Text File  |  1993-01-13  |  3.7 KB  |  105 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!spool.mu.edu!sgiblab!sgigate!odin!awesome!mattr
  3. From: mattr@awesome.csd.sgi.com (Matt Robinson)
  4. Subject: Re: logical volumes
  5. Message-ID: <1993Jan13.045641.17740@odin.corp.sgi.com>
  6. Keywords: lv logical volume
  7. Sender: news@odin.corp.sgi.com (Net News)
  8. Nntp-Posting-Host: awesome.csd.sgi.com
  9. Organization:  Silicon Graphics, Inc.  Mountain View, CA
  10. References: <1993Jan12.185353.11673@dsea.com>
  11. Date: Wed, 13 Jan 1993 04:56:41 GMT
  12. Lines: 91
  13.  
  14. In <1993Jan12.185353.11673@dsea.com> lacey@dsea.com (Dan Lacey ) writes:
  15. ] I am trying to use the logical volume feature on an R4K Indigo.
  16. ] ( And what a great idea it is!! )
  17. ] I have two questions: 
  18. ]    1) What is the largest possible logical volume and how many partitions
  19. ]    can this consist of.
  20.  
  21. 8 gigabytes is the largest EFS size.  According to what I've found in the
  22. code here, the maximum number of logical volume partitions that can be
  23. specified in /etc/lvtab is 40.
  24.  
  25. ]     2) Am i doing the right thing ( as explained below). I seem to have
  26. ]     gotten the right result, but I am paranoid about having missed
  27. ]     something. Also, besides the on-line UNIX manuals, where can I find
  28. ]     documentation about this feature?
  29.  
  30. The documentation should be in the Site Administration Guide, as well as
  31. the Insight product.
  32.  
  33. BEFORE YOU GO ON:  Make sure to backup your system.  I didn't read anywhere
  34. up there that you had decided to backup your system.  It is *always* important
  35. to backup before making any partition / file system changes.
  36.  
  37. ] I have a 1.2Gb disk on the R4k Indigo that was partitioned as a rootdrive.
  38. ] I install 4.0.5F (default parts) on the rootdrive.
  39. ] I partitioned the second disk as an option drive and run mkfs. (SCSI ID 3)
  40.  
  41. Did you write the label to the disk (e.g., enter the '(l)abel' section, then
  42. select '(sy)nc'?) If you perform a 'prtvtoc /dev/rdsk/dks0d3vh', you can
  43. see the label on the disk, and the partitioning information.  Make sure it
  44. is correct before continuing.
  45.  
  46. ] I want to have the /usr partition be a logical volume.
  47. ]
  48. ] I edit lvtab with the entry:
  49. ] lv0:usr:devs=/dev/dsk/dks0d1s6, /dev/dsk/dks0d3s7
  50. ]
  51. ] I edit the /usr entry in fstab:
  52. ] /dev/dsk/lv0 /usr efs rw,raw=/dev/rdsk/lv0 0 0
  53.  
  54. This looks okay, since you stated above that the SCSI ID of your option
  55. drive was 3.
  56.  
  57. ] Go to single user mode to unmount /usr.
  58. ]
  59. ] Make the volume. I need the -f because mklv is complaining that the second
  60. ] disk does not have a label ( <NO LABEL PRESENT> ).
  61. ] # mklv -f lv0
  62.  
  63. At this point, run 'lvck', to check over your logical volume creation.
  64. You should get the message:
  65.  
  66. lvck: checking lvtab entry lv0
  67. lvck: entry lv0 OK
  68.  
  69. or something very close to that.  If this doesn't come up, something's
  70. wrong with the logical volume you've created.
  71.  
  72. ] Grow the filesystem:
  73. ] # growfs /dev/rdsk/lv0
  74.  
  75. After the above step, make sure to:
  76.  
  77. fsck /dev/rdsk/lv0
  78. mount /usr
  79.  
  80. This will check over the disk (shouldn't be necessary), then mount it.
  81.  
  82. ] Bring the system up:
  83. ] # init 2
  84.  
  85. After this point, bring up the system.  Everything should run smoothly.
  86.  
  87. ] THANX IN ADVANCE
  88.  
  89. If you have problems, please give the individuals on the hotline a call,
  90. or E-mail me your question on this specific case if need be.
  91.  
  92. ]                     Dan Lacey
  93. ]                     lacey@dsea.com
  94. ]                     Dainippon Screen Eng. of America
  95.  
  96. --Matt
  97.  
  98. ---------------------------------------------+-------------------------------
  99. Matt D. Robinson (Member, Technical Staff)   |      mattr@awesome.csd.sgi.com
  100. Silicon Graphics, Inc.                       |      mattr@leland.stanford.edu
  101. --
  102. ---------------------------------------------+-------------------------------
  103. Matt D. Robinson (Member, Technical Staff)   |      mattr@awesome.csd.sgi.com
  104. Silicon Graphics, Inc.                       |      mattr@leland.stanford.edu
  105.