2 Intern

 • 

724 Posts

November 9th, 2007 18:00

Remove d1 and add d2. As the library has 4 drives, I think you can't even add another one without deleting some, and having two paths on the same box for the same physical drive (in Networker) is not something that I would recommend you to do.

Look to see if there's any restrictions about backups that only go to that drive and things like that. These may be the only problems you can have, besides the usual ones :)

4 Operator

 • 

14.4K Posts

November 10th, 2007 08:00

Delete library and disable remaining devices (or delete them too) and reconfigure library using new device names.

194 Posts

November 12th, 2007 05:00

Thanks Daniel & Hrvoje for your replies. Looks like Hrvoje is right, I would have to delete and then readd the jukebox. The NMC doesn't allow you to delete a device within a jukebox. I was wondering if I could delete/add the device via nsradmin? With nsradmin I see the devices listed as:

devices: "rd= .edu:/dev/ntape/tape1_d1",
"rd= .edu:/dev/ntape/tape2_d1",
"rd= .edu:/dev/ntape/tape4_d1",
"rd= .edu:/dev/ntape/tape3_d1";

If I update the devices field with the change that I want to make using nsradmin would that work?

Thanks,
Vic

4 Operator

 • 

14.4K Posts

November 12th, 2007 06:00

With nsradmin no, but with jbedit that might be possible (didn't test it).

194 Posts

November 12th, 2007 10:00

Thank Hrvoje, I wasn't aware of the jbedit utility. I think I'll give that a try.

Looking at the manpage for jbedit for adding a drive it states you have to use the -E option to specify the 'data element address of the drive with which the device is associated'. It also says to use utilities relem, changers, sn, sjisn to find this and other information. I used utilities inquire & sn to get this:

inquire:
scsidev@5.0.1:HP Ultrium 2-SCSI F6AW|Tape, /dev/ntape/tape1_d1
S/N: HUL3E00439
ATNN=HP Ultrium 2-SCSI HUL3E00439
WWNN=50060B00001F174A
scsidev@5.0.2:HP Ultrium 2-SCSI F6AW|Tape, /dev/ntape/tape2_d1
S/N: HUP4G00XJU
ATNN=HP Ultrium 2-SCSI HUP4G00XJU
WWNN=50060B00001F650E
scsidev@5.0.3:HP Ultrium 2-SCSI F6AW|Tape, /dev/ntape/tape3_d1
S/N: HUP6J04C3V
ATNN=HP Ultrium 2-SCSI HUP6J04C3V
WWNN=50060B0000FD8AD2
scsidev@5.0.4:HP Ultrium 2-SCSI F6AW|Tape, /dev/ntape/tape4_d1
S/N: HUP5C031JU
ATNN=HP Ultrium 2-SCSI HUP5C031JU
WWNN=50060B000027FE6F

--------------------------------------------------------------------------------

sn:


ATNN=HP Ultrium 2-SCSI HUL3E00439


ATNN=HP Ultrium 2-SCSI HUP4G00XJU


ATNN=HP Ultrium 2-SCSI HUP5C031JU


ATNN=HP Ultrium 2-SCSI HUP6J04C3V

So if I delete tape1_d1 and add tape1_d2 I should use # 480. Is this correct?

Sorry if these are simple questions but again this is an important production systems and I want to make sure I understand as much as possible.

Thanks,
Vic

4 Operator

 • 

14.4K Posts

November 12th, 2007 14:00

I delete tape1_d1 and add tape1_d2 I should use #
480. Is this correct?

Correct.

194 Posts

November 14th, 2007 06:00

OK, was able to delete the tape drive but when I try to add the other name it gives me an error:

csubds5:/> jbedit -d -f /dev/ntape/tape4_d1 -s solegato1
jbedit: Changing device name from /dev/ntape/tape4_d1 to rd= :/dev/ntape/tape4_d1.

csubds5:/> jbedit -a -f /dev/ntape/tape4_d2 -E 483 -s solegato1 -v
setting verbosity level to `1'
jbedit: Changing device name from /dev/ntape/tape4_d2 to rd= :/dev/ntape/tape4_d2.
jbedit: RAP error: Cannot find device `rd= :/dev/ntape/tape4_d2' in 'unconfig device names' resource.

Where is this "unconfig device names" resource?

Thanks,
Vic

4 Operator

 • 

14.4K Posts

November 14th, 2007 13:00

mm, those are usually devices listed when scan runs on storage node. You might wish to try it with -F option added. If it doesn't work then you will need to do it via jbconfig.
No Events found!

Top