Softaculous


Topic : lvm.conf


Posted By: mitgib on March 23, 2015, 2:26 am
Noticed this after I migrated a KVM container which was using LVM, on Ubunt14.04 LTS for the host node, /etc/lvm/lvm.conf needs the following modified to prevent the host OS from freaking out
Code

    # By default we accept every block device:
    filter = [ "a/sda/", "r/.*/" ]


This node only has a /dev/sda block device, but edit as needed if you have more than a single block device


Edited by mitgib : March 23, 2015, 2:26 am

Posted By: asim_shaikh on March 27, 2015, 3:39 am | Post: 1
Hi,

Can you please elaborate what issue you faced after migration from ubuntu which were resolved after changing the lvm.conf ?
As these changes are not required.


-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com

Posted By: mitgib on March 27, 2015, 11:30 am | Post: 2
I added this based on my configuration of OpenStack as detailed here http://docs.openstack.org/juno/install-guide/install/apt/content/cinder-install-storage-node.html

This advice is given for Ubuntu and RHEL, so it is not ubuntu specific. See step 8

I've added this to Virtualizor as preventative. Users who have access to ISO images will do whatever is available, so I cannot expect them not to use LVM within their containers.

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.