[linux-lvm] Ensuring a LV does not move to a new PV?

Heinz J . Mauelshagen mauelshagen at sistina.com
Tue May 20 02:40:02 UTC 2003


On Fri, May 16, 2003 at 02:36:15PM -0400, Greg Freemyer wrote:
> 
> I had a single hardware mirrored PV I have been using with 3 LVs on it.
> 
> I just added a JBOD PV to the VG for use with snapshot LVs.
> 
> Is there anything I need to do to ensure that the main LVs never add any PEs from the new PV?

lvextend -L+SomeAmount /dev/VG/OneMainLV /dev/mirroredPV

IOW: limit allocation to the HW-mirrored PV.

> 
> i.e.
> Are the existing LVs sparse?

No.

> 
> And do new PEs get allocated as data is written to the LV?

No, they are all preallocated.

> 
> If so, I can easily see PEs coming from the wrong PV.
> 
> Thanks
> Greg
> -- 
> Greg Freemyer
>   
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list