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

2010-11-04 Thread John Stoffel
 Arnhold == Arnhold  bacula-fo...@backupcentral.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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] unable to label a tape

2010-11-01 Thread Rene Arnhold
Hi
At the Moment i try to configure a Bacula Backup Server.
When I label a tape with the bconsole i get the following error.:
3999 Device /dev/tape/by-id/scsi-3500e09e0001af92f-nst not found or
could not be opened
I have searched but not found a solution for my problem.
I have done a btape fill command succsesfully.
The Tape I using is allready labeled with Legato Networker but I have
done mt rewind and mt weof.

Can anybody give me some hints about this error?
Thanks!

Here are the interesting infos:

Linux Distribution: OpenSuse 11.3
###
linux-28m5:/opt/bacula/bacula_base/sbin # ps fuax |grep bacula
root 25640  0.0  0.0   9728   840 pts/3S+   09:52   0:00 
|   \_ grep bacula
root 24317  0.0  0.0  59532  1908 ?Ssl  Oct28   0:00
/opt/bacula/bacula_base//sbin/bacula-sd -v -c
/opt/bacula/bacula_base//etc/bacula-sd.conf
root 24327  0.0  0.0 133516  2044 ?Ssl  Oct28   0:00
/opt/bacula/bacula_base//sbin/bacula-fd -v -c
/opt/bacula/bacula_base//etc/bacula-fd.conf
root 24335  0.0  0.0  82016  2904 ?Ssl  Oct28   0:00
/opt/bacula/bacula_base//sbin/bacula-dir -v -c
/opt/bacula/bacula_base//etc/bacula-dir.conf
###

bacula-dir.conf:
###
Storage
{
 Name = sdlt1600
 Address = 127.0.0.1 # Yes bad decision to use localhost but its for
testing only.
 SDPort = 9103
 Password = PASSWORD
 Device = /dev/tape/by-id/scsi-3500e09e0001af92f-nst
 Media Type = DLT-S4
 Autochanger = no
}
###

bacula-sd.conf:
###
Device
{
 Name = sdlt1600
 Media Type = DLT-S4
 Archive Device = /dev/tape/by-id/scsi-3500e09e0001af92f-nst
 RemovableMedia = yes
 RandomAccess = no
 Always Open = no
 Requires Mount = no
}
###

-- 
Mit freundlichen Grüßen
Rene Arnhold

Tel.: 03641 49 5513
OpenPGP auf hkp://blackhole.pca.dfn.de:11371



 Information from NOD32 
This message was checked by NOD32 Antivirus System for Linux Mail Server.
http://www.nod32.com

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2010-11-01 Thread Francisco Javier Funes Nieto
Why don't  you  use the classic /dev/nst0 device format in the Device section?

J.



2010/11/1 Rene Arnhold rene.arnh...@jena.de:
 Hi
 At the Moment i try to configure a Bacula Backup Server.
 When I label a tape with the bconsole i get the following error.:
 3999 Device /dev/tape/by-id/scsi-3500e09e0001af92f-nst not found or
 could not be opened
 I have searched but not found a solution for my problem.
 I have done a btape fill command succsesfully.
 The Tape I using is allready labeled with Legato Networker but I have
 done mt rewind and mt weof.

 Can anybody give me some hints about this error?
 Thanks!

 Here are the interesting infos:

 Linux Distribution: OpenSuse 11.3
 ###
 linux-28m5:/opt/bacula/bacula_base/sbin # ps fuax |grep bacula
 root     25640  0.0  0.0   9728   840 pts/3    S+   09:52   0:00
 |       \_ grep bacula
 root     24317  0.0  0.0  59532  1908 ?        Ssl  Oct28   0:00
 /opt/bacula/bacula_base//sbin/bacula-sd -v -c
 /opt/bacula/bacula_base//etc/bacula-sd.conf
 root     24327  0.0  0.0 133516  2044 ?        Ssl  Oct28   0:00
 /opt/bacula/bacula_base//sbin/bacula-fd -v -c
 /opt/bacula/bacula_base//etc/bacula-fd.conf
 root     24335  0.0  0.0  82016  2904 ?        Ssl  Oct28   0:00
 /opt/bacula/bacula_base//sbin/bacula-dir -v -c
 /opt/bacula/bacula_base//etc/bacula-dir.conf
 ###

 bacula-dir.conf:
 ###
 Storage
 {
  Name = sdlt1600
  Address = 127.0.0.1 # Yes bad decision to use localhost but its for
 testing only.
  SDPort = 9103
  Password = PASSWORD
  Device = /dev/tape/by-id/scsi-3500e09e0001af92f-nst
  Media Type = DLT-S4
  Autochanger = no
 }
 ###

 bacula-sd.conf:
 ###
 Device
 {
  Name = sdlt1600
  Media Type = DLT-S4
  Archive Device = /dev/tape/by-id/scsi-3500e09e0001af92f-nst
  RemovableMedia = yes
  RandomAccess = no
  Always Open = no
  Requires Mount = no
 }
 ###

 --
 Mit freundlichen Grüßen
 Rene Arnhold

 Tel.: 03641 49 5513
 OpenPGP auf hkp://blackhole.pca.dfn.de:11371



  Information from NOD32 
 This message was checked by NOD32 Antivirus System for Linux Mail Server.
 http://www.nod32.com

 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users




-- 
_

Francisco Javier Funes Nieto [esen...@gmail.com]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] unable to label a tape

2010-11-01 Thread Arnhold
Thanks for response.

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

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


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


+--
|This was sent by rene.arnh...@jena.de via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2010-11-01 Thread Martin Simmons
 On Mon, 01 Nov 2010 09:04:13 +0100, Rene Arnhold said:
 
 When I label a tape with the bconsole i get the following error.:
 3999 Device /dev/tape/by-id/scsi-3500e09e0001af92f-nst not found or
 could not be opened
 ...
 bacula-dir.conf:
 ###
 Storage
 {
  Name = sdlt1600
  Address = 127.0.0.1 # Yes bad decision to use localhost but its for
 testing only.
  SDPort = 9103
  Password = PASSWORD
  Device = /dev/tape/by-id/scsi-3500e09e0001af92f-nst

This should be Device = sdlt1600 to match the Device Name in the
bacula-sd.conf.


  Media Type = DLT-S4
  Autochanger = no
 }
 ###
 
 bacula-sd.conf:
 ###
 Device
 {
  Name = sdlt1600
  Media Type = DLT-S4
  Archive Device = /dev/tape/by-id/scsi-3500e09e0001af92f-nst
  RemovableMedia = yes
  RandomAccess = no
  Always Open = no
  Requires Mount = no
 }
 ###

__Martin

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] unable to label a tape

2010-11-01 Thread Arnhold

 
 This should be Device = sdlt1600 to match the Device Name in the 
 bacula-sd.conf. 
 


This was the solution.
Device here means devicename in storage daemon and not devicefile.

Many thanks Martin.

+--
|This was sent by rene.arnh...@jena.de via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users