Active IQ Unified Manager Discussions
Active IQ Unified Manager Discussions
Hi experts,
I've an OC5.0.1 system running which manages some demo datasets.
One particular has a "Backup then Mirror" policy attached.
The backup versions that PM lists for the Mirror node and the actual snapshots don't sync, thus I get the following message during restore from a mirror-node backup:
=== CLIENT ===
Version=3.1.0.4506
Build=3.1
OS Name=Windows Vista
OS Arch=x86
OS Version=6.1
=== ERROR ===
com.netapp.nmf.userinterface.error.ResourceErrorDetails
=== MESSAGE ===
Can't list the content of the backup directory /vol/minnie_nr_pri_nas_dept001_mirror on ernie:/minnie_nr_pri_nas_dept001_mirror. The reason is Unable to open directory /vol/minnie_nr_pri_nas_dept001_mirror/.snapshot/2012-04-19_1224+0200_daily/Manufacturing/: No such file or directory.
=== DETAILS ===
The specified backup location was not found. (Error 22290)
=== CORRECTIVE ACTION ===
No suggested corrective action is available.
=== STACK TRACE ===
Can't list the content of the backup directory /vol/minnie_nr_pri_nas_dept001_mirror on ernie:/minnie_nr_pri_nas_dept001_mirror. The reason is Unable to open directory /vol/minnie_nr_pri_nas_dept001_mirror/.snapshot/2012-04-19_1224+0200_daily/Manufacturing/: No such file or directory. (name=EBACKUPLOCATIONDOESNOTEXIST,errno=22290,desc=The specified backup location was not found.)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at netapp.sumo.toolkit.zephyr.errno.NaErrnoMapperUtil.createExceptionInstance(NaErrnoMapperUtil.java:38)
at netapp.sumo.toolkit.zephyr.errno.NaErrnoMapper.getNaErrno(NaErrnoMapper.java:291)
at netapp.sumo.toolkit.zephyr.errno.NaErrnoException.getNaErrno(NaErrnoException.java:103)
at netapp.sumo.toolkit.zephyr.errno.NaErrnoException.getNaErrno(NaErrnoException.java:162)
at com.netapp.nmf.userinterface.error.ErrorDetailsFactory.createErrorDetails(ErrorDetailsFactory.java:44)
at com.netapp.nmf.userinterface.exception.NaExceptionHandler.handleException(NaExceptionHandler.java:134)
at com.netapp.nmf.userinterface.exception.NaExceptionHandler.handleException(NaExceptionHandler.java:86)
at com.netapp.nmf.datam.datasets.wizards.restore.BackupContentTreeModel$1.loadingEnded(BackupContentTreeModel.java:148)
at netapp.sumo.toolkit.zephyr.model.AbstractZephyrDataLoader.fireDataLoadingEnded(AbstractZephyrDataLoader.java:117)
at netapp.sumo.toolkit.zephyr.model.AsyncZephyrDataLoader$1.run(AsyncZephyrDataLoader.java:132)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
dfpm backup list NR_Catalog_Demo_Departments | grep Mirror | wc -l
28
dfpm backup list NR_Catalog_Demo_Departments | grep Backup | wc -l
18
Looks like PM does not delete backup versions from the mirror-node correctly (backup count for Backup and Mirror node should be (mostly) the same, right?)
How can I force PM to sync the backup versions with the actual available snapshots?
Thanks and regards, Niels
Hello Neils,
Probably the APIs can be of help here. You can try deleting the backup version versions using api:
"dp-backup-version-delete"
Also there is corresponding API to create a new backup version in case you want:
"dp-backup-version-create"
Regards,
-Amir
In addition to the API, OnCommand 5.x includes the new "dfpm backup delete" CLI.
# dfpm backup delete help
NAME
delete -- Delete a backup version.
SYNOPSIS
dfpm backup delete [ -p ] <backup-id>
DESCRIPTION
Delete a backup version given its id.
Use the -p option to set the allow-deferred-delete flag to true.
I actually tried this one. Unfortunately it tries to delete the snapshot as well. As that does not exist, the call fails.
regards, Niels