An autochanger node should be /dev/sgX

tomasz a écrit :
> Maria McKinley wrote:
>   
>> Falk Sauer wrote:
>>     
>>> Hi Maria,
>>>
>>>       
>>> please make shure that your changer device has the correct permissions eg.:
>>>
>>>  crw-rw---- root disk /dev/sg0
>>>
>>> and for the potentially next problem ...
>>> by your tapedrive device i'm unshure, i think this should /dev/nst0, i 
>>> don't 
>>> know how its correct on exabyte tapes.
>>>
>>> Normally the /dev/st* device makes a automatic rewind after write, 
>>> the /dev/nst* make no auto rewind. Bacula needs imho a non auto rewinding 
>>> device. You dosn't write wich OS you use, here are little differences 
>>> between 
>>> the OSes.
>>>
>>> regards
>>>    Falk
>>>
>>>       
>> Thanks Falk,
>>
>> My permissions are:
>>
>> crw------- 1 root root     21,   0 2005-02-25 22:38 sg0
>>
>> so, maybe that is my problem. Can I just change this, like any file, 
>> with chown (assuming that the disk part is important) and chmod?
>>
>> As far as the /dev/nst0, I had this working with the old version of 
>> bacula (1.36), and I found then that only nst0 worked, I would get 
>> errors if I tried to change it to st0.
>>
>> I am using Debian.
>>
>> cheers,
>> maria
>>     
>
> hi there,
>
> have u tried to use mtx itself from shell?
> and see what results will give simple
> mtx -f /dev/sg0 status
> or whatever your autochanger device node is
>
> i dont know debian but i guess
> /dev/nst0 is tape drive itself not autochanger device so to move; load;
> unload tapes u have to use for example sg0 (if it works)
> like for example
> mtx -f /dev/sg0 load 3 /dev/nst0 0
> should load tape from slot 3 to tape drive
>
> of course u can load tape from bconsole as well
>
> permissions are one thing and next thing is if mtx-changer is doing a
> job and u have proper device in SD conf
>
> good luck
>   


-- 
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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to