Linux LVM users
 help / color / mirror / Atom feed
From: Stanley Yue <stanley.yue@gmail.com>
To: Stanley Yue <stanley.yue@gmail.com>,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Unable to create lvm1 configurations
Date: Mon, 13 Sep 2004 13:39:58 -0700	[thread overview]
Message-ID: <ce9f1f9e0409131339319648a3@mail.gmail.com> (raw)
In-Reply-To: <20040913104134.GO1094@agk.surrey.redhat.com>

Thanks Alasdair, your suggestion work.

However, I'm encountering yet another problem....;p
Looks like device-mapper always return an error on "cmd 13" when I
tried to create a lv:

[root@DAP-RHLNX1 2.4.21]# lvcreate -v -L 32 -n syueVol vg00-lvm1
  device-mapper ioctl cmd 13 failed: Invalid argument
  device-mapper ioctl cmd 13 failed: Invalid argument
    Finding volume group "vg00-lvm1"
    Creating logical volume syueVol
    Archiving volume group "vg00-lvm1" metadata.
    Creating volume group backup "/etc/lvm/backup/vg00-lvm1"
    Found volume group "vg00-lvm1"
    Loading vg00--lvm1-syueVol
    Zeroing start of logical volume "syueVol"
    Creating volume group backup "/etc/lvm/backup/vg00-lvm1"
  Logical volume "syueVol" created
[root@DAP-RHLNX1 2.4.21]# 

Here are the version information:
=========================
LVM version 2.2.00.22
Device Mapper version 1.00.18

Does anyone know what the problem is?

Thanks,

Stanley


On Mon, 13 Sep 2004 11:41:34 +0100, Alasdair G Kergon <agk@redhat.com> wrote:
> On Mon, Sep 13, 2004 at 01:58:14AM -0700, Stanley Yue wrote:
> > with the lvm-mod and device-mapper from lvm2. I want to test out
> > whether lvm2 utilities can detect configurations created from lvm1
> > utilities.
> 
> > pvcreate -- ERROR: VGDA in kernel and lvmtab are NOT consistent;
> > please run vgscan
> 
> Never run LVM2 utilities while you have LVs active under LVM1.
> Never run LVM1 tools while you have LVs active under LVM2.
> 
> i.e. Never mix use of the two, and always vgchange -an before switching
> between LVM1 and LVM2.
> Also, if switching back from LVM2 to LVM1 you must first reset the
> LVM1 driver with lvmchange -R followed by vgscan -f.
> 
> Alasdair
> --
> agk@redhat.com
>

  reply	other threads:[~2004-09-13 20:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-12  6:33 [linux-lvm] Unable to create lvm1 configurations Stanley Yue
2004-09-12 11:56 ` Alasdair G Kergon
2004-09-13  8:58   ` Stanley Yue
2004-09-13 10:41     ` Alasdair G Kergon
2004-09-13 20:39       ` Stanley Yue [this message]
2004-09-14 20:16         ` Alasdair G Kergon

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=ce9f1f9e0409131339319648a3@mail.gmail.com \
    --to=stanley.yue@gmail.com \
    --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