cancel
Showing results for 
Search instead for 
Did you mean: 

tpautoconf

Andy2345
Level 6

 

tpautoconf -report_disc 

 

 ======================= Missing Device (Drive) ======================

 Inquiry = "IBM  Ultrium 3-SCSI 

 Serial Number =  HM74536FFS

 Drive Path = /dev/rmt/0cbn

 Drive Name = DRV_F2D3_LTO5

 

Missing device means that above entry is not in EMM database of NBU?

 

1 ACCEPTED SOLUTION

Accepted Solutions

mph999
Level 6
Employee Accredited

"why /dev/rmt/119cbn with QUANTUMDLT800014?"

The drive in tld(6) at drive position 1 now has a different path, therefore the drive that did have path /dev/rmt/9cbn is not found by the operating system

If you run mt -f /dev/rmt/9cbn you will get a message saying 'no such device' or similar.

You say this :

 

"Drive path should be /dev/rmt/9cbn ?

Because drive QUANTUMDLT800014 has above path."

Maybe it should be 9cbn, but can't you see that the output of the command is telling you that the device at this path is missing ?

Look again

 

tpautoconf -report_disc
======================= New Device (Tape) =======================
 Inquiry = "QUANTUM DLT8000         0250"
 Serial Number = PXB08P3242
 Drive Path = /dev/rmt/119cbn
 Found as TLD(6), Drive = 1
===================== Missing Device (Drive) =====================
 Drive Name = QUANTUMDLT800014
 Drive Path = /dev/rmt/9cbn
 Inquiry = "QUANTUM DLT8000         0250"
 Serial Number = PXB08P1345
 TLD(6) definition Drive = 1
 Hosts configured for this device:
  Host = plum
  Host = avocado
  
  
  Both drives show TLD(6) Drive - 1
  
  There can only physically be one drive at this position, and the serial number of the missing drive is different than the serial number of the new drive, therefore the drive must have been physically changed.
  
  When this was done the path changed.
  
  The fact that path is different doesn't really matter, once reconfigured it will work fine.
  
  So the final answer is that the drive has been swapped, some times the path changes when this happens, sometimes it doesn't - it is impossible for me to say exactly why it changed in this case , I wasn't there when it was done.  I wouldn't worry about the path - it doesn't matter what it is.
  
  

 

View solution in original post

7 REPLIES 7

Andy2345
Level 6

 

tpautoconf -report_disc
======================= New Device (Tape) =======================
 Inquiry = "QUANTUM DLT8000         0250"
 Serial Number = PXB08P3242
 Drive Path = /dev/rmt/119cbn
 Found as TLD(6), Drive = 1
===================== Missing Device (Drive) =====================
 Drive Name = QUANTUMDLT800014
 Drive Path = /dev/rmt/9cbn
 Inquiry = "QUANTUM DLT8000         0250"
 Serial Number = PXB08P1345
 TLD(6) definition Drive = 1
 Hosts configured for this device:
  Host = plum
  Host = avocado

 

What this means?

Andy2345
Level 6

What is this New device and Missing device here?

Marianne
Level 6
Partner    VIP    Accredited Certified

It's kind of obvious, right?

Tell us what you think!

mph999
Level 6
Employee Accredited

If you looked in the manual / man page for tpautoconf not only would you find the exact answer, but you would find an exact example of how to fix it.

Missing device does not meanit is missing from EMM, in fact it is the opposite, it is very much in EMM, but not detected anymore by the OS.  If it was not in EMM how do you think NBU would know itis 'missing'

This device :

 

Serial Number = PXB08P3242
 Drive Path = /dev/rmt/119cbn

Is attached to the server but not configured in NBU

This device

 

Drive Name = QUANTUMDLT800014
 Drive Path = /dev/rmt/9cbn
 Inquiry = "QUANTUM DLT8000         0250"
 Serial Number = PXB08P1345

Was attached and configured, but is now not detcted, probably because it has been removed.

In fact, yes, both drives show as TLD(6) - Drive 1, so this drive has been physically replaced but not configured.

To fix this you could use this command :

tpautoconf -replace_drive drive_name -path drive_path

So ...

tpautoconf -replace_drive QUANTUMDLT800014 -path /dev/rmt/119cbn

This will put the drive at path /dev/rmt/9cbn as the repacement for the missing drive.

As a matter of interest, how many drives are attached to this media server ?

M

Andy2345
Level 6

Drive path should be /dev/rmt/9cbn ?

Because drive QUANTUMDLT800014 has above path.

 

tpautoconf -replace_drive QUANTUMDLT800014 -path /dev/rmt/119cbn

 

why /dev/rmt/119cbn with QUANTUMDLT800014?

mph999
Level 6
Employee Accredited

"why /dev/rmt/119cbn with QUANTUMDLT800014?"

The drive in tld(6) at drive position 1 now has a different path, therefore the drive that did have path /dev/rmt/9cbn is not found by the operating system

If you run mt -f /dev/rmt/9cbn you will get a message saying 'no such device' or similar.

You say this :

 

"Drive path should be /dev/rmt/9cbn ?

Because drive QUANTUMDLT800014 has above path."

Maybe it should be 9cbn, but can't you see that the output of the command is telling you that the device at this path is missing ?

Look again

 

tpautoconf -report_disc
======================= New Device (Tape) =======================
 Inquiry = "QUANTUM DLT8000         0250"
 Serial Number = PXB08P3242
 Drive Path = /dev/rmt/119cbn
 Found as TLD(6), Drive = 1
===================== Missing Device (Drive) =====================
 Drive Name = QUANTUMDLT800014
 Drive Path = /dev/rmt/9cbn
 Inquiry = "QUANTUM DLT8000         0250"
 Serial Number = PXB08P1345
 TLD(6) definition Drive = 1
 Hosts configured for this device:
  Host = plum
  Host = avocado
  
  
  Both drives show TLD(6) Drive - 1
  
  There can only physically be one drive at this position, and the serial number of the missing drive is different than the serial number of the new drive, therefore the drive must have been physically changed.
  
  When this was done the path changed.
  
  The fact that path is different doesn't really matter, once reconfigured it will work fine.
  
  So the final answer is that the drive has been swapped, some times the path changes when this happens, sometimes it doesn't - it is impossible for me to say exactly why it changed in this case , I wasn't there when it was done.  I wouldn't worry about the path - it doesn't matter what it is.
  
  

 

Andy2345
Level 6

Thanks Martin.Appreciated ur help and time for this.