Avamar: Linux backups complete with Exception with Avtar Error linuxsecurity init("/mnt/xx") llistxattr() failed
Summary: Avamar Linux backup fails with avtar errors: llistxattr() returns errno 61 on Common Internet File System (CIFS) (Server Message Block) share mount /mnt/xxxx.
Symptoms
A new Common Internet File System (CIFS) share mount point was added to the dataset.
Avamar Linux backups complete with Exception with Avtar Errors.
The following errors are seen in the client logs (/usr/local/avamar/var/clientlogs/):
2019-02-17 20:57:06 avtar Warning <40010>: High memory consumption: Total:5907MB - Base:252MB - Hashcache:1536MB - Filecache:91MB = 4028MB (excessive=2048MB)
2019-02-17 20:57:06 avtar Info <10528>: GComMgrQueue=0(0MB) max=16(0MB), Chunker=0(0MB) max=0MB, Pending=0 int + 0 ext msgs, Maxpending=40
2019/02/17-19:59:17.60885 [avtar] ERROR: <0001> linuxsecurity::init("/mnt/xxxxx") llistxattr() failed with errno=61, len=-1, bufsize=4096
2019/02/17-19:59:17.68074 [avtar] ERROR: <0001> linuxsecurity::init("/mnt/xxxxx") llistxattr() failed with errno=61, len=-1, bufsize=4096
2019/02/17-19:59:17.72402 [avtar] ERROR: <0001> linuxsecurity::init("/mnt/xxxxxx/bulletin") llistxattr() failed with errno=61, len=-1, bufsize=4096
After adding "--debug" to /usr/local/avamar/var/avtar.cmd, the debug logs show:
2019/02/22-15:28:53.97401 [avtar] SERVLOG: dpninx=0 ack=0 <ERROR pid="Unix" pidnum="1001" sessionid="9155084933753209" cid="9e99aab3ba92a705d91c" wid="LINUX-xxx-xxx-xxxxx-1550849337530"> >>
<ERROR>linuxsecurity::init("/mnt/xxxxxxxx/xxxxx/xxxxx/102684") llistxattr() failed with errno=61, len=-1, bufsize=4096</ERROR> </ERROR>
---------------------------------
2019/02/22-15:28:54.10412 [avtar] ERROR: <0001> linuxsecurity::init("/mnt/xxxxxxxx/bulletin/H201907/102685") llistxattr() failed with errno=61, len=-1, bufsize=4096
2019/02/22-15:28:54.18754 [avtar] ERROR: <0001> linuxsecurity::init("/mnt/xxxxxxx/bulletin/H201907/102686") llistxattr() failed with errno=61, len=-1, bufsize=4096
2019/02/22-15:28:56.87687 [avtar] nbackfile::container_cachehit calling synthobj loc:media: ddr fmt:3 bid: 1D4C95C8913E36A >>
cid: 1 cover: 1544456 head: 236 foot: 52 abs:21881614264 chksum: 446393079 chktype: 1 hdrchksum: 0 bdychksum: 0 ftrchksum: 0, enc_ctr:[null], emd_relpth:
The Errors coming from this partition: /mnt/xxxxx/bulletin/
The output of the "df -h" command shows that the mount point is a is CIFS share //storage-xxxxx/xxxxx-xxxxx 8.0E 0 8.0E 0% /mnt/xxxxxxxxx
Cause
The affected mount point appears to be a CIFS share which is causing the avtar issue.
Resolution
To resolve this issue, perform one of the following steps:
1.The commended solution is to backup the CIFS shares at the source rather than the mount point:
- Remove this CIFS from the dataset.
- Backup the data at the source and exclude it from the backup list on the system.
2. Add the following switch to the avtar command to address the Access Control Lists (ACL):
--ignoreacls