Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

unknown or corrupt media detected in the drive on NBU 6.5.4

Updated: 22 May 2010 | 11 comments
cpachecofer's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Helle folks,

I have problems inventorying a stand alone media and I need help.

My netbackup enviroment is next:

MASTER (NBU 6.5.4):
   HP-UX 11.23

MEDIA (NBU 6.5.4):
  Windows 2000 SP4
  Stand-alon drive: HP COMPAQ DLT8000 (LTO2 medias)

I cofigured the STU without any problem and the tape inside was used successfully during first backup. Next day the tape was taken out of the drive and a new one media (used previously by HP Data Protector) was put in. I launched the same test policy and it said:

  - A pending request has been generated for his resource request.
    Operator action may be requiered. Pending Action: No action,
   Media ID: A00000, Barcode: ------ and so on

It's requesting the previouse tape and it didn't reliaze that there is a different tape inside the stand-alone drive.

I suspended the tape in order to avoid that message, restarted the job and error 96 was reported.

# vmoprcmd -d -h sv93

                                PENDING REQUESTS

                                     <NONE>

                                  DRIVE STATUS

Drv Type   Control  User      Label  RecMID  ExtMID  Ready   Wr.Enbl.  ReqId
  1 dlt2     AVR               No                     Yes     Yes        0 

                             ADDITIONAL DRIVE STATUS

Drv DriveName            Shared    Assigned        Comment                  
  1 COMPAQ.DLT8000.001    No       -

 # vmoprcmd -d -h media_srv_name

                                PENDING REQUESTS

                                     <NONE>

                                  DRIVE STATUS

Drv Type   Control  User      Label  RecMID  ExtMID  Ready   Wr.Enbl.  ReqId
  1 dlt2     AVR               No                     Yes     Yes        0 

                             ADDITIONAL DRIVE STATUS

Drv DriveName            Shared    Assigned        Comment                  
  1 COMPAQ.DLT8000.001    No       -

# vmphyinv -h media_srv_name -n COMPAQ.DLT8000.001
Unknown or corrupt media detected in the drive

# /usr/openv/netbackup/bin/goodies/available_media
media   media   robot   robot   robot   side/   ret    size     status
 ID     type    type      #     slot    face    level  KBytes
----------------------------------------------------------------------------
Brach pool

A00000  DLT2     NONE     -       -      -       1     10373331 SUSPENDED

...

I used previously "HP Storageworks" software for formatting the new media.

Any idea about how to solve it??

Thanks for your help.

Comments

Zahid.Haseeb's picture
13
Nov
2009
5 Votes -5
Login to vote

1.) format your tape 2.) re

1.) From the below highlighted picture select all boxes.. Actually you netbackup wil not format your media if you already used your tape with the below picture highlighted form
2009-11-13_170359.jpg
1.) Format your tape
2.) Re inventry your robot 

Any comment will be appreciated. Mark as Solution if your query is resolved
__________________
Thanks in Advance
Zahid Haseeb

zahidhaseeb.wordpress.com
 

gavrilov's picture
13
Nov
2009
4 Votes +4
Login to vote

You have to relable your tape

You have to relable your tape but you'll  loose all data on it:
bplabel -m A00000 -d DLT2  -p <pool> -host sv93

cpachecofer's picture
13
Nov
2009
0 Votes 0
Login to vote

Hi, The option "allow media

Hi,

The option "allow media overwrite" was set beforing testing the backup, and with the first tape worked. So I think that is not the problem.

I tried to relable the media but I cannot do it because I don't know the name of media. The inventory command doesn't report the name.

Media A00000 is the name of the first succeded backup. I need to inventory and label the new tape.

****** Carpe Diem ******

Nicolai's picture
13
Nov
2009
1 Vote +1
Login to vote

Disable standalone unload - Off topic tip

Per default Netbackup unload the media after each read/write operation on standalone drives. You can however prevent this by create a empty file:

On UNIX  /usr/openv/netbackup/db/config/RB_DISABLE_REAL_UNLOADS_ON_DEMAND
On Windows  [install_path]\Veritas\NetBackup\db\config\RB_DISABLE_REAL_UNLOADS_ON_DEMAND

There is a tech note as well Tapes keep unmounting between user-directed and/or application backup jobs.

Assumption is the mother of all mess ups.

If this post solved you’re questions please send a gratitude by marking it as a solution.

 

Nicolai's picture
13
Nov
2009
2 Votes +2
Login to vote

Disable stand-alone drive extensions

This is from a post made by Mariane van der Berg some time ago: https://www-secure.symantec.com/connect/forums/cou...

I Think you have the same issue :

About Media usage in Standalone drives:
Have a look at NetBackup Admin Guide II under 'Reference Topics' -> How NetBackup Selects Media -> Selecting media in stand-alone drives.
Extract:
With NetBackup stand-alone drive extensions, NetBackup tries to use any labeled or any unlabeled media that is in a stand-alone drive. This capability is enabled by default during installation. The media selection process is as follows:
....
If an appropriate drive contains a volume, NetBackup tries to select and use that volume.
....
NetBackup uses media that was not used previously. If the media is unlabeled, the following actions occur:
■ NetBackup labels the media.
■ NetBackup adds a media ID to the volume configuration, if necessary. If a media ID is added, the NetBackup Media ID prefix (non-robotic) is used as the first characters of the media ID.
■ If a media ID prefix is not specified, the default prefix is the letter A. For example, A00000.
■ NetBackup adds the requested volume pool to the volume configuration (if the backup policy specifies a volume pool).

.....

Disabling stand-alone drive extensions

You can disable the stand-alone drive extensions by clearing the NetBackup media server host property, Enable standalone drive extensions. If you clear this property, NetBackup uses the same method to select media for stand-alone drives as it uses for robotic drives.

Assumption is the mother of all mess ups.

If this post solved you’re questions please send a gratitude by marking it as a solution.

 

cpachecofer's picture
16
Nov
2009
0 Votes 0
Login to vote

Hello Nicolai, First of all,

Hello Nicolai,

First of all, thanks for your help.

I create the file and disabled drive extensions from de GUI and everything is ok.

# vmphyinv -h sv93 -u 1
Volume configuration is up-to-date with robot contents.

The problem now is that every tape, that it what used by Data Protector, is identified with the same name: OMNI-2. What can I do to label a media with a different name?

Thanks,

****** Carpe Diem ******

gavrilov's picture
16
Nov
2009
0 Votes 0
Login to vote

Please, show

Please, show /usr/openv/netbackup/bin/goodies/available_media output

cpachecofer's picture
16
Nov
2009
0 Votes 0
Login to vote

#

# /usr/openv/netbackup/bin/goodies/available_media

media   media   robot   robot   robot   side/   ret    size     status
 ID     type    type      #     slot    face    level  KBytes
----------------------------------------------------------------------------
Branch pool

A00000  DLT2     NONE     -       -      -       1     10373331 SUSPENDED
OMNI-2  DLT2     NONE     -       -      -       3     52558251 SUSPENDED

DataStore pool

NetBackup pool

None pool

Scratch pool

I suspended OMNI-2 tape because a made a FULl backup successfully and I don't want to lose that data. I have inserted a new tape which is identified with OMNI-2 name too.

Thanks,

****** Carpe Diem ******

Nicolai's picture
16
Nov
2009
0 Votes 0
Login to vote

FYI

Netbackup won't overwrite a tape with valid images (backups) on it.  A media suspended will not be used before all backup's on it has expired.

Assumption is the mother of all mess ups.

If this post solved you’re questions please send a gratitude by marking it as a solution.

 

Marianne van den Berg's picture
16
Nov
2009
1 Vote +1
Login to vote

With standalone drives it is

With standalone drives it is always best to manually add media id's to NetBackup, then load the tapes into the drive on-by-one and Label them from the GUI or command line, using bplabel. That way you are 100% sure your hand-written labels and NetBackup internal labels match. This will also overwrite the Data Protector OMNI-2 header.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links

cpachecofer's picture
17
Nov
2009
0 Votes 0
Login to vote

Hi Marianne, You were

Hi Marianne,

You were right.

I created new volumes, inserted tapes one-by-one and labeled them from GUI. Now Data Protector header has been successful overwrited.

Thanks a lot for your help.

****** Carpe Diem ******