Re: [Networker] Linux Tape Drive Re-Ordering Issue
2010-11-08 08:33:42
Brian,
Thanks for that pointer. Sadly, it doesn't cover how to replace a failed tape
drive in a
library at all (at least there is not one single use of the word "replace" in
the entire
document). I'll peruse it in depth later...
Frank
On 11/5/10 3:19 PM, Brian Narkinsky wrote:
> You have to dig through PowerLink a bit to find this but there is a pretty
> good paper on how to configure Tape Drives in Networker. Lot of good info
> in here.
>
> EMC® NetWorker®
> Configuring Tape Devices for EMC NetWorker
> Technical Note
> P/N 300-008-352
> REV A04
>
> On Fri, Nov 5, 2010 at 9:24 AM, Francis Swasey <Frank.Swasey AT uvm DOT edu>
> wrote:
>
>> Have you tested what happens when a tape drive fails and you have to
>> replace it with a new one
>> (which has a different serial number) doing it that way?
>>
>> For those of us that created our jukebox back in the 7.2 (or earlier) days
>> and have the jukebox
>> defined using the rd=<storagenode>:/dev/nstX devices, I strongly urge you
>> to consider coercing
>> udev into picking which /dev/nstX device the drive is based on the serial
>> number (then
>> remembering to update that rule when you replace a drive).
>>
>> I have set it up as /etc/udev/rules.d/20-local.rules -- which is a copy of
>> the 50-udev.rules
>> file with a line added for each tape drive like:
>>
>> KERNEL=="nst[0-9]*", SUBSYSTEM=="scsi_tape",
>> ENV{ID_SERIAL}=="3500507631203e5d4", NAME="nst0",
>> SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}-nst", SYMLINK+="tape0"
>>
>> just in front of the
>>
>> KERNEL=="nst[0-9]*", SUBSYSTEM=="scsi_tape", ENV{ID_SERIAL}=="?*",
>> SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}-nst"
>>
>> line.
>>
>> Why would I do something this convoluted? Because I don't like the risk of
>> having to perform a
>> 25 hour jukebox inventory just because a tape drive failed and suddenly I
>> have to re-define the
>> jukebox because EMC's code messed up and can't figure out what happened to
>> that tape drive that
>> broke and was removed.
>>
>> Frank
>>
>> On 11/5/10 8:43 AM, Riku Valli wrote:
>>> Matthew Huff wrote:
>>>> I'm not sure you understand persistent binding. With persistent binding,
>> no changes
>>>> (including SCSI bus resets) will change the names (and therefore the
>> drive order).
>>>>
>>> Yes, tape drives uses serialnumbers for devicenames at RHEL 5 for
>> persistent bindings. So them
>>> cannot change.
>>> /dev/tape/by-id/scsi-3500308c09fb49000-nst
>>>
>>> When you made jukebox, you should select use persistent names and NMC:s
>> graphical gui uses
>>> automatic this by-id name convention or manual with command jbconfig -p,
>> but jbconfig is'nt
>>> recommed to use at newer Networker versions.
>>
>> 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
--
Frank Swasey | http://www.uvm.edu/~fcs
Sr Systems Administrator | Always remember: You are UNIQUE,
University of Vermont | just like everyone else.
"I am not young enough to know everything." - Oscar Wilde (1854-1900)
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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Networker] Linux Tape Drive Re-Ordering Issue, Davis, Raymond P
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Mark Leese
- Message not available
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Davis, Raymond P
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Matthew Huff
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Riku Valli
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Francis Swasey
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Brian Narkinsky
- Re: [Networker] Linux Tape Drive Re-Ordering Issue,
Francis Swasey <=
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, jee
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Francis Swasey
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Davis, Raymond P
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Len Philpot
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Francis Swasey
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Werth, Dave
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Len Philpot
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Davis, Raymond P
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Riku Valli
- Re: [Networker] Linux Tape Drive Re-Ordering Issue, Riku Valli
|
|
|