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

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!dsea!lacey
  3. From: lacey@dsea.com (Dan Lacey )
  4. Subject: logical volumes
  5. Message-ID: <1993Jan12.185353.11673@dsea.com>
  6. Keywords: lv logical volume
  7. Organization: Dainippon Screen Engineering of America, Inc.
  8. Distribution: ca
  9. Date: Tue, 12 Jan 1993 18:53:53 GMT
  10. Lines: 47
  11.  
  12. I am trying to use the logical volume feature on an R4K Indigo.
  13. ( And what a great idea it is!! )
  14. I have two questions: 
  15.     1) What is the largest possible logical volume and how many partitions
  16.     can this consist of.
  17.     2) Am i doing the right thing ( as explained below). I seem to have
  18.     gotten the right result, but I am paranoid about having missed
  19.     something. Also, besides the on-line UNIX manuals, where can I find
  20.     documentation about this feature?
  21.  
  22. I have a 1.2Gb disk disk on the R4k Indigo that was partitioned as a rootdrive.
  23. I install 4.0.5F (default parts) on the rootdrive.
  24. I partitioned the second disk as an option drive and run mkfs. (SCSI ID 3)
  25. I want to have the /usr partition be a logical volume.
  26.  
  27. I edit lvtab with the entry:
  28. lv0:usr:devs=/dev/dsk/dks0d1s6, /dev/dsk/dks0d3s7
  29.  
  30. I edit the /usr entry in fstab:
  31. /dev/dsk/lv0 /usr efs rw,raw=/dev/rdsk/lv0 0 0
  32.  
  33. Go to single user mode to unmount /usr.
  34.  
  35. Make the volume. I need the -f because mklv is complaining that the second
  36. disk does not have a label ( <NO LABEL PRESENT> ).
  37. # mklv -f lv0
  38.  
  39. Grow the filesystem:
  40. # growfs /dev/rdsk/lv0
  41.  
  42. Bring the system up:
  43.  
  44. # init 2
  45.  
  46. THANX IN ADVANCE
  47.  
  48. *****************************************************************************
  49. * THIS SPACE INTENTIONALLY    *    Dan Lacey ( lacey@dsea.com )        *
  50. *                *    Dainippon Screen Eng. of America    *
  51. * LEFT BLANK            *    3700 W. Segerstrom Ave.            *
  52. *                *    Santa Ana, CA. 92714            *
  53. *****************************************************************************
  54. -- 
  55.  
  56.                     Dan Lacey
  57.                     lacey@dsea.com
  58.                     Dainippon Screen Eng. of America
  59.