[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] problem with vgcreate ...

Artur, you write:
> I have problem with LVM beta6.
> but when i started module and i want create lvm group
> (vgcreate lvmgrp /dev/sd?? /dev/sd??) I obtain:
> lvm -- lvm_chr_ioctl: unknown command 4004fe0a
> vgcreate -- ERROR "Invalid argument" creating VGDA for volume group
> "lvmgrp" in kernel.

The problem is that the kernel is running LVM beta2, and the user tools are
beta6.  I posted a patch to this list for vg_create_remove() which will fix
the problem.  You will still get the ioctl message, but vgcreate will work.
Let's hope it makes it into CVS soon.

The other option is to update your kernel code to beta6 with a patch.  See
PATCHES/* for more info.

Cheers, Andreas
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]