Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
But when I try to acess these tape drives I receives I/O error.
[root@test root]# mt -f /dev/st4 status
/dev/st4: Input/output error
-----------------------------------------
In /var/log/messages I am getting a SCSI Conflict Error.
[root@test root]# grep -i RESERVATION /var/log/messages
May 20 23:00:53 test kernel: scsi0 (0,1,0) : RESERVATION CONFLICT
May 20 23:00:53 test kernel: scsi0 (0,3,0) : RESERVATION CONFLICT
May 20 23:01:27 test kernel: scsi0 (0,1,0) : RESERVATION CONFLICT
May 20 23:01:27 test kernel: scsi0 (0,3,0) : RESERVATION CONFLICT
May 20 23:01:29 test kernel: scsi0 (0,1,0) : RESERVATION CONFLICT
May 20 23:01:29 test kernel: scsi0 (0,3,0) : RESERVATION CONFLICT
May 21 12:03:46 test kernel: scsi0 (0,2,0) : RESERVATION CONFLICT
May 23 11:49:39 test kernel: scsi0 (0,0,0) : RESERVATION CONFLICT
May 23 18:09:54 test kernel: scsi0 (0,2,0) : RESERVATION CONFLICT
May 23 18:10:29 test kernel: scsi0 (0,2,0) : RESERVATION CONFLICT
May 23 18:18:01 test kernel: scsi0 (0,2,0) : RESERVATION CONFLICT
May 23 19:46:12 test kernel: scsi0 (0,4,0) : RESERVATION CONFLICT
May 23 19:47:16 test kernel: scsi0 (0,4,0) : RESERVATION CONFLICT
---------------------------------------------
I am facing this problem on both servers. I tried but cannot get any solution.
Some where I read that some time machine reserver lun and does not release and you need to free lun so that a new devices can be used.
I am unable to figure out the solution.
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep:
Hye
do you use actual drivers provided by HP? There are smart start CD's provided by HP containing Linux drivers for the HP delivered HBA's. Also think about updating to an actual version of RHEL. Version 3 is still old.
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep:
Hye
it seems both hosts try to do a SCSI reservation on the devices. This will not work in case both hosts try to reserve the device for their own use.
Only one host can have access to one device on a SCSI bus. So sharing such devices requires specific mechanism provided by a special driver e.g. Veritas Netbackup tape device driver provide such functionality. Not sure, but Linux standard tape driver seems to reserve the device for himself, which only works for the first host connected to the device.
Did you test if the tape works in case only one server is connected? If yes, than this seems to be your problem.
It is apparent that if both hosts use the same shared application to access these drives then the application may have a bug in keeping track of those host Clients 'in use', before it attempts to access the tape drive(s). If there is no such application being used and the hosts are accessing the drives independently of each other, the conflict is obvious.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.