Re: LVM problem - CentOS 4.3 x86 - openvz 2.6.8-022stab072-smp [message #2693 is a reply to message #2600] |
Mon, 17 April 2006 10:12 |
miroslawgon
Messages: 16 Registered: April 2006
|
Junior Member |
|
|
The 076 kernel solved all my problems with LVM, I can now create, resize and mount LV's.
There is only one problem:
After system reboot there are no LVM devices in /dev, system drops me to single user mode with message that's somethings wrong with hard drive and fsck can't read some sectors.
Solution to this problem:
edit /etc/lvm/lvm.conf
# Where do you want your volume groups to appear ?
dir = "/lvm" <--- change this to some directory outside /dev
# An array of directories that contain the device nodes you wish
# to use with LVM2.
scan = [ "/lvm" ] <--- change this to some directory outside /dev
Reboot and everything works now.
Tip for users with HighPoint RR2220 RAID card:
If you use module drivers and LVM
edit the /etc/rc.sysinit
add
echo "Loading HPT RR2220 module ..."
modprobe hptmv6
before LVM section (# LVM2 initialization)
dev, thanks for your help!
|
|
|