Loading...

SetDriveProperty

Scope

Intended Audience
All X
CommVault Internal  
CE/System Test  
Development  

Platform

  • CommServer (Database: CommServ)

Release

  • 11.0.0

Description


Script set drive properties.



Parameters:


  • TapeLibraryName : Name of the Tape library.
     

  • DriveAliasName : Name of the drive.
     

  • opType : Operation type.
     

  • Usage

    Generic script for setting drive properties


    Usage:


    To enable drive.


  • qoperation execscript -sn QS_SetDriveProperty -si @opType = '1' -si @TapeLibraryName='Name of the library' -si @DriveAliasName = 'Drive Alias Name'
     

  • To disable drive.


  • qoperation execscript -sn QS_SetDriveProperty -si @opType = '2' -si @TapeLibraryName='Name of the library' -si @DriveAliasName = 'Drive Alias Name'
     

  • To Mark drive offline for maintenance.


  • qoperation execscript -sn QS_SetDriveProperty -si @opType = '3' -si @TapeLibraryName='Name of the library' -si @DriveAliasName = 'Drive Alias Name'
     

  • To disable marking the drive offline for maintenance.


  • qoperation execscript -sn QS_SetDriveProperty -si @opType = '4' -si @TapeLibraryName='Name of the library' -si @DriveAliasName = 'Drive Alias Name'
     

  • To mark drive as read only.


  • qoperation execscript -sn QS_SetDriveProperty -si @opType = '5' -si @TapeLibraryName='Name of the library' -si @DriveAliasName = 'Drive Alias Name'
     

  • To disable marking drive as read only.


  • qoperation execscript -sn QS_SetDriveProperty -si @opType = '6' -si @TapeLibraryName='Name of the library' -si @DriveAliasName = 'Drive Alias Name'
     

  • Version


  •  
  • Disclaimer of Warranties

    CommVault provides software tools and utilities on an "as is" basis, as a courtesy and convenience to its users, and they may be changed from time to time without notice. These tools and utilities are provided without express, implied, or statutory warranties of any kind. You assume full risk and responsibility for the selection, possession, performance and proper installation and use of the software tools and utilities, and for verifying the results obtained there from. Your use of CommVault software tools and utilities indicates your unconditional acceptance of the above disclaimer.