Re: Removing tape devices

2023-02-02 Thread Skylar Thompson
Can you confirm that the serial_num attribute that udev sees matches the contents of /proc/scsi/IBMtape? udevadm info --attribute-walk --name /dev/IBMtape5|grep serial_num If it does, you might try restarting udevd, though I've had to resort to reboot when udev just doesn't want to notice that

Re: Removing tape devices

2023-02-02 Thread Loon, Eric van (ITOP DI) - KLM
Hi Skylar, Yes, all drives are LTO drives (SAN attached). I tried your procedure, but it's not working. The six tape devices are all actually there: # ls -al /dev/IBMtap* crw--- 1 root root 235,0 Feb 2 17:04 /dev/IBMtape0 crw--- 1 root root 235, 1024 Feb 2 17:04 /dev/IBMtape0n

Re: Removing tape devices

2023-02-02 Thread Skylar Thompson
Are these all IBM LTO drives using the lin_tape driver? My experience on RHEL7 w/ FC-attached drives is that the devices show up automatically, though I can't remember if it removes them if the drive falls off the fabric. I suspect not, just so that a transient problem doesn't leave the system in

Removing tape devices

2023-02-02 Thread Loon, Eric van (ITOP DI) - KLM
Hi everybody, I'm having some issues with missing persistent names after a HBA replacement on a Linux server. I like to remove all tape devices, so all /dev/IBMTape*, all /dev/lin_tape/by-id/drive* devices and the SCSI devices. What is the proper way to do that in Linux? Afterwards, I like to