Quantcast
Viewing all articles
Browse latest Browse all 171175

mode failure - unable to detect lvm volume group on PVE 3.1

Hello guy :)

I have a problems with Backup as Snapshot / LZO. it warn "mode failure - unable to detect lvm volume group"

I use PVE 3.1

Log

Code:

INFO: starting new backup job: vzdump 100 --remove 0 --mode snapshot --compress lzo --storage backups --node proxmox
INFO: Starting Backup of VM 100 (openvz)
INFO: CTID 100 exist mounted running
INFO: status = running
INFO: mode failure - unable to detect lvm volume group
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: starting first sync /images/private/100/ to /backups/dump/vzdump-openvz-100-2013_09_10-12_41_27.tmp
INFO: Number of files: 70719
INFO: Number of files transferred: 58021
INFO: Total file size: 4500281988 bytes
INFO: Total transferred file size: 4479408173 bytes
INFO: Literal data: 4479408173 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 1683010
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 4484348534
INFO: Total bytes received: 1360066
INFO: sent 4484348534 bytes  received 1360066 bytes  87101137.86 bytes/sec
INFO: total size is 4500281988  speedup is 1.00
INFO: first sync finished (51 seconds)
INFO: suspend vm
INFO: Setting up checkpoint...
INFO:    suspend...
INFO:    get context...
INFO: Checkpointing completed successfully
INFO: starting final sync /images/private/100/ to /backups/dump/vzdump-openvz-100-2013_09_10-12_41_27.tmp
INFO: Number of files: 70719
INFO: Number of files transferred: 0
INFO: Total file size: 4500281988 bytes
INFO: Total transferred file size: 0 bytes
INFO: Literal data: 0 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 1683010
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 1690007
INFO: Total bytes received: 6996
INFO: sent 1690007 bytes  received 6996 bytes  199647.41 bytes/sec
INFO: total size is 4500281988  speedup is 2651.90
INFO: final sync finished (8 seconds)
INFO: resume vm
INFO: Resuming...
INFO: vm is online again after 8 seconds
INFO: creating archive '/backups/dump/vzdump-openvz-100-2013_09_10-12_41_27.tar.lzo'
INFO: Total bytes written: 4543467520 (4.3GiB, 68MiB/s)
INFO: archive file size: 1.89GB
INFO: Finished Backup of VM 100 (00:02:09)
INFO: Backup job finished successfully
TASK OK

My LVM look seem fine here

#df -vh

Code:

Filesystem                        Size  Used Avail Use% Mounted on
udev                              10M    0  10M  0% /dev
tmpfs                            794M  344K  794M  1% /run
/dev/mapper/pve-root              95G  6.1G  84G  7% /
tmpfs                            5.0M    0  5.0M  0% /run/lock
tmpfs                            1.6G  22M  1.6G  2% /run/shm
/dev/mapper/pve-data              800G  2.8G  797G  1% /var/lib/vz
/dev/sda1                        495M  56M  414M  12% /boot
/dev/mapper/vgbackups-lvmbackups  1.8T  13G  1.7T  1% /backups
/dev/fuse                          30M  16K  30M  1% /etc/pve
/dev/mapper/imagescache          1.8T  4.6G  1.7T  1% /images
/images/private/100              500G  4.4G  496G  1% /var/lib/vz/root/100
none                              1.0G  4.0K  1.0G  1% /var/lib/vz/root/100/dev
none                              1.0G  24K  1.0G  1% /var/lib/vz/root/100/dev/shm


#pvdisplay
Code:

--- Physical volume ---  PV Name              /dev/sdc1
  VG Name              vgbackups
  PV Size              1.82 TiB / not usable 4.09 MiB
  Allocatable          yes (but full)
  PE Size              4.00 MiB
  Total PE              476931
  Free PE              0
  Allocated PE          476931
  PV UUID              33lP8Y-sW5q-3KJe-nIJb-I92x-PIGp-HhuQ4X


  --- Physical volume ---
  PV Name              /dev/sdb1
  VG Name              vgimages
  PV Size              1.82 TiB / not usable 4.09 MiB
  Allocatable          yes (but full)
  PE Size              4.00 MiB
  Total PE              476931
  Free PE              0
  Allocated PE          476931
  PV UUID              BfQnNm-3iIW-Z3wl-FnM0-d2Kb-mY1b-GkgdCI


  --- Physical volume ---
  PV Name              /dev/sda2
  VG Name              pve
  PV Size              931.01 GiB / not usable 0
  Allocatable          yes
  PE Size              4.00 MiB
  Total PE              238339
  Free PE              4095
  Allocated PE          234244
  PV UUID              LhffLX-ncb3-hzz0-oKyC-B9ZW-JzAc-khcwFi

#vgdisplay
Code:

  --- Volume group ---
  VG Name              vgbackups
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access            read/write
  VG Status            resizable
  MAX LV                0
  Cur LV                1
  Open LV              1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size              1.82 TiB
  PE Size              4.00 MiB
  Total PE              476931
  Alloc PE / Size      476931 / 1.82 TiB
  Free  PE / Size      0 / 0
  VG UUID              ZIQF7D-YYfS-SGUv-U3Mz-qToQ-7VpW-1eReaB


  --- Volume group ---
  VG Name              vgimages
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access            read/write
  VG Status            resizable
  MAX LV                0
  Cur LV                1
  Open LV              1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size              1.82 TiB
  PE Size              4.00 MiB
  Total PE              476931
  Alloc PE / Size      476931 / 1.82 TiB
  Free  PE / Size      0 / 0
  VG UUID              Ak1N5w-AP9U-oKCU-zrnm-oeYF-3dRM-u1eo5h


  --- Volume group ---
  VG Name              pve
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  20
  VG Access            read/write
  VG Status            resizable
  MAX LV                0
  Cur LV                3
  Open LV              3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size              931.01 GiB
  PE Size              4.00 MiB
  Total PE              238339
  Alloc PE / Size      234244 / 915.02 GiB
  Free  PE / Size      4095 / 16.00 GiB
  VG UUID              6AP7TE-0m7g-7na3-bFu2-XPOQ-oOYz-kCoQrV

lvdisplay
Code:

  --- Logical volume ---
  LV Path                /dev/vgbackups/lvmbackups
  LV Name                lvmbackups
  VG Name                vgbackups
  LV UUID                aFgV7t-MeYw-ujO7-oO4H-AW9w-0z1Y-ldLUy2
  LV Write Access        read/write
  LV Creation host, time proxmox, 2013-08-23 17:26:37 +0700
  LV Status              available
  # open                1
  LV Size                1.82 TiB
  Current LE            476931
  Segments              1
  Allocation            inherit
  Read ahead sectors    auto
  - currently set to    256
  Block device          253:1


  --- Logical volume ---
  LV Path                /dev/vgimages/lvmimages
  LV Name                lvmimages
  VG Name                vgimages
  LV UUID                9Xr8vo-GDym-I4fL-cS3j-0vtL-mbl6-IlREiC
  LV Write Access        read/write
  LV Creation host, time proxmox, 2013-08-23 17:51:49 +0700
  LV Status              available
  # open                1
  LV Size                1.82 TiB
  Current LE            476931
  Segments              1
  Allocation            inherit
  Read ahead sectors    auto
  - currently set to    256
  Block device          253:2


  --- Logical volume ---
  LV Path                /dev/pve/swap
  LV Name                swap
  VG Name                pve
  LV UUID                PQtqQO-7HcJ-LKUZ-lKmk-fcif-QMJH-LkLyJY
  LV Write Access        read/write
  LV Creation host, time proxmox, 2013-07-17 00:19:41 +0700
  LV Status              available
  # open                1
  LV Size                7.00 GiB
  Current LE            1792
  Segments              1
  Allocation            inherit
  Read ahead sectors    auto
  - currently set to    256
  Block device          253:3


  --- Logical volume ---
  LV Path                /dev/pve/root
  LV Name                root
  VG Name                pve
  LV UUID                y1lQdi-MQzi-jveJ-tL2C-kPNO-eOUv-4BkAop
  LV Write Access        read/write
  LV Creation host, time proxmox, 2013-07-17 00:19:42 +0700
  LV Status              available
  # open                1
  LV Size                96.00 GiB
  Current LE            24576
  Segments              1
  Allocation            inherit
  Read ahead sectors    auto
  - currently set to    256
  Block device          253:0


  --- Logical volume ---
  LV Path                /dev/pve/data
  LV Name                data
  VG Name                pve
  LV UUID                krWdxv-aMaj-CNmU-C6tz-jMHk-5xpe-IaWEk2
  LV Write Access        read/write
  LV Creation host, time proxmox, 2013-07-17 00:19:42 +0700
  LV Status              available
  # open                1
  LV Size                812.02 GiB
  Current LE            207876
  Segments              1
  Allocation            inherit
  Read ahead sectors    auto
  - currently set to    256
  Block device          253:4




#cat /etc/pve/storage.cfg
Code:

dir: local    path /var/lib/vz
    content images,iso,vztmpl,rootdir
    maxfiles 99


dir: backups
    path /backups
    content iso,vztmpl,backup
    maxfiles 99


dir: image-ct
    path /images
    content images,rootdir

    maxfiles 0





#cat
/etc/pve/openvz/100.conf
Code:

ONBOOT="no"

PHYSPAGES="0:524288"
SWAPPAGES="0:1048576"
KMEMSIZE="975175680:1073741824"
DCACHESIZE="487587840:536870912"
LOCKEDPAGES="262144"
PRIVVMPAGES="unlimited"
SHMPAGES="unlimited"
NUMPROC="unlimited"
VMGUARPAGES="0:unlimited"
OOMGUARPAGES="0:unlimited"
NUMTCPSOCK="unlimited"
NUMFLOCK="unlimited"
NUMPTY="unlimited"
NUMSIGINFO="unlimited"
TCPSNDBUF="unlimited"
TCPRCVBUF="unlimited"
OTHERSOCKBUF="unlimited"
DGRAMRCVBUF="unlimited"
NUMOTHERSOCK="unlimited"
NUMFILE="unlimited"
NUMIPTENT="unlimited"


# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="524288000:576716800"
DISKINODES="100000000:110000000"
QUOTATIME="0"
QUOTAUGIDLIMIT="0"


# CPU fair scheduler parameter
CPUUNITS="1000"
CPUS="4"
HOSTNAME="fuelzhosting.com"
SEARCHDOMAIN="fuelzhosting.com"
NAMESERVER=""
IP_ADDRESS=""
VE_ROOT="/var/lib/vz/root/100"
VE_PRIVATE="/images/private/100"

OSTEMPLATE="centos-6-standard_6.3-1_amd64.tar.gz"

# lsblk
Code:

NAME                            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda                              8:0    0 931.5G  0 disk
|-sda1                            8:1    0  511M  0 part /boot
`-sda2                            8:2    0  931G  0 part
  |-pve-root (dm-0)            253:0    0    96G  0 lvm  /
  |-pve-swap (dm-3)            253:3    0    7G  0 lvm  [SWAP]
  `-pve-data (dm-4)            253:4    0  812G  0 lvm  /var/lib/vz
sdb                              8:16  0  1.8T  0 disk
`-sdb1                            8:17  0  1.8T  0 part
  `-vgimages-lvmimages (dm-2)  253:2    0  1.8T  0 lvm
    `-imagescache (dm-5)        253:5    0  1.8T  0 dm  /images
sdc                              8:32  0  1.8T  0 disk
`-sdc1                            8:33  0  1.8T  0 part
  `-vgbackups-lvmbackups (dm-1) 253:1    0  1.8T  0 lvm  /backups
sdd                              8:48  0 111.8G  0 disk
`-sdd1                            8:49  0 111.8G  0 part
  `-imagescache (dm-5)          253:5    0  1.8T  0 dm  /images
sr0                              11:0    1  1024M  0 rom




How to fix it?
Thank you.

Viewing all articles
Browse latest Browse all 171175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>