Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!agate!usenet.ins.cwru.edu!eagle!gonzo.lerc.nasa.gov!tohanson From: tohanson@gonzo.lerc.nasa.gov (Jeff Hanson) Newsgroups: comp.sys.sgi Subject: Re: mklv(1M) help on 3.3.1 Message-ID: <1991May13.150814.27587@eagle.lerc.nasa.gov> Date: 13 May 91 15:08:14 GMT References: <1991May13.084225@hiatus.zko.dec.com> Sender: news@eagle.lerc.nasa.gov Organization: NASA Lewis Research Center [Cleveland] Lines: 56 Since my mail to Kevin bounces and since this may be of interest to others, here is how I extended by system disk's /usr partition onto a second disk. Installation of logical volume with 2 SCSI disks to expand /usr partition on root disk onto the second. 1. Make sure the two disks are NOT on the same SCSI address. 2. Read Sys. Admin. Guide, Chapter 7, Section 4 on Logical Volumes 3. Backup /usr partition 4. Insert the following line in /etc/lvtab lv0:extension of /usr:devs=/dev/dsk/dks0d1s6,/dev/dsk/dksc0d2s7 Name of logical volume:description:disk partitions (6 on disk1 and all of disk2) 5. Create fstab.lvol (Check exports list) cp fstab fstab.lvol ed fstab.lvol s[usr[dsk/lv0[ s[rusr[rdsk/lv0[ w q Line is changed from /dev/usr /usr efs rw,raw=/dev/rusr 0 0 to /dev/dsk/lv0 /usr efs rw,raw=/dev/rdsk/lv0 0 0 6. Go to single user mode init s 7. Run the following to make the logical volume /etc/mklv lv0 8. Check the file system on the first disk fsck /dev/dsk/dks0d1s6 9. Expand usr partition unto the second disk. /etc/growfs /dev/rdsk/lv0 10. Check the logical file system fsck /dev/rdsk/lv0 11. Move the modified version of fstab into place mv fstab fstab.nolvol mv fstab.lvol fstab 12. Go back to multiuser mode init 2 -- --------------------------------------------------------------------------- Jeff Hanson - Scientific Graphics Programmer and Workstation Administrator NASA Lewis Research Center, MS 86-4, Cleveland, Ohio 44135 Telephone - (216) 433-2284 Fax - (216) 433-2182 tohanson@gonzo.lerc.nasa.gov - ViSC: Better Science Through Pictures