Skip to content
Snippets Groups Projects
  • Victor Kotlyar's avatar
    44fdef7c
    Implement 'cta drive rm' command. · 44fdef7c
    Victor Kotlyar authored
    Command will remove drive or drives by regex from the drive register.
    The drives must be in state Down unless --force option is set.
    Usage: rm <drive_name> [--force/-f]
    
    If there is any active tapeserver with this drive it will create the
    entry in the drive register again with Down status.
    
    Example of the usage:
      cta drive rm ^VDSTK
      Drive VDSTK41 in state Free and force is not set (skipped).
      Drive VDSTK42 removed.
    44fdef7c
    History
    Implement 'cta drive rm' command.
    Victor Kotlyar authored
    Command will remove drive or drives by regex from the drive register.
    The drives must be in state Down unless --force option is set.
    Usage: rm <drive_name> [--force/-f]
    
    If there is any active tapeserver with this drive it will create the
    entry in the drive register again with Down status.
    
    Example of the usage:
      cta drive rm ^VDSTK
      Drive VDSTK41 in state Free and force is not set (skipped).
      Drive VDSTK42 removed.