[mythtv-users] LVM and a new hard drive
Mitch Anderson
mitch at metauser.net
Thu Nov 3 09:47:36 EST 2005
Joshua Fechner wrote:
> Can I replace the
> 20GB hard drive with the 80GB hard drive, add it to the LVM and format it
> jfs without having to reinstall everything? Or will removing the 20GB hard
> drive trash the LVM to the point of having to reinstall everything? Any help
> would be greatly appreciated.
Yes, you can add the 80GB hard drive to the LVM and move all data off
the 20GB drive. (however, you'll probably end up removing one of the CD
drives first) Connect the 80GB drive, activate it as a pysical volume,
and join it to the volume group the 20GB drive is in. then simply run:
pvmove -v </dev device for 20GB drive LVM partition>. This will
automatically move all data and LVM info off the 20GB drive to free
extents in the volume group(your 80GB drive). To take full use of the
new space on the 80GB drive, you will have to extend the logical
volume(lvextend), and then extend the JFS partition.
Mitch
More information about the mythtv-users
mailing list