On Fri, Feb 04, 2005 at 09:06:34PM -0500, Andrew Schulman wrote:
> 
> I'm trying to set up LVM for the first time.??I have the?dm-mod kernel
> module loaded.??No?udev?or?devfs?here.  The?following commands all succeed:
> 
> pvcreate /dev/hda1
> vgcreate vg /dev/hda1
> vgchange -ay vg
> 
> Now I want to create a logical volume, but the command seems to fail:
> 
> # lvcreate -L15G -narchive vg
> ??device-mapper?ioctl?cmd?9?failed:?Invalid?argument
> ??Couldn't?load?device?'vg-archive'.
> ??Failed?to?activate?new?LV.

That sounds a lot like a mismatch between libdevmapper and the kernel. Which
kernel are you using?

lvm version should tell you the required bits. 

-- 

patrick


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to