On 2/21/07, Stefan G. Weichinger <[EMAIL PROTECTED]> wrote:
FL schrieb: > A host check reports no slots available, when there are slots available. > What causes this, and what is the remedy? Thanks. > > Changer problem: no slots available In my case it helped to change the group of the used changer-device: # chgrp tape /dev/sg2 when the amanda-user is member of the group tape. # ll /dev/sg2 crw-rw---- 1 root tape 21, 2 16. Feb 11:35 /dev/sg2 After that you can try amanda ~ $ mtx -f /dev/sg2 status and amcheck should find slots then. The group of the changer-device might be reset after reboot, due to udev and similar stuff, haven't yet researched how to fix that here. I do it manually, one could also add this to some boot-script. Stefan Hi,
In fact, that's what I've been doing, and I've added it to a boot script; e.g., modprobe sg chown root.tape /dev/sg2 if [ ! -h /dev/changer ]; then ln -s /dev/sg2 /dev/changer fi (My changer device is also /dev/sg2.) I must look into udev...I may be attempting to change ownership and set the symbolic link at the wrong time... FL
