Check permissions on /dev/nst0.
Alfonso Amato - Sintecnos srl a écrit :
> While setting up Bacula and following "Brief Tutorial", I see a strange
> problem: after the command "run" asking me for labelling the tape, I
> give the command "label", and bconsole gets lock for some 2 minutes,
> than says:
>
> 3910 Unable to open device "DAT72" (/dev/nst0): ERR=dev.c:424 Unable to
> open device "DAT72" (/dev/nst0): ERR=Permission denied
>
> The most strange thing is that if I use btape /dev/nst0 and issue a
> command "label", it works correctly and the "read" command says the tape
> has been correctly labelled.
>
> The Linux Box is a FC4.
> bacula-sd.conf file about device is:
>
> Device {
> Name = DAT72
> Media Type = DSS-3
> Device Type = Tape
> Archive Device = /dev/nst0
> AutomaticMount = yes;
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> Label Media = yes;
> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> }
>
>
> and in the bacula-dir.conf:
>
> Storage {
> Name = Tape
> Address = backupserver.pippo.local #existing address resolved
> SDPort = 9103
> Password = "xxxxxxxx"
> Device = DAT72
> Media Type = DSS-3
> }
>
> Any help?
>
> Thanks
> Alfonso
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
Adam CECILE Linbox / Free&ALter Soft
152 rue de Grigy tél: +33 3 87 50 87 95
Technopôle Metz 2000 fax: +33 3 87 75 19 26
57070 METZ - France http://www.linbox.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users