Enterprise Vault Storage Expiry Fails to Delete Files Stored on NetApp Device

book

Article ID: 100010928

calendar_today

Updated On:

Description

Error Message

DTrace logs may show an error similar to the following:

 
527        14:57:47.628         [5544]        (StorageDelete)        <13280>        EV:L        {CWormPartitionFileSystem::GetRetentionPeriodExpirationDate} (Entry) fileName = [\\na01a\email_ev_2013\2013-Q1\2013\01-04\9\10D\910D8B4F7071DC66BA8633BA8E01B501.DVS]
528        14:57:47.644         [5544]        (StorageDelete)        <13280>        EV:M        CWormPartitionFileSystem::MapDeviceTimeToDateTime - read wrap around date [1/3/2043 11:22:49 AM]
529        14:57:47.644         [5544]        (StorageDelete)        <13280>        EV:L        {CWormPartitionFileSystem::GetRetentionPeriodExpirationDate} (Exit) Status: [Success]
530        14:57:47.644         [5544]        (StorageDelete)        <13280>        EV:L        {CWormPartitionFileSystem::GetItemRetentionExpiryDate} (Exit) Status: [Success]
531        14:57:47.644         [5544]        (StorageDelete)        <13280>        EV:L        {CWORMDeviceHelper::GetItemRetentionExpiryDate} (Exit) Status: [Success]
532        14:57:47.644         [5544]        (StorageDelete)        <13280>        EV:L        {CVault::GetItemRetentionExpiryDate} (Exit) Status: [Success]
533        14:57:47.644         [5544]        (StorageDelete)        <13280>        EV:L        {CVault::IsDeletePermitted} (Exit)
534        14:57:47.644         [5544]        (StorageDelete)        <13280>        EV:H        {CVault::DeleteSaveset} (Exit) Status: [The deletion of the item is not currently permitted. Either the item is on hold, or its retention category does not allow deletions, or a compliance device retention period prevents it from being deleted.      (0xc0041a57)]
535        14:57:47.644         [5544]        (StorageDelete)        <13280>        EV:H        {CStoreAccessor::DeleteItem} (Exit) Status: [The deletion of the item is not currently permitted. Either the item is on hold, or its retention category does not allow deletions, or a compliance device retention period prevents it from being deleted.      (0xc0041a57)]

Notice the 2043 date above.

 

Cause

When using the SnapLock feature, the NetApp device will also apply retention periods to files.  If the minimum_retention_period is set to 10 years and Enterprise Vault tries to use a 7 year retention, Enterprise Vault will not be able to delete those items until the 10 year retention has passed.  The default value for the minimum_retention_period is 0 and so this will usually not cause an issue unless changed.

Another issue that can occur is if the maximum_retention_period is not changed it uses a maximum 30 year retention by default.  This should be set to the shortest retention period defined in Enterprise Vault as described in the "Configuring NetApp SnapLock with Symantec Enterprise Vault" guide.  Or you can set this to infinite as described in the "Enterprise Vault Installing and Configuring" guide.  If the default 30 years is used on a file that has a date of July, 8 2013 it will get a retention period good until July, 8, 2043.  But because of a system time_t limit that cannot go past 2038 it will rollover starting at 1970.  5 years passed 2038 equates to 5 years passed 1970, or 1975.  Therefore, a symptom could be to see files stored with a last accessed date many years in the past.  When Enterprise Vault storage expiry process runs, the NetApp device will return the correct date of July 8, 2043.  Enterprise Vault will honor this storage device retention and not delete the item until July 8, 2043.

 

Resolution

The following settings are for the NetApp storage device:

  • Set the minimum_retention_period to 0 or no higher than the shortest retention defined in Enterprise Vault.
  • Set the maximum_retention_period to either the shortest retention defined in Enterprise Vault as described by the "Configuring NetApp SnapLock with Veritas Enterprise Vault" guide, or to infinite as described by the "Enterprise Vault Installing and Configuring" guide.

Applies To:

NetApp device using SnapLock feature

Enterprise Vault with Storage Expiry Enabled

Issue/Introduction

Enterprise Vault cannot remove files stored on NetApp storage device. The dates are correct in SQL but the storage expiry process fails to remove the items.