Tool
by Vijayababu Dandi
Utility for deleting pool snapshots on a OES2 Linux Server.
Prerequisites
- Perl must be installed and running on the Linux server where this utility will be used.
- NSS must be installed to get the VFS support.
(The SDK for this API set can be downloaded from http://developer.novell.com/wiki/index.php/Virtual_File_Services_for_NetWare.)
Details
This tool can be used to delete:
- Specified Pool Snapshot
- Snapshots taken on particular pool
- All Snapshots on OES2 Linux server.
It uses Virtual File Services (Originally called Virtual File Services for NetWare) for the deletion of the Snapshots.
How to use the utility:
From a terminal prompt type:
Perl delPoolSnap.pl <enter>
Following menu will be displayed:
- Delete pool snapshot
- Delete all pool snapshots
- Delete snapshots taken on particular pool
- Exit
A sample output on selecting 1 would be:
<Lists all the pool snapshots existing on the machine and prompts snapshot name to be deleted>
Select action: 1 ------------------------------------------------------- Snapshot Name : SNAP1 ----------------------------------------------------- Snapshot Name : SNAP2 ----------------------------------------------------- Snapshot Name : SNAP3 ----------------------------------------------------- Snapshot Name : SNAP4 ----------------------------------------------------- Snapshot Name : SNAP5 ----------------------------------------------------- Enter the Snapshot name: snap5 Delete Snapshot SNAP5(Yes/No): Yes If the user provides “Yes” as input, the utility will delete the snapshot. ------------------------------------------- pool snapshot SNAP5 deleted
A sample output on selecting 2 would be:
Select action: 2 Delete all pool snapshots (Yes/No): Yes Deleting pool snapshot: SNAP1 Deleting pool snapshot: SNAP2 Deleting pool snapshot: SNAP3 Deleting pool snapshot: SNAP4
A sample output on selecting 3 would be:
Select action: 3 Existing Pools: P_NEW POOL1 POOL2 NEWPOOLNAME Enter the Pool Name: pool1 Deleting pool snapshot: SNAP2 Deleting pool snapshot: SNAP3
| Attachment | Size |
|---|---|
| delPoolSnap.zip | 2.52 KB |
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.
Related Articles
User Comments
- Be the first to comment! To leave a comment you need to Login or Register
- 4331 reads


0