lvmcreate_initrd problems?
Hello,
First I'd like to take the time to say how much I like LVM. Keep up the excellent work.
That said, I am having a bit of a problem. Let me set the stage for you.
I installed LVM when I installed my distro (Gentoo, www.gentoo.org). The boot CD does not use devfs but I do use it after I've insatlled the distro. I have my root inside the LVM along with all my other partitions besides /boot. I haven't experienced any problems until now. I had been using kernel 2.4.18 and am downgrading to 2.4.17 because of some patches that I would like to use. When rebooting with the new kernel the messages on the screen seem to indicate that root file system (reiserfs, /dev/vgroup0/root) was mounted successfully read-only. I get a message about devfs do_symlink_root (I'm not 100% sure on that, I didn't write it down) that fails and then i get a change root error. If these errors are needed verbatium, I can get them. After this I get an "Invalid Operand" from the kernel and a CPU register dump. Followed by an "kernel killed init". This was all from memory, but I beleive it to be correct.
I guess the first question I should ask is if this sounds like a kernel problem or lvmcreate_initrd script problem. I have tried running lvmcreate_initrd from my devfs enabled system (using the 2.4.18 kernel) and from the Gentoo Boot CD (using a non devfs, 2.4.17 kernel) with no luck. I have browsed the archives and found a few hints but nothing that solved my problem.
I would appreciate *any* help that could resolve my issues. And agagin, great work, keep it up. :)
Thanks in advance.
Regards,
Doug Miller
[linux-lvm] "logical volume manager already locked"
Hi I've been using lvm on redhat 6.2 with kernel 2.4.5 for a long time. I just switched to debian with kernel 2.4.18. Everything has been working fine for a week or so. Debian runs a cron job that runs lvmsadc every so often. Now lvmsadc now produces the following error:
deedee:/var# lvmsadc -v lvmsadc -- finding all volume group(s) lvmsadc -- checking for found volume groups 1016499384 lvmsadc -- locking logical volume manager lvmsadc -- locking logical volume manager lvmsadc -- logical volume manager already locked
I have not been able figure out why this happens, or any explaination for exactly what this error message means. Can anyone explain what is wrong? How I can fix it? Please let me know if I can provide any other helpful information.
Thanks for your help,
Ken
Re: [linux-lvm] "logical volume manager already locked"
Quoted 11 lines · Kenneth J Baker
Hi I've been using lvm on redhat 6.2 with kernel 2.4.5 for a long time. I just switched to debian with kernel 2.4.18. Everything has been working fine for a week or so. Debian runs a cron job that runs lvmsadc every so often. Now lvmsadc now produces the following error:
deedee:/var# lvmsadc -v lvmsadc -- finding all volume group(s) lvmsadc -- checking for found volume groups 1016499384 lvmsadc -- locking logical volume manager lvmsadc -- locking logical volume manager lvmsadc -- logical volume manager already locked
lvm10 was just upgraded to 1.1rc-1, try downgrade to version 1.0.1release-1 (you probably want to hold that package for now).
/Allan
Signature · 4 lines
Allan M. Wind P.O. Box 2022 Woburn, MA 01888-0022 USA