delVolume

0 Likes

Prerequisites




  1. Perl must be installed and running on the Linux server where this utility will be used.




Details



This tool can be used to delete:

  1. 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>


  1. 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
-------------------------------------

Labels:

Collateral
Comment List
Anonymous
Related Discussions
Recommended