Tool
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....)
Details
This tool can be used to delete:
- Specified Volume
- Volumes created on particular pool
- All Volumes on OES2 Linux server.
It uses Virtual File Services (Originally called Virtual File Services for NetWare) for the deletion of the Volumes
How to use the utility:
From a terminal prompt type:
Perl delVolume.pl <enter>
- To Delete Specified Volume
- To Delete all Volumes
- To Delete volumes created on specified pool
- Exit
Select action:
A sample output on selecting 1 would be:
<Lists all the volumes existing on the machine and prompts volume name to be deleted> Select action: 1 Existing Volumes --------------------------- TEST VOL1 VOL2 VOL3 VOL4 VOL5 VOL6 Enter Volume Name:vol1 Deleting Volume : VOL1 ------------------------------------- volume VOL1 successfully deleted ------------------------------------- A sample output on selecting 2 would be: Select action: 2 Deleting Volume : TEST ------------------------------------- volume TEST successfully deleted ------------------------------------- Deleting Volume : VOL2 ------------------------------------- volume VOL2 successfully deleted ------------------------------------- Deleting Volume : VOL3 ------------------------------------- volume VOL3 successfully deleted ------------------------------------- Deleting Volume : VOL4 ------------------------------------- volume VOL4 successfully deleted ------------------------------------- Deleting Volume : VOL5 ------------------------------------- volume VOL5 successfully deleted ------------------------------------- A sample output on selecting 3 would be: Select action: 3 Pools Existing: TEST P1 P2 P3 Enter the Pool Name: p1 Deleting Volume : VOL1 ------------------------------------- volume VOL1 successfully deleted ------------------------------------- Deleting Volume : VOL3 ------------------------------------- volume VOL3 successfully deleted ------------------------------------- Deleting Volume : VOL2 ------------------------------------- volume VOL2 successfully deleted -------------------------------------
| Fichier attaché | Taille |
|---|---|
| delVolume.pl.txt | 7.38 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
- 3724 reads


0