<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff background="">
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My Fedora Core 3 is in its pretty much vanilla 
installation form.  It utilizes GRUB and LVM, and the installation process 
split my 18Gb hd into 3 filesystems:</FONT></DIV><PRE>/boot                    /boot (100Mb)<BR>/dev/VolGroup00/LogVol00 /     ( 16Gb)<BR>/dev/VolGroup00/LogVol01 swap  (  1Gb)</PRE>
<DIV><FONT face=Arial size=2><FONT face="Courier New" size=3></FONT>I want 
to:</FONT></DIV><FONT face=Arial size=2>
<OL>
  <LI>rename the volume groups and logical volumes to shorter and more 
  meaningful strings, e.g., vg0, root, swap 
  <LI>resize (shrink) /boot to 50Mb 
  <LI>split up / into smaller chunks (root, home, usr, var)</LI></OL>
<DIV>I have a second drive, that has one large logical volume (part of 
VolGroup00), capable of holding at any given time all or portions of the 
partitions above; there is data in that LV, but there is also unused space left, 
which I could use to create a PV, LV, and use it only for this purpose (and yes, 
there would be enough space for everything as well).  </DIV>
<DIV> </DIV>
<DIV>I just wanted to run this by the group and ask for comments, see if there 
is anything specific to worry about, etc.  Here is my general plan:  
</DIV>
<OL>
  <LI>use the FC3 DVD to boot into the system in single user maintenance mode 
  <LI>rename the existing vol groups and log vols using vgrename and lvrename; 
  <BR>mount and check integrity; <BR>modify /etc/grub.conf accordingly 
  <LI>with /boot and the large, second disk partition mounted, copy everything 
  out from /boot (using, e.g., tar) to the second drive (copy it into a 
  directory on the existing LV, or create a brand new one?); <BR>unmount; 
  <BR>resize the partition (using, e.g., parted); <BR>remount; <BR>copy 
  everything back; <BR>run grub-install --root-directory=/boot /dev/sda1 
  <LI>now I am left with a 50Mb hole (starting at the end of the new /boot 
  partition and ending at the beginning of the lvm partition; should I just blow 
  the lvm away (after copying out the contents of / to my second disk), and 
  start from scratch with one large PV, or should I add a PV to cover the 50Mb, 
  then add it to the VG, and then try to somehow incorporate it into one of the 
  new partitions? <BR>the LV on my second drive is not accessible to parted; 
  will I have any problem fetching it and adding to VGs if I chose to redo the 
  whole enchilada from scratch on the first disk?  <BR>if I keep things the 
  way they are, I should be able to use lvresize, lvextend, vgextend, etc, 
  right? 
  <LI>with all the data on my second drive, rearrange the LVs to my liking; 
  <BR>finally copy everything back into the appropriate partitions, and update 
  /etc/fstab (how? there is a comment in there that it should only be used by 
  fstab-sync; can it be edited manually as well?); </LI></OL>
<DIV>Thanks in advance for any and all comments!  </DIV>
<DIV> </DIV>
<DIV>--Marcin</FONT></DIV></BODY></HTML>