recognizing Media that is a MEDIA_SHELF
2002-12-25 13:29:19
>
> while using the
>
> dsmGetNextQObj() function, one parameter is the MediaClass. this mediaClass
> can be of the following values:
> /*---------------------------------------------------------------------+
> | Definitions for mediaClass field. |
> +---------------------------------------------------------------------*/
> /*
> #define MEDIA_FIXED 0x10
> #define MEDIA_LIBRARY 0x20
> #define MEDIA_NETWORK 0x30
> #define MEDIA_SHELF 0x40
> #define MEDIA_OFFSITE 0x50
> #define MEDIA_UNAVAILABLE 0xF0
>
> when I store the file on the disk pool and use the dsmGetNextQObj , I get
> MediaClass = MEDIA_FIXED
> but when I take out the Media from the QualStar JB, I get
> MediaClass=MEDIA_LIBRARY as if the TSM do not know that the Media is not in
> the Jukebox.
>
> when I try to fetch the File using the dsmBeginGetData with mountWait= true
> then on the "q request" in the TSM administrator I do see a request to insert
> Media Label "008" therefore the TSM do knows that the file is located on
> off_shelf Media but still I get on the dsmGetNextQObj a wrong MediaClass
> value.
>
> How can I query the file and knows in advance that it is located on offline
> media?
> What other API should I try?
>
> Thanks,
>
> Ilan Kor CEM R&D
> Storage Center - Team Leader.
> Nice Systems
> www.nice.com
> Phone: 972-9-775-3990
> E-mail: ilank AT nice DOT com
>
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- recognizing Media that is a MEDIA_SHELF,
Ilan Kor, CEM, R&D <=
|
|
|