Forum Discussion

P4tty's avatar
P4tty
Level 3
17 years ago

Using vmphyinv with a standalone tape drive - No robotic number

Hi,

I'm looking for the correct command to run VMPHYINV with a standalone tape drive.

The standalone drive does not have a robtic number, so what should I use instead of this...?

-rn robot_number

Many thanks in advance.

P4tty.

3 Replies

  • I have never tried to inventory a standalone tape drive.

    Why are you trying?  What issue are you having that you need to do this?
  • vmphyinv doesn't need an "-rn #" if there's no robot.

    The syntax (from the 6.5 Commads Guide) looks like:

    /usr/openv/volmgr/bin/vmphyinv {-u drive_number | -n drive_name} [-h device_host] [-non_interactive] [-mount_timeout timeout] [-verbose]

    -u drive_number
    Specifies the drive index that needs to be inventoried. The drive must
    contain media and be ready. The number for the drive can be obtained from
    the Media Manager device configuration.

    -n drive_name
    Specifies the drive name that needs to be inventoried. The drive must
    contain media and be ready. The name for the drive can be obtained from
    the Media Manager device configuration.

    Hope this helps!

    Some documentation:

    How to perform Media Management with standalone Drives in NetBackup 5.x and 6.x. 
     http://support.veritas.com/docs/296268

    Veritas NetBackup (tm) 6.5 Commands for UNIX and Linux 
     http://support.veritas.com/docs/290234

    Veritas NetBackup (tm) 6.5 Administrator's Guide for UNIX and Linux, Volume 1 (see pages 572-579)
     http://support.veritas.com/docs/290201

    Veritas NetBackup (tm) 6.5 Commands for Windows
     http://support.veritas.com/docs/290235

    Veritas NetBackup (tm) 6.5 Administrator's Guide for Windows, Volume 1 (see pages 572-579)
     http://support.veritas.com/docs/290203


     
  • Thanks both for you replies.

    I beleieve CRZ's response will work correctly.

    Many thanks again.

    P4tty