From: Heinz Mauelshagen <mauelshagen@redhat.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Unrecognised LVM device type
Date: Wed Feb 11 17:07:05 2004 [thread overview]
Message-ID: <20040211124243.GA2960@redhat.com> (raw)
In-Reply-To: <BAY2-F92tTx7e4VksaV0002ea59@hotmail.com>
/dev/mapper/bigdisk is not contained in /etc/lvm/.cache.
YOu need to change your /etc/lvm/lvm.conf device name filter to include it.
Why do you want to create such bigdisk and use it as a PV ?
Just create PVs on hd[ac]4 and use LV striping.
Regards,
Heinz -- The LVM Guy --
On Thu, Feb 05, 2004 at 03:01:02PM +0000, mons grapius wrote:
> Hi
>
> Sorry to post this again but my attempts to register with the mailing list
> failed so badly I have no way of knowing if my original email made it....
>
> No doubt I'm being stupid but I cannot find a whole load of documentation
> on device mapper and LVM2 - there's a certain amount with the source but
> it's more what I'd call a rough guide.
>
> My problem is I cannot create a PV (let alone a logical Vol) on a
> devicemapped device.
>
> I am using a stock 2.4.22 kernel with the latest stable dm and LVM2 stuff
> from the sistina web site.
>
> if I use "lvm version" I get the following
>
> LVM Version 2.00.08 (2003-11-14)
> Library Version 1.00.07-ioctl (2003-11-21)
> Driver 4.0.5
>
> The kernel patches, the compiles went perfectly and I can see the device
> mapper stuff loaded (I've compiled the dm and lvm stuff in statically) at
> boot time. I run the mknod scripts at boot up as well.
>
> I have managed to create a simple stripe using hda4 and hdc4 partitions
> and I have a lovely big devicemapper device called bigdisk.
>
> The special file for this is in /dev/mapper/bigdisk and has major 254 and
> minor of 0.
>
> I can create any regular file system on this device mount it and use it.
>
> If I try to initialise this with pvcreate as in
>
> lvm pvcreate -vvv /dev/mapper/bigdisk
>
> it fails. The ominous line is:
>
> /dev/mapper/bigdisk: Skipping: Unrecognised LVM device type 254
>
>
> That's it I cannot progress further than that.
>
> I am using the sample lvm.conf file that came with the LVM2 code.
> Initially I had no lvm.conf file (just for testing) and it did not work.
>
> I have created a LVM on /dev/hdd4 and that works perfectly so I know the
> general installation must be good - well I assume it is!
>
> I know that I have to be missing something obviously simple but without
> any doccos I am stumped.
>
> Can anyone help - I hope someone else is trying to create LVs on
> devicemapper type devices.
>
> Mark
>
> _________________________________________________________________
> Sign-up for a FREE BT Broadband connection today!
> http://www.msn.co.uk/specials/btbroadband
>
>
> _______________________________________________
> 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/
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat, Inc.
Consulting Development Engineer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@RedHat.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
prev parent reply other threads:[~2004-02-11 12:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-05 10:02 [linux-lvm] Unrecognised LVM device type mons grapius
2004-02-11 17:07 ` Heinz Mauelshagen [this message]
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=20040211124243.GA2960@redhat.com \
--to=mauelshagen@redhat.com \
--cc=linux-lvm@redhat.com \
--cc=linux-lvm@sistina.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