problem with vgcreate ...
Hi !
I have problem with LVM beta6.
I have RedHat 7.0 with 2.4.2 kernel (compilation with util-linux 2.10o, modutlis 2.4.2 & e2fsprogs 1.19). After compilation all is OK.
I'm installing LVM (first- .configure - OK,
second- compilation with LVM as module - OK,
third- make - OK, fourth- make install - OK).
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.
I don't known what i do bad (maybe any patch)?
(With beta4 end beta5 this error recurs too.)
Help me please.
Thanks for Your help.
Artur
Artur, you write:
Quoted 6 lines
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 command4004fe0a
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
Signature · 3 lines
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/ -- DogbertQuoted 8 lines · Andreas Dilger
Artur, you write:
Quoted 6 lines
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 command4004fe0a
vgcreate -- ERROR "Invalid argument" creating VGDA for volume group "lvmgrp" in kernel.
Quoted 4 lines
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.
I'll get onto it tomorrow.
patrick
Quoted 17 lines · Artur Wiak
Hi !
I have problem with LVM beta6.
I have RedHat 7.0 with 2.4.2 kernel (compilation with util-linux 2.10o, modutlis 2.4.2 & e2fsprogs 1.19). After compilation all is OK.
I'm installing LVM (first- .configure - OK,
second- compilation with LVM as module - OK,
third- make - OK, fourth- make install - OK).
but when i started module and i want create lvm group (vgcreate lvmgrp/dev/sd??/dev/sd??) I obtain:
lvm --lvm_chr_ioctl: unknown command4004fe0a
vgcreate -- ERROR "Invalid argument" creating VGDA for volume group "lvmgrp" in kernel.
I don't known what i do bad (maybe any patch)?
(With beta4 end beta5 this error recurs too.)
Help me please.
You'll need to patch your kernel too to get beta6, it sounds like you have just upgraded the tools.
patrick