OpenVZ Forum


Home » General » Support » LVM problem - CentOS 4.3 x86 - openvz 2.6.8-022stab072-smp
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 Go to previous message
miroslawgon is currently offline  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!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vps memory leak
Next Topic: No module aic7xxx found for kernel 2.6.8-022stab076.1
Goto Forum:
  


Current Time: Mon Nov 18 01:10:36 GMT 2024

Total time taken to generate the page: 0.03084 seconds