UNSOLVED

alexdrack

updated

17 years ago

A

alexdrack

6 Posts

0

4794

March 10th, 2010 16:00

Command to list volumes

Is there a command to list the whole volumes? I'm using Netowkrer Server 7.4.4 for Windows 2003

Thanks

  • amediratta

    2 Intern

    •

    2014 Posts

    3346

    0

    Posted March 10th, 2010 23:00

    Options on commands like mminfo and nsrinfo should help. Check Command reference guide.

  • ark-flUcr

    23 Posts

    3346

    0

    Posted March 10th, 2010 23:00

    For example, you could see all volumes:

    mminfo -q "family=tape" -r"volume"

  • pheikens

    96 Posts

    3346

    0

    Posted March 11th, 2010 00:00

    Try mminfo -m

    If you need it more specific: mminfo -a -q"family=tape|disk" -r"volflags(7),volume(24),written,%used,volretent,read,mounts,capacity"

  • alexdrack

    6 Posts

    3346

    0

    Posted March 11th, 2010 09:00

    mminfo -m gives me the info

    How can I see the pool of the volume??

  • aieee

    2 Posts

    3346

    0

    Posted March 11th, 2010 12:00

    I'm not sure what you're looking for here, but if it's what savesets are on a single tape try

    mminfo -avot -q volume=$TAPE

    If you are trying to get all tapes that were written to and what pools those tapes are in for a particular time frame try

    mminfo -t "1 day ago" -r volume,pool

    "man mminfo is your friend" it has lots of examples and references to the various options and parameters

  • coganb

    736 Posts

    3346

    1

    Posted March 12th, 2010 00:00

    mminfo -av -r volume,pool

    After the '-r', you list the columns you want to see.  The man page will tell you all the columns that are available:

    http://www.ipnom.com/Legato-NetWorker-Commands/mminfo.html

    -Bobby

  • alexdrack

    6 Posts

    3346

    0

    Posted March 12th, 2010 08:00

    mminfo -av -r volume,pool

    Worked like a charm, thanks.