[linux-lvm] Creating PV over a /dev/mapper device

Roman Medina-Heigl Hernandez roman at rs-labs.com
Mon Nov 8 20:09:02 UTC 2004


On Mon, 8 Nov 2004 14:28:11 +0000, you wrote:

>On Sun, Nov 07, 2004 at 10:35:57PM +0100, Roman Medina-Heigl Hernandez wrote:
>> First, thanks for your fast answer. I added the "device-mapper" type
>> but it is still not working. Example:
> 
>    # List of pairs of additional acceptable block device types found 
>    # in /proc/devices with maximum (non-zero) number of partitions.
>    # types = [ "fd", "device-mapper", 16 ]
>
>Firstly the line is commented out;

Oh my God... :-) Sorry for the tremendous lapsus.

>secondly make it:
>  types = [ "device-mapper", 16 ]

Now it is working. Thanks.

>You can run 'lvm dumpconfig' to check what settings have actually 
>been read in from the config files.

jupiter:/etc/lvm# lvm dumpconfig
  No such command.  Try 'help'.

But don't worry. It appears I'm using an old version of lvm (I
downgraded to solve the "Internal error: unknown device-mapper task
16" problem).

jupiter:/etc/lvm# lvm version
  LVM version:     2.00.06 (2003-08-20)
  Library version: 1.00.05-ioctl-cvs (2003-09-01)
  Driver version:  4.1.0
jupiter:/etc/lvm# 

>> I've set-up lvm1 mode ('cause I read that it is more stable than lvm2)
>
>Don't know where you read that but I'd strongly dispute it.

I don't remember either... well, I'll trust you and I'll use lvm2 ;-)

Thanks for your help.

 Saludos,
 --Roman

--
PGP Fingerprint:
09BB EFCD 21ED 4E79 25FB  29E1 E47F 8A7D EAD5 6742
[Key ID: 0xEAD56742. Available at KeyServ]




More information about the linux-lvm mailing list