Workaround Avamar 6.1.2_47 – repl_cron replication issue – Error writing 32-byte header to cache file

found a bug in Avamar 6.1.2_47 with automatic replication / Repl_cron

Replication seems to fail.
When looking a the /usr/local/avamar/var/cron/replicate.log, you will see following entries:

2013/11/07-20:01:51 avtar Info <5688>: Loading hash cache /usr/local/avamar/var/p_bewetbu11.be.blabla.net-begerbu10-AVI_BACKUPS.dat
2013/11/07-20:01:51 avtar Info <8650>: Opening cache file /usr/local/avamar/var/p_bewetbu11.be.blabla.net-begerbu10-AVI_BACKUPS.dat
2013/11/07-20:01:51 avtar Error <5064>: Cannot open file “/usr/local/avamar/var/p_bewetbu11.be.blabla.net-begerbu10-AVI_BACKUPS.dat”
2013/11/07-20:01:51 avtar Info <5065>: Creating new cache file /usr/local/avamar/var/p_bewetbu11.be.blabla.net-begerbu10-AVI_BACKUPS.dat (1,573,408 bytes)
2013/11/07-20:01:51 avtar Error <5803>: Error writing 32-byte header to cache file /usr/local/avamar/var/p_bewetbu11.be.blabla.net-begerbu10-AVI_BACKUPS.dat.  Possibly out of disk space
2013/11/07-20:01:51 avtar FATAL <5225>: Unable to open hash cache in directory ‘/usr/local/avamar/var’
EMC support confirmed this is a bug in Avamar 6.1.2_47 and should be solved in Avamar 7.
Cause: admin ownership of p_cache files
root@begerbu10:/usr/local/avamar/var/#: ls -l p_*
-rw-rw-rw- 1 dpn   admin  1573408 Nov  5 19:02 p_bewetbu10.be.blabla.net-begerbu10-AVI_BACKUPS.dat
-rw-rw-rw- 1 dpn   admin  1573408 Nov  5 19:29 p_bewetbu10.be.blabla.net-begerbu10-EM_BACKUPS.dat
-rw-rw-rw- 1 dpn   admin  1573408 Nov  5 19:29 p_bewetbu10.be.blabla.net-begerbu10-MC_BACKUPS.dat
-rw-rw-rw- 1 dpn   admin 25166368 Nov  5 19:28 p_bewetbu10.be.blabla.net-begerbu10-begerms1.be.blabla.net.dat
-rw-rw-rw- 1 dpn   admin 12583456 Oct 18 11:42 p_bewetbu10.be.blabla.net-begerbu10-vmwarepc064_UDSJFteNWuob4sn3tVBcLQ.dat
-rw-r–r– 1 admin admin  1573408 Nov  7 16:00 p_bewetbu11.be.blabla.net-begerbu10-AVI_BACKUPS.dat
-rw-r–r– 1 admin admin  1573408 Nov  7 16:38 p_bewetbu11.be.blabla.net-begerbu10-EM_BACKUPS.dat
-rw-r–r– 1 admin admin  1573408 Nov  7 16:39 p_bewetbu11.be.blabla.net-begerbu10-MC_BACKUPS.dat
-rw-r–r– 1 admin admin  1573408 Nov  7 16:37 p_bewetbu11.be.blabla.net-begerbu10-begerms1.be.blabla.net.dat
Workaround: change ownership from admin to dpn account
root@begerbu10:/usr/local/avamar/var/#: chown dpn p_bewetbu11.be.blabla.net-begerbu10-AVI_BACKUPS.dat
root@begerbu10:/usr/local/avamar/var/#: chown dpn p_bewetbu11.be.blabla.net-begerbu10-EM_BACKUPS.dat
root@begerbu10:/usr/local/avamar/var/#: chown dpn p_bewetbu11.be.blabla.net-begerbu10-MC_BACKUPS.dat
root@begerbu10:/usr/local/avamar/var/#: chown dpn p_bewetbu11.be.blabla.net-begerbu10-begerms1.be.blabla.net.dat
Advertisements

2 thoughts on “Workaround Avamar 6.1.2_47 – repl_cron replication issue – Error writing 32-byte header to cache file

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s