Hi Martin, I had to change SYSFS into ATTR and now it's working. Thank you VERY much again for your help!
Kind regards, Eric van Loon Core Infra -----Original Message----- From: ADSM: Dist Stor Manager <ADSM-L@VM.MARIST.EDU> On Behalf Of Martin Janosik Sent: vrijdag 23 december 2022 16:01 To: ADSM-L@VM.MARIST.EDU Subject: Re: TS4300 configuration Hi, /dev directory is dynamically built so it's not needed to create directory manually, it should get populated once you load kernel module > When you run the lin_tape kernel module, it creates special files in > the /dev directory Adding persistent naming + all stop/unload/load/start steps are described in User's Guide (page 54) 'Persistent Naming Support' https://www.ibm.com/support/pages/system/files/inline-files/$FILE/GC27-2130-23_0.pdf Martin Janosik -----Original Message----- From: ADSM: Dist Stor Manager <ADSM-L@VM.MARIST.EDU> On Behalf Of Loon, Eric van (ITOP DI) - KLM Sent: piatok 23. decembra 2022 15:18 To: ADSM-L@VM.MARIST.EDU Subject: [EXTERNAL] Re: [ADSM-L] TS4300 configuration Hi Martin! Thanks for the link! I've done some more searching online and I found some documentation about enabling the following option: options lin_tape alternate_pathing=1 So I created a /etc/modprobe.d/lin_tape.conf file and added this option to it, along with the persistent naming option: options lin_tape persistent_n_device=1 I also created the /etc/udev/rules.d/98-lin_tape.rules file with all the drives in it. I stopped and unloaded lin_tape, reloaded the rules with udevadm control --reload-rules and loaded and started lin_tape. I was expecting to see the devices created, but I still can't find a /dev/lin_tape/by-id directory. I don't have to create this directory manually, do I? Thanks again for your help! Kind regards, Eric van Loon Air France/KLM Core Infra -----Original Message----- From: ADSM: Dist Stor Manager <ADSM-L@VM.MARIST.EDU> On Behalf Of Martin Janosik Sent: vrijdag 23 december 2022 15:04 To: ADSM-L@VM.MARIST.EDU Subject: Re: TS4300 configuration Hi Eric, I'm not sure it's possible to selectively remove /dev/IBMchangerX devices. I would follow https://www.ibm.com/docs/en/ts4300-tape-library?topic=tape-taking-devices-offline-completing-maintenance to completely stop lintaped as it should remove all IBMtape/IBMchanger and then proceed with removal of generic tape devices lsscsi and find the H:B:T:L for each Tape Device. Then, for each H:B:T:L do: echo 1 > /sys/bus/scsi/devices/H:B:T:L/delete Reconfigure control paths in library (, rescan_scsi just to make sure) and start lintaped. Martin Janosik -----Original Message----- From: ADSM: Dist Stor Manager <ADSM-L@VM.MARIST.EDU> On Behalf Of Loon, Eric van (ITOP DI) - KLM Sent: piatok 23. decembra 2022 11:23 To: ADSM-L@VM.MARIST.EDU Subject: [EXTERNAL] [ADSM-L] TS4300 configuration Hi guys, I'm connecting a TS4300 to my SP server. The library I defined contains 6 drive and I selected all drives as control path. This however creates six /dev/IBMchanger devices. So before I correct my mistake and update the library definition, I like to remove /dev/IBMchanger1 to 5 first. What is the proper way to remove these library devices from a Linux host? Thanks for any help in advance! Kind regards, Eric van Loon Core Infra ******************************************************** For information, services and offers, please visit our web site: http://www.klm.com . This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ******************************************************** Unless stated otherwise above: Kyndryl Česká republika, spol. s r. o. Sídlo: V Parku 2294/4, Chodov, 148 00 Praha 4, IČ: 096 28 886 Zapsaná v obchodním rejstříku, vedeném Městským soudem v Praze (oddíl C, vložka 339277) Registered address: V Parku, 2294/4, Chodov, 148 00 Prague 4 Company ID: 096 28 886 Registered in the Commercial Register maintained by the Municipal Court in Prague (Part C, Entry 339277 ******************************************************** For information, services and offers, please visit our web site: http://www.klm.com . This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ******************************************************** Unless stated otherwise above: Kyndryl Česká republika, spol. s r. o. Sídlo: V Parku 2294/4, Chodov, 148 00 Praha 4, IČ: 096 28 886 Zapsaná v obchodním rejstříku, vedeném Městským soudem v Praze (oddíl C, vložka 339277) Registered address: V Parku, 2294/4, Chodov, 148 00 Prague 4 Company ID: 096 28 886 Registered in the Commercial Register maintained by the Municipal Court in Prague (Part C, Entry 339277 ******************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ********************************************************