Bacula-users

Re: [Bacula-users] Problem in backup tape

2009-10-12 08:36:24
Subject: Re: [Bacula-users] Problem in backup tape
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 12 Oct 2009 14:32:46 +0200
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-7777
>       eduardo.moraes AT raidbr.com DOT br <mailto:eduardo.moraes AT 
> raidbr.com DOT br>
>       www.raidbr.com.br <http://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 AT lists.sourceforge DOT 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 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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

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