Saturday, 5 April 2014

Unable to back up large container: Acronis Error: Module=0 Code=0, Tag=0

Resolution

There are two ways to resolve the issue:
  • Bind-mount the /tmp partition onto a larger partition:
    # mkdir /vz/temp
    # mount --bind /vz/temp /tmp
    
    In order to preserve such behavior after a server reboot, add the corresponding record to /etc/fstab, e.g.:
    # echo "/vz/temp /tmp none bind 0 0" >> /etc/fstab
    
  • Change temporary storage location in PVA Agent backup plugin configuration (as of PVA 4.6.4 update 4 or 6.0):
    1. Edit /opt/pva/agent/plugins/VZABackupLibClient/VZABackupLibClient.voc
    2. Append parameter/load/params section for vzlin_backup_serializer11 with envp variables so the resulting section will look in a following way:
          <!-- vzlpl stuff -->
          <parameter>
                  <id>vzlin_backup_serializer11</id>
                  <category>plugins</category>
                  <short>Virtuozzo Backup plugin</short>
                  <load>
                          <params xsi:type="plugin_params_externType">
                                  <type>extern</type>
                                  <path>vzlpl</path>
                                  <arguments>
                                          <argv>VZABackupLibClient/VZABackupLibClient.so</argv>
                                          <argv>vzlin_backup_serializer11</argv>
                                  </arguments>
                                  <!-- Environment variables-->
                                  <envp>
                                          <item>
                                                  <name>ACRONIS_TMP_PATH</name>
                                                  <value>/vz/tmp</value>
                                          </item>
                                  </envp>
                          </params>
                  </load>
      
    3. Restart PVA Agent

No comments:

Post a Comment