Re: lvm2, extending a physical volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Heinz J . Mauelshagen wrote:
On Sat, Jul 12, 2003 at 11:09:13PM +0200, Jan Dittmer wrote:

Hi,

would this be a reasonable course of action?

vgcfgbackup myraid
pvcreate -yff -u wZQg66-cWrF-VDi5-GcRN-aYVg-RQQ3-PPm5K5 /dev/md0
`take the size pvcreate reports and change the backup file accordingly`
vgcfgrestore myraid


Yes, this is the workaround.
(vgcfgbackup shouldn't be necessary though)


Being on the careful side here (don't want to restore 300GB of data). pvdisplay reports (after pvcreate): --- NEW Physical volume --- PV Name /dev/md0 VG Name PV Size 447.15 GB Allocatable NO PE Size (KByte) 0 Total PE 0 Free PE 0 Allocated PE 0 PV UUID wZQg66-cWrF-VDi5-GcRN-aYVg-RQQ3-PPm5K5

So how do I get the PEs? Can I also create a new Volumegroup without damaging anything? Or is there another way to get the total/free PEs?

Thanks for the insight,

Jan



--
Linux rubicon 2.5.75-mm1-jd10 #1 SMP Sat Jul 12 19:40:28 CEST 2003 i686


_______________________________________________ linux-lvm mailing list linux-lvm@sistina.com http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux