Re: [Bacula-users] Configure bacula for LIB-81 autochanger

2007-10-22 Thread S. Kremer
Hi Dan, > > To relabel an already labelled tape, you can use the relabel command. > But I think that is not what you want. You want to erase what is on > the tape, and start again. > > You can "erase" the tape by doing this: > > mt -f /dev/YOURTAPEDEVICE rewind > mt -f /dev/YOURTAPEDEVICE w

Re: [Bacula-users] Configure bacula for LIB-81 autochanger

2007-10-21 Thread Dan Langille
On 21 Oct 2007 at 19:49, S. Kremer wrote: > Hi Dan. > > I made the mistake to label manually each tape in the autochanger by > the command label media... > > Now, I know that i better used the console command label barcodes. But > now after I labeled the tapes manually I get the error messages

Re: [Bacula-users] Configure bacula for LIB-81 autochanger

2007-10-21 Thread S. Kremer
Hi Dan. I made the mistake to label manually each tape in the autochanger by the command label media... Now, I know that i better used the console command label barcodes. But now after I labeled the tapes manually I get the error messages "3920 Cannot label Volume because it is already labeled

Re: [Bacula-users] Configure bacula for LIB-81 autochanger

2007-10-21 Thread Dan Langille
On 21 Oct 2007 at 18:23, S. Kremer wrote: > Hi, > > I read the bacula manual especially the article > http://www.bacula.org/rel-manual/Autochanger_Support.html, > http://www.bacula.org/dev-manual/Brief_Tutorial.html#SECTION001216 > and > http://www.bacula.org/dev-manual/Automat

Re: [Bacula-users] Configure bacula for LIB-81 autochanger

2007-10-21 Thread S. Kremer
Hi, I read the bacula manual especially the article http://www.bacula.org/rel-manual/Autochanger_Support.html, http://www.bacula.org/dev-manual/Brief_Tutorial.html#SECTION001216 and http://www.bacula.org/dev-manual/Automatic_Volume_Recycling.html but I can not reset the labels

Re: [Bacula-users] Configure bacula for LIB-81 autochanger

2007-10-21 Thread S. Kremer
Hi Chris, could it be that your script eject the tape after run it? If I do a mtx -f /dev/sg3 status now the following output appears: mtx -f /dev/sg3 status Storage Changer /dev/sg3:1 Drives, 8 Slots ( 0 Import/Export ) Data Transfer Element 0:Full (Unknown Storage Element Loaded) Stor

Re: [Bacula-users] Configure bacula for LIB-81 autochanger

2007-10-21 Thread Chris Howells
Chris Howells wrote: > (yeah it's perl and it could easily have been done in bash, but I'm > trying to finally get my perl skills up to a reasonable level, so > practising it whenever I can ;) Oops, forgot a warning. This script is DESTRUCTIVE and you musn't run it when there's tapes with data

Re: [Bacula-users] Configure bacula for LIB-81 autochanger

2007-10-21 Thread Chris Howells
S. Kremer wrote: > can anyone tell me how to delete the label of ait4 tape at my autochanger? Did you try google? All this information is in the (extensive) bacula manual. The first hit for 'bacula label' tells you how. > I made the mistake to label each tape in the autochanger by the command l

Re: [Bacula-users] Configure bacula for LIB-81 autochanger

2007-10-21 Thread S. Kremer
Hi folks, can anyone tell me how to delete the label of ait4 tape at my autochanger? I made the mistake to label each tape in the autochanger by the command label media... Now, I know that i better used the console command label barcodes. But now after I labeled the tapes manually I get the err

Re: [Bacula-users] Configure bacula for LIB-81 autochanger

2007-10-17 Thread S. Kremer
Please excuse me, i forgotten to copy the error... :-) > >> i try to configure bacula to backup data to a Sony StorStation LIB-81 >> autochanger (200GB/520GB AIT4). The System I use is Debian GNU/Linux 4.0 >> "Etch". >> >> If I run btape -c /etc/bacula/bacula-sd.conf -f /dev/sg3 the following e

Re: [Bacula-users] Configure bacula for LIB-81 autochanger

2007-10-17 Thread Chris Howells
S. K. wrote: > i try to configure bacula to backup data to a Sony StorStation LIB-81 > autochanger (200GB/520GB AIT4). The System I use is Debian GNU/Linux 4.0 > "Etch". > > If I run btape -c /etc/bacula/bacula-sd.conf -f /dev/sg3 the following error > appear: I don't see an error in the outp

Re: [Bacula-users] Configure bacula for LIB-81 autochanger

2007-10-17 Thread Dan Langille
On 17 Oct 2007 at 13:42, S. K. wrote: > Hi > > i try to configure bacula to backup data to a Sony StorStation LIB-81 > autochanger (200GB/520GB AIT4). The System I use is Debian GNU/Linux > 4.0 "Etch". > > If I run btape -c /etc/bacula/bacula-sd.conf -f /dev/sg3 the following > error appear:

[Bacula-users] Configure bacula for LIB-81 autochanger

2007-10-17 Thread S. K.
Hi i try to configure bacula to backup data to a Sony StorStation LIB-81 autochanger (200GB/520GB AIT4). The System I use is Debian GNU/Linux 4.0 "Etch". If I run btape -c /etc/bacula/bacula-sd.conf -f /dev/sg3 the following error appear: Tape block granularity is 1024 bytes. btape: butil.c:2