Clean up stale containers, snapshots, and logs when backups hang
When NAS backups hang or are unresponsive, it is recommended to clean up any stale containers on the NAS proxy host, as well as any stale snapshots created by
PowerProtect Data Manager on the NAS appliance.
Clean up stale containers
Perform the following steps to clean up stale containers:
Obtain the credentials of the NAS proxy host.
Log in to the
PowerProtect Data Manager server console using administrator credentials, and then switch to the root user.
Obtain the list of proxy hosts deployed by running the following commands:
source /opt/emc/vmdirect/unit/vmdirect.env
source /opt/emc/vmdirect/bin/vproxymgmt get -secret
Using the host details obtained in the previous step, log in to the required NAS proxy host as an administrator, and then switch to the root user.
Run the following command to list the running containers and identify any containers that require clean up:
docker ps -a
When a backup is hung, the container NET I/O is unchanged.
Clean up the stale container(s) by running the following command:
docker rm -f
container ID
Clean up stale snapshots
Perform the following steps to clean up stale snapshots created by
PowerProtect Data Manager:
Log in to the
PowerProtect Data Manager UI.
In the left navigation pane, select
Jobs > Asset Jobs.
Select the backup job that is hung, and then click
Export Log to download the log file.
Obtain the snapshot ID by searching for text
Snapshot Name : within the NAS agent log file.
Delete the snapshot.
For PowerScale, log in to the NAS management console and perform the following steps:
Select
Data Protection > SnapshotIQ to display the snapshots and identify the snapshot ID to be cleaned up.
Select this snapshot and click
Delete.
For Unity, log in to the NAS management console and perform the following steps:
Under
File System, select the appropriate share name.
Click
Edit, and then select the
Snapshot tab in the
Properties window to display the snapshots and identify the snapshot ID to be cleaned up.
Select this snapshot and click
Delete.
Clean up the export path.
For PowerScale:
In the NAS management console, select the
Protocols tab.
For the file system type, select
Windows Sharing(SMB) or
UNIX Sharing(NFS).
Select the appropriate snapshot name and click
Delete.
For Unity:
In the NAS management console, select either the
SMB Shares or
NFS shares tab, based on the file system type.
Under the
Local Path field, search for the Snapshot Name. If the entry exists, select the entry and click
Delete.
NOTE:For Unity, export path cleanup is typically not required because this occurs during snapshot cleanup. However, this step is recommended to verify that the clean up was successful.
Clean up stale logs
Perform the following steps in the NAS protection engine to clean up stale backup session logs created by
PowerProtect Data Manager:
NOTE:To access the NAS protection engine, contact Customer Support.
Go to
/opt/emc/vproxy/runtime/logs/recycle/vbackupnasd/<timestamp>/ and
/opt/emc/vproxy/runtime/logs/recycle/daemon/<timestamp>/ and identify stale logs with the oldest
<timestamp> value.
NOTE:If required, the identified logs can be exported from vProxy using the
scp command for your future reference.
Remove logs using the
rm or
rm -rf command. Repeat this process until you get the required amount of free space in the NAS protection engine.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\