title: snapshot backup of 25GB container | OpenVZ, Proxmox
body: <p>There is 2 containers:</p>
  
  <ul>
  <li>1st - 400Mb</li>
  <li>2nd - ~25Gb</li>
  </ul>
  
  <p>1st container(400Mb)  works fine in both of backup modes (SUSPEND and SNAPSHOT).
  But 2nd container(25Gb) make backup only in SUSPEND mode. SNAPSHOT mode is always failed.</p>
  
  <p>Both of containers make backups in the same folder (/backups).
  Here is pve storage config <code>/etc/pve/storage.cfg</code>:</p>
  
  <pre><code>dir: local
      path /var/lib/vz
      content images,iso,vztmpl,rootdir
      maxfiles 0
  
  dir: backups
      path /backups
      shared
      content backup
      maxfiles 3
  </code></pre>
  
  <p>And <code>/etc/pve/vzdump.cron</code> config:</p>
  
  <pre><code>PATH="/usr/sbin:/usr/bin:/sbin:/bin"
  
  0 4 * * 3,7         root vzdump 100 --quiet 1 --mode snapshot --node proxmox --compress lzo --storage backups
  15 4 * * 3,7         root vzdump 101 --quiet 1 --mode snapshot --node proxmox --compress lzo --storage backups
  </code></pre>
  
  <p>Here is my storage configuratin:
  <code>pvdisplay</code>:</p>
  
  <pre><code>  --- Physical volume ---
    PV Name               /dev/md1
    VG Name               pve1
    PV Size               930.89 GiB / not usable 4.81 MiB
    Allocatable           yes
    PE Size               4.00 MiB
    Total PE              238306
    Free PE               14060
    Allocated PE          224246
    PV UUID               7bVuGz-Bgty-Tq9f-....
  </code></pre>
  
  <p>And <code>lvdisplay</code>:</p>
  
  <pre><code>  --- Logical volume ---
    LV Path                /dev/pve1/swap
    LV Name                swap
    VG Name                pve1
    LV UUID                QFrmt8-FgAl-4Iz1-....
    LV Write Access        read/write
    LV Creation host, time proxmox, 2013-07-23 15:53:26 +0400
    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:1
  
    --- Logical volume ---
    LV Path                /dev/pve1/root
    LV Name                root
    VG Name                pve1
    LV UUID                LZZ4EX-QDyr-AcG9-....
    LV Write Access        read/write
    LV Creation host, time proxmox, 2013-07-23 15:53:34 +0400
    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/pve1/data
    LV Name                data
    VG Name                pve1
    LV UUID                x1i9Wo-tdDW-RcLL-....
    LV Write Access        read/write
    LV Creation host, time proxmox, 2013-07-23 15:53:51 +0400
    LV Status              available
    # open                 1
    LV Size                522.96 GiB
    Current LE             133878
    Segments               1
    Allocation             inherit
    Read ahead sectors     auto
    - currently set to     256
    Block device           253:2
  
    --- Logical volume ---
    LV Path                /dev/pve1/backup
    LV Name                backup
    VG Name                pve1
    LV UUID                Fgz6TX-XCgo-9cH5-....
    LV Write Access        read/write
    LV Creation host, time proxmox, 2014-03-28 13:10:46 +0400
    LV Status              available
    # open                 1
    LV Size                250.00 GiB
    Current LE             64000
    Segments               1
    Allocation             inherit
    Read ahead sectors     auto
    - currently set to     256
    Block device           253:3
  </code></pre>
  
  <p>Free space is quite enough. /dev/pve1/backup have 230Gb of free space and on /dev/pve1/data 360Gb is available.
  May be the reason is small size of SWAP partition (only 7Gb)? If so - how can I extend it?</p>
  
  <p>Thanks!</p>