Re: can t resize my lvm

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

 



Am Mittwoch 23 November 2005 00:02 schrieb Heinz Mauelshagen:
> On Tue, Nov 22, 2005 at 11:26:13PM +0100, Matthias Meyer wrote:
> > Am Dienstag 22 November 2005 10:58 schrieb Heinz Mauelshagen:
> > > Matthias,
> > >
> > > you don't need to deactivate your VG in order to grow it.
> > >
> > > That's the whole point behind LVM: be able to adjust your changing
> > > storage requirements online.
> > >
> > > Do "vgchange -ay", "vgextend LVM2 /dev/hdc1" and you'll have your
> > > VG online with extended capacity to grow your LV and FS in another
> > > step.
> > >
> > > Regards,
> > > Heinz    -- The LVM Guy --
> >
> > Thanks for your hint.
> > But:
> > vdr:~# vgchange -ay LVM2
> > vgchange -- volume group "LVM2" does not exist
>
> Hrm, run vgscan and 'vgchange -ay' afterwards.
> You haven't overwritten your PV, have you ?
>
vdr:~# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "LVM"
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of 
volume group "LVM2" from physical volume(s)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume 
groups

You have new mail in /var/mail/root
vdr:~# vgchange -ay
vgchange -- volume group "LVM" already active

Hmm, I think I had overwrite my PV with
vdr:~# vgchange -an LVM2
vgchange -- volume group "LVM2" successfully deactivated
vdr:~# pvcreate -vff /dev/hdc1
as descriped in detail in my mail at November, 21. 23:22
-- 
Don't Panic

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.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