Re: [Bacula-users] Problem in backup tape

2009-10-15 Thread Arno Lehmann
Hi,

15.10.2009 16:06, Eduardo de Moraes Oliveira - Raidbr wrote:
> Hello Again,
> 
> Thanks for previous help,
> 
> I changed the configuration of bacula-sd and left as follows:

Sorry, I was typing too fast :-)

I wanted to suggest adding "Device Type = Tape". Media type is still 
needed, of course, and must match what the DIR knows about that 
storage device. And, of course, the volume you want to use has to be 
of the same media type.

Arno

> Device {
> Name = FITA
> Media Type = DDS-72
> Archive Device = /dev/nst0
> LabelMedia = yes;
> Random Access = Yes;
> AutomaticMount = yes;
> RemovableMedia = no;
> AlwaysOpen = yes;
> }
> 
> Device Tape is:
> 
> IBM 36/72gb DAT 72
> CE G32419   FRU 40K2553
> FRU  P/N  TD6100-621
> Model Nº  CD72LWH
>  
> Chip  CERTANCE  SANCHO  10005273-003  BU9593KV  
> 635  170
>  
> But continues with the following error:
> 
> 5-Oct 05:00 terra.farmaciaipam.com.br-dir JobId 211: message.c:485 Mail 
> prog:
> 15-Oct 05:00 terra.farmaciaipam.com.br-dir JobId 210: Start Copying 
> JobId 210, Job=CopyDiskToTapeFullBackups.2009-10-15_05.00.00_13
> 15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210: *Error: dev.c:140 
> /dev/nst0 is an unknown device type. Must be tape or directory
>  or have RequiresMount=yes for DVD. 
> st_mode=61ff* 
>
> 
> 15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210: 
> Warning:  
>  
> 
>  Device "FITA" requested by DIR could not be opened or does not 
> exist. 
> 15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210: Error: dev.c:140 
> /dev/nst0 is an unknown device type. Must be tape or directory
>  or have RequiresMount=yes for DVD. 
> st_mode=61ff  
>   
> 
> 15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210: 
> Warning:  
>  
> 
>  Device "FITA" requested by DIR could not be opened or does not 
> exist. 
> 15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210: Error: dev.c:140 
> /dev/nst0 is an unknown device type. Must be tape or directory
>  or have RequiresMount=yes for DVD. 
> st_mode=61ff  
>   
> 
> 15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210: 
> Warning:  
>  
> 
>  Device "FITA" requested by DIR could not be opened or does not 
> exist. 
> 15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210: Fatal error: Device 
> reservation failed for JobId=210: Jmsg 
> Job=CopyDiskToTapeFullBackups.2009-10-15_05.00.00_13 type=5 
> level=1255593605 terra.farmaciaipam.com.br-sd JobId 210: Warning:
>  Device "FITA" requested by DIR could not be opened or does not exist.
> 
> 15-Oct 05:00 terra.farmaciaipam.com.br-dir JobId 210: Fatal error:
>  Storage daemon didn't accept Device "FITA" because:
>  3924 Device "FITA" not in SD Device resources.
> 
> Please,
> 
> HELP!
> 
> Regards,
> 
> *Eduardo de Moraes Oliveira*
> Coordenador de Suporte
> *Raidbr Soluções em Informática Ltda*
> 
> 
>   Rua José Albino Reuse, 1125
> Caxias do Sul - RS
>   (54) 3204-
>   eduardo.mor...@raidbr.com.br 
>   www.raidbr.com.br 
> 
> 
> 
> 2009/10/12 Arno Lehmann mailto:a...@its-lehmann.de>>
> 
> Hi,
> 
> 09.10.2009 19:13, Eduardo de Moraes Oliveira - Raidbr wrote:
>  > Hello,
>  >
>  > I have a few questions about tape... my disk-to-disk-to-tape backup
>  > displays the following error below when I try to run the job from
> tape.
>  >
>  > I'm using the Bacula on a NetBSD.
> 
> Oooh... NetBSD. Not exactly the best choice for BAcula IMO as it's not
> used by any of the developers, and I believe there is no regression
> testing done with a NetBSD machine.
> 
>  > The Device is a tape:
>  >
>  > IBM  Model CD72LWH
>  > IBM 36/72 GB DAT 72
> 
> DAT is also not what I'd choose as backup media... good luck there!
> 
>  > FRU  40K2553
>  > TD 6100-621
>  > Ec G32419
>  >
>  >
>  > What is wrong?
>  >
>  > How can I procede?
> 
> Try to assign a media type in the device configuration in the SD's
> config file.
> 
> Also make sure you've got corresponding media types in the DIR and SD
> sections referencing this storage device.
> 
>  >
>  > Log Error:
>  >
>  > 09-Oct 10:46 terra.farmaciaipam.com.br-dir JobId 154:
> message.c:485 Mail
>  > prog:
>  > 09-Oct 10:46 terra.farmaciaip

Re: [Bacula-users] Problem in backup tape

2009-10-15 Thread Eduardo de Moraes Oliveira - Raidbr
Hello Again,

Thanks for previous help,

I changed the configuration of bacula-sd and left as follows:

Device {
Name = FITA
Media Type = DDS-72
Archive Device = /dev/nst0
LabelMedia = yes;
Random Access = Yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = yes;
}

Device Tape is:

IBM 36/72gb DAT 72
CE G32419   FRU 40K2553
FRU  P/N  TD6100-621
Model Nº  CD72LWH

Chip  CERTANCE  SANCHO  10005273-003  BU9593KV
635  170

But continues with the following error:

5-Oct 05:00 terra.farmaciaipam.com.br-dir JobId 211: message.c:485 Mail
prog:
15-Oct 05:00 terra.farmaciaipam.com.br-dir JobId 210: Start Copying JobId
210, Job=CopyDiskToTapeFullBackups.2009-10-15_05.00.00_13
15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210: *Error: dev.c:140
/dev/nst0 is an unknown device type. Must be tape or directory
 or have RequiresMount=yes for DVD. st_mode=61ff*

15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210:
Warning:

 Device "FITA" requested by DIR could not be opened or does not
exist.
15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210: Error: dev.c:140
/dev/nst0 is an unknown device type. Must be tape or directory
 or have RequiresMount=yes for DVD.
st_mode=61ff

15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210:
Warning:

 Device "FITA" requested by DIR could not be opened or does not
exist.
15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210: Error: dev.c:140
/dev/nst0 is an unknown device type. Must be tape or directory
 or have RequiresMount=yes for DVD.
st_mode=61ff

15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210:
Warning:

 Device "FITA" requested by DIR could not be opened or does not
exist.
15-Oct 05:00 terra.farmaciaipam.com.br-sd JobId 210: Fatal error: Device
reservation failed for JobId=210: Jmsg
Job=CopyDiskToTapeFullBackups.2009-10-15_05.00.00_13 type=5 level=1255593605
terra.farmaciaipam.com.br-sd JobId 210: Warning:
 Device "FITA" requested by DIR could not be opened or does not exist.

15-Oct 05:00 terra.farmaciaipam.com.br-dir JobId 210: Fatal error:
 Storage daemon didn't accept Device "FITA" because:
 3924 Device "FITA" not in SD Device resources.

Please,

HELP!

Regards,

 *Eduardo de Moraes Oliveira*
 Coordenador de Suporte
*Raidbr Soluções em Informática Ltda*

  Rua José Albino Reuse, 1125
Caxias do Sul - RS  (54) 3204-  eduardo.mor...@raidbr.com.br
www.raidbr.com.br



2009/10/12 Arno Lehmann 

> Hi,
>
> 09.10.2009 19:13, Eduardo de Moraes Oliveira - Raidbr wrote:
> > Hello,
> >
> > I have a few questions about tape... my disk-to-disk-to-tape backup
> > displays the following error below when I try to run the job from tape.
> >
> > I'm using the Bacula on a NetBSD.
>
> Oooh... NetBSD. Not exactly the best choice for BAcula IMO as it's not
> used by any of the developers, and I believe there is no regression
> testing done with a NetBSD machine.
>
> > The Device is a tape:
> >
> > IBM  Model CD72LWH
> > IBM 36/72 GB DAT 72
>
> DAT is also not what I'd choose as backup media... good luck there!
>
> > FRU  40K2553
> > TD 6100-621
> > Ec G32419
> >
> >
> > What is wrong?
> >
> > How can I procede?
>
> Try to assign a media type in the device configuration in the SD's
> config file.
>
> Also make sure you've got corresponding media types in the DIR and SD
> sections referencing this storage device.
>
> >
> > Log Error:
> >
> > 09-Oct 10:46 terra.farmaciaipam.com.br-dir JobId 154: message.c:485 Mail
> > prog:
> > 09-Oct 10:46 terra.farmaciaipam.com.br-dir JobId 145: Start Copying
> > JobId 145, Job=CopyDiskToTapeFullBackups.2009-10-09_10.46.24_03
> > 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: Error: dev.c:140
> > /dev/st0 is an unknown device type. Must be tape or directory
> >  or have RequiresMount=yes for DVD.
>
> Bacula didn't guess the device type, so you should explicitly set it.
> Also it's better to use the non-rewinding device (/dev/nst0 probably).
>
> > st_mode=61b0
> >
> > 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145:
> > Warning:
> >
> >  Device "FITA" requested by DIR could not be opened or does not
> > exist.
>
> This can also indicate non-matching media types.
>
> Cheers,
>
> Arno
>
> > 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: Error: dev.c:140
> > /dev/st0 is an unknown device type. Must be tape or directory
> >  or have RequiresMount=yes for DVD.
> > st_mode=61b0
> >
> > 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145:
> > Warning:
> >
> >  Device "FITA" requested by DIR could not be opened or does not
> > exist.
> > 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: Error: dev.c:140
> > /dev/st0 is an unknown device type. Must be tape or directory
> >  or have RequiresMount=yes for DVD.
> > st_mode=61b0
> >
> > 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145:
> > Warning:
> >
> >  Device "FITA" requested by DIR could not be opened or does not
> > exist.
> > 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: Fatal error: Device
> > reserv

Re: [Bacula-users] Problem in backup tape

2009-10-12 Thread Arno Lehmann
Hi,

09.10.2009 19:13, Eduardo de Moraes Oliveira - Raidbr wrote:
> Hello,
> 
> I have a few questions about tape... my disk-to-disk-to-tape backup 
> displays the following error below when I try to run the job from tape.
> 
> I'm using the Bacula on a NetBSD.

Oooh... NetBSD. Not exactly the best choice for BAcula IMO as it's not 
used by any of the developers, and I believe there is no regression 
testing done with a NetBSD machine.

> The Device is a tape:
> 
> IBM  Model CD72LWH
> IBM 36/72 GB DAT 72

DAT is also not what I'd choose as backup media... good luck there!

> FRU  40K2553
> TD 6100-621
> Ec G32419
> 
>  
> What is wrong?
> 
> How can I procede?

Try to assign a media type in the device configuration in the SD's 
config file.

Also make sure you've got corresponding media types in the DIR and SD 
sections referencing this storage device.

> 
> Log Error:
> 
> 09-Oct 10:46 terra.farmaciaipam.com.br-dir JobId 154: message.c:485 Mail 
> prog:
> 09-Oct 10:46 terra.farmaciaipam.com.br-dir JobId 145: Start Copying 
> JobId 145, Job=CopyDiskToTapeFullBackups.2009-10-09_10.46.24_03
> 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: Error: dev.c:140 
> /dev/st0 is an unknown device type. Must be tape or directory
>  or have RequiresMount=yes for DVD. 

Bacula didn't guess the device type, so you should explicitly set it. 
Also it's better to use the non-rewinding device (/dev/nst0 probably).

> st_mode=61b0  
>  
> 
> 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: 
> Warning:  
> 
>  Device "FITA" requested by DIR could not be opened or does not 
> exist.

This can also indicate non-matching media types.

Cheers,

Arno

> 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: Error: dev.c:140 
> /dev/st0 is an unknown device type. Must be tape or directory
>  or have RequiresMount=yes for DVD. 
> st_mode=61b0  
>  
> 
> 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: 
> Warning:  
> 
>  Device "FITA" requested by DIR could not be opened or does not 
> exist.
> 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: Error: dev.c:140 
> /dev/st0 is an unknown device type. Must be tape or directory
>  or have RequiresMount=yes for DVD. 
> st_mode=61b0  
>  
> 
> 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: 
> Warning:  
> 
>  Device "FITA" requested by DIR could not be opened or does not 
> exist.
> 09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: Fatal error: Device 
> reservation failed for JobId=145: Jmsg 
> Job=CopyDiskToTapeFullBackups.2009-10-09_10.46.24_03 type=5 
> level=1255096001 terra.farmaciaipam.com.br-sd JobId 145: Warning:
>  Device "FITA" requested by DIR could not be opened or does not exist.
> 
> 09-Oct 10:46 terra.farmaciaipam.com.br-dir JobId 145: Fatal error:
>  Storage daemon didn't accept Device "FITA" because:
>  3924 Device "FITA" not in SD Device resources.
> 09-Oct 10:46 terra.farmaciaipam.com.br-dir JobId 145: Error: Bacula 
> terra.farmaciaipam.com.br-dir 3.0.2 (18Jul09): 09-Oct-2009 10:46:41
> 
> Regards.
> 
> *Eduardo de Moraes Oliveira*
> Coordenador de Suporte
> *Raidbr Soluções em Informática Ltda*
> 
> 
>   Rua José Albino Reuse, 1125
> Caxias do Sul - RS
>   (54) 3204-
>   eduardo.mor...@raidbr.com.br 
>   www.raidbr.com.br 
> 
> 
> 
> 
> --
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> 
> 
> 
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you

[Bacula-users] Problem in backup tape

2009-10-09 Thread Eduardo de Moraes Oliveira - Raidbr
Hello,

I have a few questions about tape... my disk-to-disk-to-tape backup displays
the following error below when I try to run the job from tape.

I'm using the Bacula on a NetBSD.

The Device is a tape:

IBM  Model CD72LWH
IBM 36/72 GB DAT 72
FRU  40K2553
TD 6100-621
Ec G32419


What is wrong?

How can I procede?


Log Error:

09-Oct 10:46 terra.farmaciaipam.com.br-dir JobId 154: message.c:485 Mail
prog:
09-Oct 10:46 terra.farmaciaipam.com.br-dir JobId 145: Start Copying JobId
145, Job=CopyDiskToTapeFullBackups.2009-10-09_10.46.24_03
09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: Error: dev.c:140
/dev/st0 is an unknown device type. Must be tape or directory
 or have RequiresMount=yes for DVD.
st_mode=61b0

09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145:
Warning:

 Device "FITA" requested by DIR could not be opened or does not
exist.
09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: Error: dev.c:140
/dev/st0 is an unknown device type. Must be tape or directory
 or have RequiresMount=yes for DVD.
st_mode=61b0

09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145:
Warning:

 Device "FITA" requested by DIR could not be opened or does not
exist.
09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: Error: dev.c:140
/dev/st0 is an unknown device type. Must be tape or directory
 or have RequiresMount=yes for DVD.
st_mode=61b0

09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145:
Warning:

 Device "FITA" requested by DIR could not be opened or does not
exist.
09-Oct 10:46 terra.farmaciaipam.com.br-sd JobId 145: Fatal error: Device
reservation failed for JobId=145: Jmsg
Job=CopyDiskToTapeFullBackups.2009-10-09_10.46.24_03 type=5 level=1255096001
terra.farmaciaipam.com.br-sd JobId 145: Warning:
 Device "FITA" requested by DIR could not be opened or does not exist.

09-Oct 10:46 terra.farmaciaipam.com.br-dir JobId 145: Fatal error:
 Storage daemon didn't accept Device "FITA" because:
 3924 Device "FITA" not in SD Device resources.
09-Oct 10:46 terra.farmaciaipam.com.br-dir JobId 145: Error: Bacula
terra.farmaciaipam.com.br-dir 3.0.2 (18Jul09): 09-Oct-2009 10:46:41

Regards.

 *Eduardo de Moraes Oliveira*
 Coordenador de Suporte
*Raidbr Soluções em Informática Ltda*

  Rua José Albino Reuse, 1125
Caxias do Sul - RS  (54) 3204-  eduardo.mor...@raidbr.com.br
www.raidbr.com.br
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users