problem with activating volume group
Hi there!
I have read all the documentation in the LVM-package and your homepage, but i can't find a
sollution to my problem in the HOW-TOs.
I run kernel 2.4.13 with Slackware 8.0. I tried to patch the rc.S with the patch i found on your homepage
but it looks like the patch is allready applied in the distribution.
I have loaded LVM as a module in the boot. Everything runs perfectly until i try to activate my
volume group "vg01".
When i run : vgchange -v -d -a y i get the following output, but I don't really know what the problem is.
Any help is aprichiated.
And thank you for making great software.
mvh
Frode Ulsund
-------------------------------------------------------------------------
<333> vg_check_name -- vg_name: "vg01"
<4444> lvm_check_chars -- CALLED with name: "vg01" <4444> lvm_check_chars -- LEAVING with ret: 0
<333> vg_check_name -- LEAVING with ret: 0
<22> vg_check_consistency -- LEAVING with ret: 0
<1> vg_create_remove -- IOCTL
<1> vg_create_remove -- IOCTL returned: -22
<1> vg_create_remove -- LEAVING with ret: -22
<> vgchange -- vg_create returned: -22
<1> lvm_error -- CALLED with: -22
<1> lvm_error -- LEAVING with: "Invalid argument" vgchange -- ERROR "Invalid argument" activating volume group "vg01" <1> vg_free -- CALLED
<1> vg_free -- entering PV loop
<1> vg_free -- entering LV loop
<1> vg_free -- LEAVING with ret: 0
vgchange -- unlocking logical volume manager
<1> lvm_unlock -- CALLED
<1> lvm_unlock -- LEAVING with ret: 0
<1> lvm_unlock -- CALLED
<1> lvm_unlock -- LEAVING with ret: -104
Frode,
you didn't metion the LVM version you use and if you followed the kernel patch instrcutions contained in the LVM source distro.
I guess you have a user/kernel code mismatch because 2.4.13 is still not up to date. Recent Alan Cox kernel is and we hope that he'll update Linus *soon*.
In order to get a clean LVM configuration, please get the LVM distro from www.sistina.com and follow the instructions in the files INSTALL and PATCHES/README.
Regards,
Heinz -- The LVM Guy --
Quoted 47 lines · Frode Ulsund
Hi there!
I have read all the documentation in the LVM-package and your homepage, but i can't find a
sollution to my problem in the HOW-TOs.I run kernel 2.4.13 with Slackware 8.0. I tried to patch the
rc.Swith the patch i found on your homepage
but it looks like the patch is allready applied in the distribution.I have loaded LVM as a module in the boot. Everything runs perfectly until i try to activate my
volume group "vg01".When i run : vgchange -v -d -a y i get the following output, but I don't really know what the problem is.
Any help is aprichiated.
And thank you for making great software.
mvh
Frode Ulsund
-------------------------------------------------------------------------
<333>vg_check_name--vg_name: "vg01"
<4444>lvm_check_chars-- CALLED with name: "vg01" <4444>lvm_check_chars-- LEAVING with ret: 0
<333>vg_check_name-- LEAVING with ret: 0
<22>vg_check_consistency-- LEAVING with ret: 0
<1>vg_create_remove-- IOCTL
<1>vg_create_remove-- IOCTL returned: -22
<1>vg_create_remove-- LEAVING with ret: -22
<> vgchange --vg_createreturned: -22
<1>lvm_error-- CALLED with: -22
<1>lvm_error-- LEAVING with: "Invalid argument" vgchange -- ERROR "Invalid argument" activating volume group "vg01" <1>vg_free-- CALLED
<1>vg_free-- entering PV loop
<1>vg_free-- entering LV loop
<1>vg_free-- LEAVING with ret: 0
vgchange -- unlocking logical volume manager
<1>lvm_unlock-- CALLED
<1>lvm_unlock-- LEAVING with ret: 0
<1>lvm_unlock-- CALLED
<1>lvm_unlock-- LEAVING with ret: -104
Quoted 5 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-