Changed permission of /dev/nst0* into 660 and works correctly! I suggest 
to add the "chmod " line into the Brief tutorial while testing not on 
file but on real tape.

Thanks alot Adam!

Alfonso

Adam Cécile wrote:
> 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
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>   
> 
> 

-------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to