Announcement Banner
UNSOLVED

eynden

updated

17 years ago

E

eynden

9 Posts

0

809

September 1st, 2009 06:00

Display offsite info on volumes

Hi,

I've been looking for a way to display the "offsite" flag for all volumes in our media-DB.

I can set it using: nsrmm -o offsite and reset by using: nsrmm -o notoffsite , but I want to list all my volumes and show them as offsite or not.

Anybody ?
  • DavidHampson

    2 Intern

    •

    1080 Posts

    490

    0

    Posted September 1st, 2009 08:00

    I've never used the offsite flag and have just tried now and got:

    nsrmm: `offsite' is not a valid flag


    I normally would track something being offsite using the location field using mmlocate:

    mmlocate -u -n volume 'broom cupboard'

    Then query with:

    mmlocate -l 'broom cupboard'
    mminfo -q 'location=broom cupboard'
  • 489

    0

    Posted September 1st, 2009 10:00

    Hi,

    We use the commands:
    nsrmm -o offsite
    nsrmm -o notoffsite

    It sets/unsets the offsite flag for the volume,but there is no way to list volumes based on this flag.

    "If NetWorker needs to read from a saveset that has more than one copy, and one of those copies is stored on a volume that is flagged as ¿offsite¿ in the media database, then it is least likely to pick that volume."

    so good way is to use the command "mmlocate" as suggested by David.
  • eynden

    9 Posts

    489

    0

    Posted September 2nd, 2009 08:00

    We do use the location field, but as it happens both our copies are not online available for Networker. We have one copy at a location far away (location="Secured vault somewhere") and another one in a cupboard next to the robot (location="Cupboard")

    So I would like to decide upfront which copy gets "asked" by Networker in case a restore is needed.

    If there is no way to list the flag for each volume the only way to achieve this seems to be to select all the volumes that are really far away offsite and set the flag to "offsite" and to select all the other volumes and to mark them as "notoffsite". And repeat this whenever tapes get sent offsite and brought back onsite.

    Surely there must be a better way to do this....
  • DavidHampson

    2 Intern

    •

    1080 Posts

    489

    0

    Posted September 2nd, 2009 09:00

    I believe the original will be asked for first, and then the clone copy. If neither is online it will ask for the original.