Search

Language:  
Search for:

  • Article for your preferred language does not exist. Below is international version of the article.
Available article translations:

Unable to backup containers to NFS share

APPLIES TO:
  • Parallels Cloud Server
  • Parallels Virtuozzo Containers for Linux
  • Parallels Server
  • Parallels Virtual Automation

Symptoms

A container backup fails with the following error:

[root@vz-backup ~]# vzabackup -F --backup-folder-path /vz/backups/test localhost -e 800900
Starting backup operation for node 'vz-backup.fastit.net'...
...
Backup operation for node 'vz-backup.fastit.net' failed: Failed to perform the file backup
Acronis Error: Module=0 Code=0, Tag=0,
Backup failed

Backup folder is located at NFS share:

[root@vz-backup ~]# mount | grep backup
192.168.254.1:/backup0 on /vz/backups type nfs (rw,noatime,nfsvers=3,mountproto=tcp,addr=192.168.254.1,mountaddr=192.168.254.1)

PVA Agent log file with log level 4 shows the following errors:

Acronis Error: Module=4 Code=20, "Access to the file is denied."{$module="ERROR_MODULE_NAME"}, Tag=4440164880728584274,K:/574/file/unix/posixsp.cpp:Open:468
Acronis Error: Module=4 Code=23, "Failed to lock the file."{$module="ERROR_MODULE_NAME"}, Tag=4440164880728583947,K:/574/file/unix/posixsp.cpp:DoLockFileHandle:141
Acronis Error: Module=0 Code=65521, "Input/output error"{code=5}{$module="ERROR_MODULE_NAME"}, Tag=bd28fdbd64edb900,K:/574/common/error.cpp:AddPosixError:142
/opt/pva/agent/lib/libVZLBackup.so.6.0 (VZL::setAcronisErrorMessage(char const*, Common::Error const&) + 0x589) [0x7ff256b24bcf]
T=15:37:14:333; L=(dbg); PID=36294; TID=7ff249094700; P=VZLBackup [translateAcronisErrorCode] Calling [int VZL::<unnamed>::translateAcronisErrorCode(unsigned int)]
T=15:37:14:333; L=(dbg); PID=36294; TID=7ff249094700; P=VZLBackup [endCommand] [VZLClientDataExchange::endCommand] Got Acronis Error.
Acronis Error: Module=4 Code=20, "Access to the file is denied."{$module="ERROR_MODULE_NAME"}, Tag=4440164880728584274,K:/574/file/unix/posixsp

Cause

Improper NFS server configuration, which doesn't allow the backup process to lock container files.

Resolution

Three possible ways of resolution:

  1. [Preferable] Solve the issues with the NFS server, so that it allows remote locks.

  2. Remount the NFS share with "local_lock" option. The option is available for NFS v2/v3 only.

  3. [Least preferable] Remount the NFS share with "nolock" option.

Search words:

acronis

cannot backup

Failed to lock the file

Input/output error

nfs

Access to the file is denied

Backup operation failed at 100%

backup




ca05eaf5b843fbd53589c90d7228a6df 2897d76d56d2010f4e3a28f864d69223 909d99074e442b52ce54cc7b31cf065d eb0ea3b827d18de2329b6477e24c1d59 de15ebe36a547439f84e5981418f36c7 bf1c3a170005eae151f49ba2720abde9

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Server Virtualization
- Parallels Cloud Server
- Parallels Containers for Windows 6.0
- Parallels Virtuozzo Containers
Automation
- Parallels Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Web Presence Builder
- Parallels Plesk Automation
- Parallels Small Business Panel
- Value-added Services for Hosters
- Parallels Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification