Hi,
We have issue with IBM tape drive upon reboot tape drive sequence changes.
So we would like to set persistent name for tape drives. Please let me know the Udev rule file syntax for the same.
OS
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
IBM tape driver rpm installed
rpm -qa |grep lin_tape
lin_taped-1.48.0-1
lin_tape-1.48.0-1
IBM tape drive detected
cat /proc/scsi/IBMtape
lin_tape version: 1.48.0
lin_tape major number: 251
Attached Tape Devices:
Number model SN HBA FO Path
0 ULT3580-TD4 0007855428 lpfc NA
1 ULT3580-TD4 0007867292 lpfc NA
2 ULT3580-TD4 0007867263 lpfc NA
ls -l /dev/IBMtape*
crw-r--r-- 1 root root 251, 3071 Jan 31 01:35 /dev/IBMtape
crw------- 1 root root 251, 0 Jan 31 01:35 /dev/IBMtape0
crw------- 1 root root 251, 1024 Jan 31 01:35 /dev/IBMtape0n
crw------- 1 root root 251, 1 Jan 31 01:35 /dev/IBMtape1
crw------- 1 root root 251, 1025 Jan 31 01:35 /dev/IBMtape1n
crw------- 1 root root 251, 2 Jan 31 01:35 /dev/IBMtape2
crw------- 1 root root 251, 1026 Jan 31 01:35 /dev/IBMtape2n
Thanks,
shekar
We have issue with IBM tape drive upon reboot tape drive sequence changes.
So we would like to set persistent name for tape drives. Please let me know the Udev rule file syntax for the same.
OS
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
IBM tape driver rpm installed
rpm -qa |grep lin_tape
lin_taped-1.48.0-1
lin_tape-1.48.0-1
IBM tape drive detected
cat /proc/scsi/IBMtape
lin_tape version: 1.48.0
lin_tape major number: 251
Attached Tape Devices:
Number model SN HBA FO Path
0 ULT3580-TD4 0007855428 lpfc NA
1 ULT3580-TD4 0007867292 lpfc NA
2 ULT3580-TD4 0007867263 lpfc NA
ls -l /dev/IBMtape*
crw-r--r-- 1 root root 251, 3071 Jan 31 01:35 /dev/IBMtape
crw------- 1 root root 251, 0 Jan 31 01:35 /dev/IBMtape0
crw------- 1 root root 251, 1024 Jan 31 01:35 /dev/IBMtape0n
crw------- 1 root root 251, 1 Jan 31 01:35 /dev/IBMtape1
crw------- 1 root root 251, 1025 Jan 31 01:35 /dev/IBMtape1n
crw------- 1 root root 251, 2 Jan 31 01:35 /dev/IBMtape2
crw------- 1 root root 251, 1026 Jan 31 01:35 /dev/IBMtape2n
Thanks,
shekar