On 2/13/24 11:11, Heitor Faria wrote:
Hello All,I'm doing a research on more automated ways of determining the Tape Library Drives' order identification from Linux standpoint. If you have a physical tape, would you please send me in private the following? 1. The output of the command: "for i in $(ls /dev/tape/by-id/*); do udevadm info --name $i |tee; done" 2. The operating system version. Rgds.
Hello Heitor, Have you looked at the script that I just released two days ago yet? https://github.com/waa/bacula-resource-auto-creator FYI: There is no `udev` on FreeBSD, so the udevadm route will not work on that platform.The above script literally loads a tape into a drive then properly identifies with library it is in and the correct Bacula DriveIndex setting.
Also, udevadm fails to provide usable information when `lin_tape` is in use* - as we have seen from our WhatsApp chat last evening. :)
*Note: I have not added lin _tap e support yet, but plan on it very shortly. :) Best regards, Bill -- Bill Arlofski w...@protonmail.com
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users