From: Matthias Meyer <Matthias.Meyer@gmx.li>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] can t resize my lvm
Date: Wed, 23 Nov 2005 02:10:35 +0100 [thread overview]
Message-ID: <200511230210.35979.Matthias.Meyer@gmx.li> (raw)
In-Reply-To: <20051122230228.GF30556@redhat.com>
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
next prev parent reply other threads:[~2005-11-23 1:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-21 18:34 [linux-lvm] can't resize my lvm Matthias Meyer
2005-11-21 22:22 ` [linux-lvm] can t " Matthias Meyer
2005-11-22 9:58 ` Heinz Mauelshagen
2005-11-22 22:26 ` Matthias Meyer
2005-11-22 23:02 ` Heinz Mauelshagen
2005-11-23 1:10 ` Matthias Meyer [this message]
2005-11-23 22:36 ` Matthias Meyer
2005-11-25 20:21 ` Matthias Meyer
2005-11-27 13:07 ` Matthias Meyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200511230210.35979.Matthias.Meyer@gmx.li \
--to=matthias.meyer@gmx.li \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).