Hello,

Am 23.11.2015 um 06:44 schrieb 吳汝剛:
> Hello,
> I installed bareos 15.2.2 on debian 8.
> I want backup data to tape LTO6.
> But bareos-sd service can't start when I setup tape to sd.
> It's my setup.
> 
> Device {
>   Name = LTO-6
>   Archive Device = /dev/st0

you should better use /dev/nst0, see
http://doc.bareos.org/master/html/bareos-manual-main-reference.html#DeviceResource

>   Media Type = LTO-6
>   LabelMedia = yes
>   Random Access = yes
>   AutomaticMount = yes
>   RemovableMedia = yes
>   AlwaysOpen = no
> }
> 
> The failed message is follow:
> 11月 23 13:38:44 backup1 systemd[1]: bareos-storage.service: main process 
> exited, code=exited, status=1/FAILURE
> 11月 23 13:38:44 backup1 systemd[1]: Unit bareos-storage.service entered 
> failed state.
> 11月 23 13:38:44 backup1 systemd[1]: bareos-storage.service: main process 
> exited, code=exited, status=1/FAILURE
> 11月 23 13:38:44 backup1 systemd[1]: Unit bareos-storage.service entered 
> failed state.
> 11月 23 13:38:44 backup1 systemd[1]: bareos-storage.service start request 
> repeated too quickly, refusing to start.
> 11月 23 13:38:44 backup1 systemd[1]: Failed to start Bareos Storage Daemon 
> service.
> 
> If I delete tape setup on bareos.sd.conf.The bareos sd service can startup.Is 
> bareos not support LTO6?

Bareos supports LTO6.

Your log output unfortunately is of no use as it contains no output of 
bareos-sd itself.

Please run the bareos-sd as user BAREOS and check the output.

e.g.




root@debian8:> usermod bareos -s /bin/bash
root@debian8:> su - bareos
bareos@debian8:> /usr/sbin/bareos-sd  -d 500 -f
<output here>

don't forget to remove the shell from the user bareos when you are done.






-- 
Mit freundlichen Grüßen

 Philipp Storz                             [email protected]
 Bareos GmbH & Co. KG                      Phone: +49 221 63 06 93-92
 http://www.bareos.com                     Fax:   +49 221 63 06 93-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Geschäftsführer: Stephan Dühr, M. Außendorf,
 J. Steffens, P. Storz, M. v. Wieringen

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to