unable to detect lvm volume group

slifin

New Member
Dec 31, 2013
13
0
1
I'm trying to get support for live snapshots in openVZ using LVM
this is the output of lvdisplay:

--- Logical volume ---
LV Path /dev/harddrives/volume1
LV Name volume1
VG Name harddrives
LV UUID cOHrn2-8Per-17JE-10ai-M9ei-wqXx-o5cce2
LV Write Access read/write
LV Creation host, time ns316682, 2014-08-12 12:02:47 +0200
LV Status available
# open 1
LV Size 1.82 TiB
Current LE 476899
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

I've setup my backup storage as a directory on /mnt/storage which the logical volume is mounted to,
the LVM is on top of a RAID of two drives and the container I am trying to backup is on another raid (2x2)

When I go to do a backup proxmox says
'unable to detect lvm volume group'

Is there any reason it's not using my volume group?
 
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=8242099,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=6595708k,mode=755 0 0
/dev/md1 / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered,discard 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=14010180k 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
/dev/fuse /etc/pve fuse rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other 0 0
beancounter /proc/vz/beancounter cgroup rw,relatime,blkio,name=beancounter 0 0
container /proc/vz/container cgroup rw,relatime,freezer,devices,name=container 0 0
fairsched /proc/vz/fairsched cgroup rw,relatime,cpuacct,cpu,cpuset,name=fairsched 0 0
/var/lib/vz/private/101 /var/lib/vz/root/101 simfs rw,relatime 0 0
proc /var/lib/vz/root/101/proc proc rw,relatime 0 0
sysfs /var/lib/vz/root/101/sys sysfs rw,relatime 0 0
none /var/lib/vz/root/101/dev devtmpfs rw,nosuid,noexec,relatime,size=25600000k,nr_inodes=6400000,mode=755 0 0
none /var/lib/vz/root/101/dev/pts devpts rw,nosuid,noexec,relatime,mode=600,ptmxmode=000 0 0
none /var/lib/vz/root/101/proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
none /var/lib/vz/root/101/sys/fs/cgroup tmpfs rw,relatime,size=4k,nr_inodes=6400000,mode=755 0 0
none /var/lib/vz/root/101/run tmpfs rw,nosuid,noexec,relatime,size=5120000k,nr_inodes=6400000,mode=755 0 0
none /var/lib/vz/root/101/run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,nr_inodes=6400000 0 0
none /var/lib/vz/root/101/run/shm tmpfs rw,relatime,size=25600000k,nr_inodes=6400000 0 0
none /var/lib/vz/root/101/run/user tmpfs rw,nosuid,nodev,noexec,relatime,size=102400k,nr_inodes=6400000,mode=755 0 0
/var/lib/vz/private/102 /var/lib/vz/root/102 simfs rw,relatime 0 0
proc /var/lib/vz/root/102/proc proc rw,relatime 0 0
sysfs /var/lib/vz/root/102/sys sysfs rw,relatime 0 0
none /var/lib/vz/root/102/dev devtmpfs rw,relatime,size=774144k,nr_inodes=193536,mode=755 0 0
none /var/lib/vz/root/102/dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0
none /var/lib/vz/root/102/dev/shm tmpfs rw,relatime,size=774144k,nr_inodes=193536 0 0
none /var/lib/vz/root/102/proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
/dev/mapper/harddrives-volume1 /mnt/storage ext4 rw,relatime,barrier=1,data=ordered 0 0
/var/lib/vz/private/100 /var/lib/vz/root/100 simfs rw,relatime 0 0
proc /var/lib/vz/root/100/proc proc rw,relatime 0 0
sysfs /var/lib/vz/root/100/sys sysfs rw,relatime 0 0
none /var/lib/vz/root/100/dev devtmpfs rw,nosuid,noexec,relatime,size=7168000k,nr_inodes=1792000,mode=755 0 0
none /var/lib/vz/root/100/dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
none /var/lib/vz/root/100/proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
none /var/lib/vz/root/100/sys/fs/cgroup tmpfs rw,relatime,size=4k,nr_inodes=1792000,mode=755 0 0
none /var/lib/vz/root/100/run tmpfs rw,nosuid,noexec,relatime,size=1433600k,nr_inodes=1792000,mode=755 0 0
none /var/lib/vz/root/100/run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,nr_inodes=1792000 0 0
none /var/lib/vz/root/100/run/shm tmpfs rw,relatime,size=7168000k,nr_inodes=1792000 0 0
none /var/lib/vz/root/100/run/user tmpfs rw,nosuid,nodev,noexec,relatime,size=102400k,nr_inodes=1792000,mode=755 0 0
 
I've setup my backup storage as a directory on /mnt/storage which the logical volume is mounted to,
the LVM is on top of a RAID of two drives and the container I am trying to backup is on another raid (2x2)

If you want LVM snapshot backup, your containers need to reside on LVM, i.e. /var/lib/vz needs to be on LVM.