Bacula-users

Re: [Bacula-users] unable to label a tape

2010-11-04 14:21:06
Subject: Re: [Bacula-users] unable to label a tape
From: "John Stoffel" <john AT stoffel DOT org>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 4 Nov 2010 13:52:24 -0400
>>>>> "Arnhold" == Arnhold  <bacula-forum AT backupcentral DOT com> writes:

Arnhold> Because the the link
Arnhold> /dev/tape/by-id/scsi-3500e09e0001af92f-nst is static.  When
Arnhold> you change something in yout SCSI configuration the
Arnhold> devicefile /dev/nstX could be changed and you have to change
Arnhold> your config. The symlinks /dev/tape/by* (or /dev/disk/by-*
Arnhold> for hard drives) are generated dynamyc.

Arnhold> ps: I have tried /dev/nst0 but it shows the same error.

See my reply I just sent about writing your own udev rules to give
consistent names to your tape drive(s) using the SCSI Generic device
matched up with the output of:

        /lib/udev/scsi_id --whitelisted /dev/sg#

for how I solved this problem on Debian Squeeze.

Arnhold> ls -lsa /dev/tape/by-id/scsi-3500e09e0001af92f-nst 
Arnhold> 0 lrwxrwxrwx 1 root root 10 25. Okt 14&#58;24 
/dev/tape/by-id/scsi-3500e09e0001af92f-nst -> ../../nst0

For some reason, I could never get this to work consistently on my
Debian box.  Not sure why.  

John

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>