Mailinglist Archive: opensuse (2212 mails)

< Previous Next >
Re: [opensuse] Adding/subtracting physical volumes in LVM
  • From: Sunny <sloncho@xxxxxxxxx>
  • Date: Thu, 27 Sep 2007 16:27:45 -0500
  • Message-id: <e7eeb230709271427p26f53f79u5a636e43d2b48935@xxxxxxxxxxxxxx>
On 9/27/07, Bob Williams <linux@xxxxxxxxxxxxxxxxxxxxx> wrote:
> ATM my /home mounts a volume group which holds partitions located on two
> different physical drives, one IDE and one SATA. If I wanted to swap the IDE
> drive for a new SATA drive, what would happen to the data held in /home?
>
> For example, if I remove the IDE volume from the group, will all the data be
> consolidated onto the remaining SATA volume, during the process of removing
> that volume?

I'm not sure that the LVM YaST module is so good to do this. Better
use pvmove command, so it moves the data away from the IDE part.

Or, you can add your new SATA, create a new PV there, add it to the
home volume, and then use pvmove. Then remove the IDE PV from the
volume.

-- 
Svetoslav Milenov (Sunny)

Even the most advanced equipment in the hands of the ignorant is just
a pile of scrap.
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References