SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
A Storage Migrator (aka HSM) issue
Author Message
Post A Storage Migrator (aka HSM) issue 
Comrades,

Given the cheap prices for disks nowadays, we exited our HSM environment
back in 2003, moved everything to big & cheap disk arrays and removed the
HSM software from the host (a Solaris server). So far we have been happy
with the move.

We kept a set of the HSM tape volumes on the shelf "just in case", but
their time has passed and we want to recycle them. They show up in the
Media Manager display and I try to delete them as the first step towards
recycling, but I can't because they are "assigned". So them I try to
deassign them with the shell command

bpexpdate -d 0 -ev <barcode>

But I get a message that says

requested media id was not found in NB media database and/or MM
volume database

Yet they DO show up in the MM display. I'm thinking that I can't use
bpexpdate to deassign them because they have a status value of "0x2", which
indicates that they are "Storage Migrator" (aka HSM) volumes. The Media
Manager manual indicates that such volumes must be deassigned by the
Storage Migrator application. Ugh - we removed the application from the
server!

Short of re-installing the application, does anybody know of a hack to
deassign these volumes? Perhaps a way to change that "0x2" status value to
"0x0" so that they appear to be NetBackup volumes instead of Storage
Migrator volumes?

Jeff Dykzeul
Raytheon Space & Airborne Systems

Post A Storage Migrator (aka HSM) issue 
We kept a set of the HSM tape volumes on the shelf "just in case", but
their time has passed and we want to recycle them. They show up in the
Media Manager display and I try to delete them as the first step towards
recycling, but I can't because they are "assigned". So them I try to
deassign them with the shell command

bpexpdate -d 0 -ev <barcode>

But I get a message that says

requested media id was not found in NB media database and/or MM
volume database

Yet they DO show up in the MM display.

Right. In this case it's the "or". They're not "netbackup" tapes, so
they're not in the NB media database, so they can't be "expired" (which
is a netbackup concept).

I'm thinking that I can't use
bpexpdate to deassign them because they have a status value of "0x2", which
indicates that they are "Storage Migrator" (aka HSM) volumes. The Media
Manager manual indicates that such volumes must be deassigned by the
Storage Migrator application. Ugh - we removed the application from the
server!

Then you can use vmquery -deassignbyid to deassign them.


--
Darren Dunham ddunham < at > taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >

Post A Storage Migrator (aka HSM) issue 
One of the volumes is id 000114, in pool number 2 with a status value of
0x2. I tried the following command

vmquery -deassignbyid 000114 2 0x2

But got a failure message saying that the volume was already assigned. So I
tried

vmquery -deassignbyid 000114 2 2

And that worked. Then I was able to delete the volume.

Thanks very much!


Jeff Dykzeul
Raytheon Space & Airborne Systems






|---------+--------------------------------------->
| | Darren Dunham |
| | <ddunham < at > taos.com> |
| | Sent by: |
| | veritas-bu-admin < at > mailman.eng|
| | .auburn.edu |
| | |
| | |
| | 01/26/2005 09:13 AM |
| | |
|---------+--------------------------------------->
--------------------------------------------------------------------------------------------------------------|
| |
| To: Veritas-bu < at > mailman.eng.auburn.edu |
| cc: |
| Subject: Re: [Veritas-bu] A Storage Migrator (aka HSM) issue |
--------------------------------------------------------------------------------------------------------------|



We kept a set of the HSM tape volumes on the shelf "just in case", but
their time has passed and we want to recycle them. They show up in the
Media Manager display and I try to delete them as the first step towards
recycling, but I can't because they are "assigned". So them I try to
deassign them with the shell command

bpexpdate -d 0 -ev <barcode>

But I get a message that says

requested media id was not found in NB media database and/or MM
volume database

Yet they DO show up in the MM display.

Right. In this case it's the "or". They're not "netbackup" tapes, so
they're not in the NB media database, so they can't be "expired" (which
is a netbackup concept).

I'm thinking that I can't use
bpexpdate to deassign them because they have a status value of "0x2",
which
indicates that they are "Storage Migrator" (aka HSM) volumes. The Media
Manager manual indicates that such volumes must be deassigned by the
Storage Migrator application. Ugh - we removed the application from the
server!

Then you can use vmquery -deassignbyid to deassign them.


--
Darren Dunham ddunham < at > taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >

Post A Storage Migrator (aka HSM) issue 
I think you need to use vmchange:

Change volume expiration date
/usr/openv/volmgr/bin/vmchange [-h volume_database_host] -exp date
-m media_id

or you might use vmdelete, and then treat them as new media.

William D L Brown

veritas-bu-admin < at > mailman.eng.auburn.edu wrote on 26/01/2005 16:38:37:

Comrades,

.
. They show up in the
Media Manager display and I try to delete them as the first step towards
recycling, but I can't because they are "assigned". So them I try to
deassign them with the shell command

bpexpdate -d 0 -ev <barcode>

But I get a message that says

requested media id was not found in NB media database and/or MM
volume database

Yet they DO show up in the MM display.
.
.

Jeff Dykzeul
Raytheon Space & Airborne Systems

_______________________________________________


Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB