OpenVZ Forum


Home » General » Support » LVM snapshots on 2.6.8-022stab064.1-enterprise
Re: LVM snapshots on 2.6.8-022stab064.1-enterprise [message #1795 is a reply to message #1740] Fri, 24 February 2006 19:30 Go to previous messageGo to previous message
crackez is currently offline  crackez
Messages: 3
Registered: February 2006
Location: Philadelphia Area
Junior Member
I was able to get lvm snapshots working.
I tested it with ovzkernel-2.6.8-022stab070.1.src.rpm, changed one line in the enterprise config (CONFIG_DM_SNAPSHOT=y), and rebuilt.

rpm -ivh ovzkernel-2.6.8-022stab070.1.src.rpm
# make changes to config - set CONFIG_DM_SNAPSHOT=y
vim /usr/src/redhat/SOURCES/kernel-2.6.8-022stab070-i686-enterprise.config.ovz
rpmbuild -bb --target=i686 /usr/src/redhat/SPECS/kernel-ovz.spec
# wait a little while
rpm -ivh /usr/src/redhat/RPMS/i686/ovzkernel-enterprise-2.6.8-022stab070.1.i686.rpm
reboot


Snapshots seem to be working fine with the new build.

# lvcreate -s -l 20 -n snap_vz vg_sys/vz
  Logical volume "snap_vz" created
# lvremove -f vg_sys/snap_vz
  Logical volume "snap_vz" successfully removed


Hope this helps.

--Andy
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: support for bridging?
Next Topic: Huge problem with baselayout-vserver after update...
Goto Forum:
  


Current Time: Tue Jul 29 19:00:16 GMT 2025

Total time taken to generate the page: 0.08559 seconds