Re: [Bacula-users] [Research] Tape-library udevadm info Drives Order identification

2024-02-22 Thread Marco Gaiarin
Mandi! Heitor Faria In chel di` si favelave... > The output from the command: "for i in $(ls /dev/tape/by-id/*); do udevadm > info --name $i |tee; done" > The output from the command: "ls -lah /dev/tape/by-id/*" I've tried on my backup server, and correctly list my old internal LTO tape, but t

Re: [Bacula-users] [Research] Tape-library udevadm info Drives Order identification

2024-02-13 Thread Bill Arlofski via Bacula-users
On 2/13/24 11:35, Heitor Faria wrote: Hello Bill, I will explain the reasons for that research. RHEL 9 introduced new udev rules for tape devices creation (ID_SCSI_SERIAL): Hello Heitor! And what if there are two or more Libraries attached to the system? 😉 How do you know which drive(s) are

Re: [Bacula-users] [Research] Tape-library udevadm info Drives Order identification

2024-02-13 Thread Heitor Faria
Hello Bill, I will explain the reasons for that research. RHEL 9 introduced new udev rules for tape devices creation (ID_SCSI_SERIAL): [root@ebacula rules.d]# grep -rnw tape /usr/lib/udev/rules.d/ /usr/lib/udev/rules.d/50-udev-default.rules:81:SUBSYSTEM=="scsi_generic|scsi_tape", SUBSYSTEMS=="s

Re: [Bacula-users] [Research] Tape-library udevadm info Drives Order identification

2024-02-13 Thread Bill Arlofski via Bacula-users
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

[Bacula-users] [Research] Tape-library udevadm info Drives Order identification

2024-02-13 Thread Heitor Faria
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? The output of the command: "for i in $(ls /dev/tape/by-id/*); do udevadm inf