23.9 Salvage and Purge Commands

NSS offers the following commands for tuning the purging processes for a volume. To view a complete list, use the nss /help command.

Commands

Description

nss /Salvage=<volume | all> 

Enables salvage of deleted files on volumes. Volume enables the Salvage command on the specified NSS volume on the specified server. All enables the Salvage command on all NSS volumes on the specified server.

nss /NoSalvage=<volume | all> 

Disables salvage of deleted files on volumes. Volume disables the Salvage command on the specified NSS volume on the specified server. All disables the Salvage command on all NSS volumes on the specified server.

nss /LogicalVolumePurgeDelay=value

The number of seconds before deleted logical volumes are purged. This allows time to reverse the deletion.

[Default=345600]

nss /LogicalVolumePurgeDelayAfterLoad 

The number of seconds after NSS loads before deleted logical volumes are purged. This allows time to reverse the deletion.

[Default=7200]

nss 
/LogicalVolumePurgeDelayAfterContinue
=value

The number of seconds to delay purging a logical volume after clicking Continue. After a volume starts to purge, it cannot be salvaged.

[Default=900]

nss /PoolHighWaterMark=poolname:Percent

Purging begins in the salvage area when the volume’s low watermark is reached and continues until its high watermark is reached. When enough files are purged such that the free disk space increases to a percentage equal to or greater than the high watermark, the autopurge stops. Autopurging does not start again until free space again drops below the low watermark.

The high and low watermarks must be at least 2% apart from each other.

[Default=20; Range=2 to 100]

nss /PoolLowWaterMark=poolname:Percent

Purging begins in the salvage area when the volume’s low watermark is reached and continues until its high watermark is reached. When free disk space falls below a low watermark, NSS begins autopurging the salvage area.

The high and low watermarks must be at least 2% apart from each other.

[Default=10; Range=0 to 98]