Re: AMANDA reports no slots, but there ARE slots!
2007-03-06 18:13:51
FL schrieb:
> Thanks for getting back to me so quickly!
Why should I sleep at midnight? ;-)
> And in my startup script, I have:
>
> modprobe sg
> chown root.tape /dev/sg0
> chown root.tape /dev/sg1 # moved from sg2 to sg1!!!
> chown root.tape /dev/sg2
> chown root.tape /dev/sg3
> if [ ! -h /dev/changer ]; then
> ln -s /dev/sg1 /dev/changer
> fi
>
> But this is not optimal. According to /proc/scsi/scsi
> I have this entry
>
> Host: scsi2 Channel: 00 Id: 00 Lun: 00
> Vendor: EXABYTE Model: LTO 1x7 2U Rev: B005
> Type: Medium Changer ANSI SCSI revision: 04
[...]
> So, after the most cursory reading of the documentation, I guess that I want
>
> ID=="2:0:0:0" BUS=="scsi" SYSFS{vendor}=="EXABYTE " NAME="changer"
>
> to identify the device and set the symbolic link (I also need to set the
> ownership and mode....).
Looks OK, just try it with udevtest.
Why do you want that symbolic link?
Why not use "/dev/sg2" in your config?
But you may use it, sure.
Even better stuff: udev is also able to set the group:
I have (example):
# cat 10-udev.rules
# "chgrp tape" for the changer-robots
BUS=="scsi", KERNEL=="sg?", ATTR{model}=="SA100", GROUP="tape"
Stefan
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: AMANDA reports no slots, but there ARE slots!, FL
- Re: AMANDA reports no slots, but there ARE slots!, Stefan G. Weichinger
- Re: AMANDA reports no slots, but there ARE slots!, FL
- Re: AMANDA reports no slots, but there ARE slots!,
Stefan G. Weichinger <=
- Re: AMANDA reports no slots, but there ARE slots!, FL
- Re: AMANDA reports no slots, but there ARE slots!, Stefan G. Weichinger
- Re: AMANDA reports no slots, but there ARE slots!, FL
- Re: AMANDA reports no slots, but there ARE slots!, Stefan G. Weichinger
- Re: AMANDA reports no slots, but there ARE slots!, FL
- Re: AMANDA reports no slots, but there ARE slots!, Gene Heskett
Re: AMANDA reports no slots, but there ARE slots!, Jon LaBadie
|
|
|