<br><br><div><span class="gmail_quote">On 11/3/05, <b class="gmail_sendername">Joshua Fechner</b> <<a href="mailto:phekno@gmail.com">phekno@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>What if I don't want to save any of the data on the 20GB
drive? Should I just forget that command? Excuse my
noobness but I have never worked with LVM (except in using
DiskDruid). I am comfortable with fdisk. Anyway, do I fdisk
the 80GB and tell fdisk that it's an LVM physical volume, format it
using jfs, and just lvextend? I understand most of that, but
what's the jfs formatting command? Thanks for your quick response
and any future help.
</div>
<div> </div>
<div>Phekno</div>
<br>
</blockquote></div><br>
If you want to preserve the LVM VG you should do as mitch
recommends. If you're using the entire 80GB disk then just use
the whole disk rather than a partition as a PV (ie. /dev/hdc instead of
/dev/hdc1).<br>
<br>
Add 80GB to computer<br>
Run pvcreate on the 80GB device<br>
Run vgextend to add the 80GB device to the existing LVM VG<br>
Run pvmove to migrate LVM off 20GB drive<br>
Run lvextend to resize a logical voolume if you want to make it bigger<br>
extend the jfs filesystem on the logical volume<br>
Remove the hard disk from the system<br clear="all"><br>-- <br>Thanks,<br>Devan Lippman <devan at lippman dot net>