Persistent device bindings

Any requests with your Hardware.

Moderator: sepma

Post Reply
mcgyver
Posts: 20
Joined: February 14th, 2012, 2:39 pm
Spam Stop: No
SEP sesam: Software

Persistent device bindings

Post by mcgyver » April 18th, 2013, 1:03 pm

Hi,
to get consistency in a library environment after reboots, would it be enough to simply replace let's say /dev/nst0 or /dev/nst1 in the GUI with the corresponding entries from /dev/tape/by-id or /dev/tape/by-path ?
This is SLES11, the default udev rules create the links properly.

t.i.a.
mb

pdeneu
Posts: 1
Joined: April 22nd, 2013, 5:10 pm
Spam Stop: No
SEP sesam: Software
Contact:

Re: Persistent device bindings

Post by pdeneu » April 22nd, 2013, 5:13 pm

Hi,

can you please describe your problem.
If udev rules are created properly theres no problem using /dev/nst0 - but if you want to, you can use /dev/tape/by-id/....
You can just check your device using mt

Code: Select all

mt -f /dev/tape/by-id/... status
Regards,
Philipp
GNE - IT Business Solutions - http://www.gne.de
** SEP Gold Partner **

mcgyver
Posts: 20
Joined: February 14th, 2012, 2:39 pm
Spam Stop: No
SEP sesam: Software

Re: Persistent device bindings

Post by mcgyver » April 22nd, 2013, 5:26 pm

Hi,
there are multiple FC drives in this library, you never know which one will be nst0, nst1 or nstwhatsoever upon server reboot. while it's up for a year since its installation it's still 500k away.
thx

jgb
Posts: 55
Joined: June 27th, 2011, 11:11 am
Spam Stop: No
SEP sesam: Software

Re: Persistent device bindings

Post by jgb » June 4th, 2013, 1:24 pm

Hi,

best way is, to map the FC drives via udev persistant-tape.rules .

Here a link to an interesting document from Emulex, how to map an FC Tape or FC-SCSI tape drive persistant to an identifier.

http://www.emulex.com/artifacts/f084e95 ... 26udev.pdf

JGB

mcgyver
Posts: 20
Joined: February 14th, 2012, 2:39 pm
Spam Stop: No
SEP sesam: Software

Re: Persistent device bindings

Post by mcgyver » June 4th, 2013, 2:25 pm

sorry, just forgot to update this thread. i've switched to udev links 6 weeks ago. no issues. sles11 doesn't need any further intervention to create the rules properly.

Post Reply