Networker

Re: [Networker] New LTO4 library doesn't recognize tapes in drive ..

2009-11-12 09:49:43
Subject: Re: [Networker] New LTO4 library doesn't recognize tapes in drive ..
From: Matthew Huff <mhuff AT OX DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 12 Nov 2009 09:46:19 -0500
Once you reboot after the registery key, you will need to edit the libraries 
with the correct new device names. It's usually easier just to document the 
library settings and deleted/recreate.

----
Matthew Huff       | One Manhattanville Rd
OTA Management LLC | Purchase, NY 10577
http://www.ox.com ; | Phone: 914-460-4039
aim: matthewbhuff  | Fax:   914-460-4139


-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On 
Behalf Of MIchael Leone
Sent: Thursday, November 12, 2009 9:30 AM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] New LTO4 library doesn't recognize tapes in drive ..

Matthew Huff <mhuff AT ox DOT com> wrote on 11/12/2009 09:18:15 AM:

> If you are running in Windows and using tape device files like \\.
> \Tape0, etc... then you will have problems as tape libraries are 
> added, modified, deleted, or rebooted. It does not matter if you 
> have setup fiber channel persistent binding, the issue isn't at the 
> FC driver level. There is an additional layer in Windows called the 
> Windows Plug & Play driver. It will rename/renumber devices. This is
> bad for tape devices.
> 
> Microsoft added a hotfix that was latter rolled into the service packs.
> 
> The final solution is modify the registery:
> 
> 1. Click Start, click Run, type regedit in the Open box, and then click 
OK.
> 2. Locate and then click the following registry subkey:
>    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Tape
> 3. On the Edit menu, point to New, and then click DWORD Value.
> 4. Type Persistence, and then press ENTER.
> 5. Right-click the Persistence registry entry, and then click Modify.
> 6. Type 1 in the Value data box, and then click OK.

Hrm ... I have this key, but it is value 0. I am changing it 1 now ...

> 7. Quit Registry Editor.
> 8. Restart the computer.
> 
> After the reboot, the tape devices won't be called \\.\Tape0 
> anymore. They will be like \\.\Tape64364 and they will persist 
> across reboots and topology changes.
> 
> 
> ----
> Matthew Huff       | One Manhattanville Rd
> OTA Management LLC | Purchase, NY 10577
> http://www.ox.com  | Phone: 914-460-4039
> aim: matthewbhuff  | Fax:   914-460-4139
> 
> 
> -----Original Message-----
> From: EMC NetWorker discussion [mailto:[email protected].
> EDU] On Behalf Of MIchael Leone
> Sent: Thursday, November 12, 2009 8:56 AM
> To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> Subject: [Networker] New LTO4 library doesn't recognize tapes in drive 
..
> 
> Last night I replaced my SDLT-600 drives with new LTO4 drives. And now 
I'm 
> having problems. When I tell Networker to label a tape, it grabs a tape; 

> loads a tape; tries to label a tape, then complains that there is no 
tape 
> in the drive. I have verified that physically, a tape moves from a slot, 

> into the drive. But Networker thinks there isn't a tape there. It worked 

> once or twice. But now it won't even inventory the tapes that got 
> successfully labeled.
> 
> >nsrjb -vvvvv -j %OverlandLib% -L -b"PHACLONE"  -S2 1127155309
> setting verbosity level to `5'
> 42666:nsrjb: initiate_jbox_rap_command: jb_res attrlist:
>                      command: \
> nsrjb -vvvvv -j [email protected] -L -bPHACLONE -S2 1127155309;
>                         name: [email protected];
>                    operation: Label;
>        operation report mode: verbose5;
>           operation response: prompt;
>              operation slots: 2;
>           operation template: 1127155309;
>        operation volume pool: PHACLONE;
>                       source: nsrjb;
> 42667:nsrjb: initiate_jbox_rap_command: op_stat attrlist:
>                      command: \
> nsrjb -vvvvv -j [email protected] -L -bPHACLONE -S2 1127155309;
>                         name: [email protected];
>                         type: NSR operation status;
> Info: Preparing to load volume `-' from slot 2 into device `\\.\Tape1'.
> Info: Loading volume `-' from slot `2' into device `\\.\Tape1'.
> Info: Load sleep for 5 seconds.
> Info: Performing operation `Verify label' on device `\\.\Tape1'.
> Info: Operation `Verify label' in progress on device `\\.\Tape1'
> Info: Performing operation `Eject' on device `\\.\Tape1'.
> Error: Device/media error: read open error: command completed 
successfully 
> (drive status is There is not a tape in the drive)
> Info: Operation `Eject' in progress on device `\\.\Tape1'
> Info: Preparing to unload volume `-' from device `\\.\Tape1' to slot 2.
> Info: Unloading volume `-' from device `\\.\Tape1' to slot 2.
> Info: Unload sleep for 5 seconds.
> Error: Device/media error: read open error: command completed 
successfully 
> (drive status is There is not a tape in the drive)
> 39077:nsrjb: error, Jukebox command terminated with errors.
> 
> The labeling worked once or twice. But Networker won't now inventory the 

> tape it made, giving the same error:
> 
> C:\PHA Scripts>nsrjb -vvvvv -j %OverlandLib%  -I -S3
> setting verbosity level to `5'
> 42666:nsrjb: initiate_jbox_rap_command: jb_res attrlist:
>                      command: nsrjb -vvvvv -j [email protected] -I 
> -S3;
>                         name: [email protected];
>                    operation: Inventory;
>        operation report mode: verbose5;
>              operation slots: 3;
>                       source: nsrjb;
> 42667:nsrjb: initiate_jbox_rap_command: op_stat attrlist:
>                      command: nsrjb -vvvvv -j [email protected] -I 
> -S3;
>                         name: [email protected];
>                         type: NSR operation status;
> Info: Preparing to load volume `1127155310' from slot 3 into device 
> `\\.\Tape5'.
> Info: Loading volume `1127155310' from slot `3' into device `\\.\Tape5'.
> Info: Load sleep for 5 seconds.
> Info: Performing operation `Verify label' on device `\\.\Tape5'.
> Info: Operation `Verify label' in progress on device `\\.\Tape5'
> Info: Cannot read the current volume label: read open error: command 
> completed successfully (drive status is There is not a tape i
> n the drive)
> Info: Performing operation `Eject' on device `\\.\Tape5'.
> Info: Operation `Eject' in progress on device `\\.\Tape5'
> Info: Preparing to unload volume `1127155310' from device `\\.\Tape5' to 

> slot 3.
> Info: Unloading volume `1127155310' from device `\\.\Tape5' to slot 3.
> Info: Unload sleep for 5 seconds.
> Error: Jukebox `[email protected]' failed to perform an inventory.
> Error: Jukebox `[email protected]' failed to perform an inventory.
> 39077:nsrjb: error, Jukebox command terminated with errors.
> 
> I have the tech from the tape company (Overland) here now, running a 
> hardware diagnostic, to rule out physical problems before I call EMC. 
The 
> drives pass the Library and Tape Tools testing, for reading and writing, 

> so I expect that it will pass these diagnostics, too. The tech is 
certain 
> it's a software issue with Networker (and he's probably right); he feels 

> it's a timing issue. Since I can't call EMC until he's done his tests, I 

> figured I'd ask if anyone here has any suggestions. I don't see anything 

> out of the ordinary in the timing settings of the library; they are the 
> same settings as the libraries at my other sites (however, those are 
SCSI 
> libraries, and this is a fiber unit).
> 
> It's an Overlan 4042, with a fiber connection for the library. There are 
8 
> LTO4 drives. each of which has it's own fiber connection. (that's new - 
> the SDLT-600 drives used SCSI internally to the library; they didn't 
each 
> have their own fiber connection).
> 
> Thoughts? The fact that I can run tape testing software from the server, 

> and have the drive pass read/write tests tells me that the OS is capable 

> of accessing the library and drives correctly. But Networker doesn't 
seem 
> to be.
> 
> Thanks
> 
> -- 
> Michael Leone
> Network Administrator, ISM
> Philadelphia Housing Authority
> 2500 Jackson St
> Philadelphia, PA 19145
> Tel:  215-684-4180
> Cell: 215-252-0143
> <mailto:michael.leone AT pha.phila DOT gov>
> 
> To sign off this list, send email to listserv AT listserv.temple DOT edu 
> and type "signoff networker" in the body of the email. Please write 
> to networker-request AT listserv.temple DOT edu if you have any problems 
> with this list. You can access the archives at http://listserv.
> temple.edu/archives/networker.html or
> via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER