Upgrade Linux 2.2 to 2.4 problems
I'm still having difficulty getting LVM to behave itself on a 2.4 kernel when it works fine on a 2.2 kernel. I'm using beta7 on both kernels - the 2.4 kernel is 2.4.10.ac4 which seems to have version beta7(ish) in it. I'm booting through initrd as /root is on LVM.
vgscan appears to work ok but vgchange fails with:
Error- can't get names of physical volumes - please check if /proc is mounted.
Well, /proc is mounted - in fact if it isn't mounted I don't this error.
What does this error message mean and what's likely to be wrong to cause it?
Many thanks
Dick
Quoted 8 lines · Dick Middleton
I'm still having difficulty getting LVM to behave itself on a 2.4 kernel when it
works fine on a 2.2 kernel. I'm using beta7 on both kernels - the 2.4 kernel
is 2.4.10.ac4 which seems to have version beta7(ish) in it. I'm booting through
initrd as /root is on LVM.
Quoted 8 lines
vgscan appears to work ok but vgchange fails with:
Error- can't get names of physical volumes - please check if /proc is mounted.
Well, /proc is mounted - in fact if it isn't mounted I don't this error.
What does this error message mean and what's likely to be wrong to cause it?
Dick,
this can't be the exact LVM 0.9-Beta7 error message. Is /proc really mounted, *before* vgchange runs in /linuxrc?
BTW: why do you use such an old kernel and LVM version?
Please give a recent one and LVM 1.0.5 a try.
Quoted 14 lines
Many thanks
Dick
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 15 lines
Regards,
Heinz -- The LVM Guy --
*** 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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Heinz,
Quoted 2 lines
this can't be the exact LVM 0.9-Beta7 error message.
It sure is (except error is written ERROR and the message is on 2 lines :-) )
Quoted 2 lines
Is /proc really mounted, *before* vgchange runs in /linuxrc?
Hmm - I'm not sure how I can tell. The mount command certainly comes first and there are no visible error messages. I'm just using lvmcreate_initrd. If the mount command fails then it gives an error message and vgchange gives me different error messages so I assume it's working.
Quoted 3 lines
BTW: why do you use such an old kernel and LVM version?
Please give a recent one and LVM 1.0.5 a try.
That's what I was trying to do (for a while) until I discovered this kernel only has beta7 in it.
Curiously I had more success with 1.0.5 tools on this kernel.
I think I'll take your advice and start again.
Many thanks for your support.
Dick
Quoted 13 lines
Quoted 10 lines
vgscan appears to work ok but vgchange fails with:
Error- can't get names of physical volumes - please check if /proc is mounted.
Well, /proc is mounted - in fact if it isn't mounted I don't this error.
What does this error message mean and what's likely to be wrong to cause it?