Bacula-users

[Bacula-users] udev by-id symlinks randomly missing for tape drives on centos5

2009-02-05 14:15:13
Subject: [Bacula-users] udev by-id symlinks randomly missing for tape drives on centos5
From: Pasi Kärkkäinen <pasik AT iki DOT fi>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 5 Feb 2009 21:12:33 +0200
Hello!

I'm having problems with udev /dev/tape/by-id/ symlinks.. 
it seems symlinks to tape drives are sometimes (randomly) missing after reboot. 

Server in question has IBM TS3200 tape library connected with 2 drives in
it.. so /proc/scsi/scsi shows 3 devices: 2 tape drives, and 1 medium changer 
(tape library).

So I should have 3 symlinks in /dev/tape/by-id/ directory.. 2 symlinks to tape 
drives, 
and 1 symlink to mediumchanger/tapelibrary.

Running 'udevtrigger' _sometimes_ creates the missing links, and sometimes
it doesn't. 

Sometimes if all the symlinks are there to begin with, and you run 
'udevtrigger', 
some of the tape drive symlinks might get removed too.. The symlink for the
mediumchanger seems to be there always though.. 

Has anyone seen this behaviour? How to fix it? 

Whenever I run 'cat /proc/scsi/scsi' I can see all of the devices listed there.
IBM 'itdt' tape drive / tapelibrary diagnostic tool works OK too, and
always shows all the devices.

I don't have any errors in the dmesg/syslog, and the devices work OK if I use
/dev/nst* (tape drives) or /dev/sg* (mediumchanger/tapelibrary) devicenames to 
access them.

I'd like to be able to use /dev/tape/by-id/<foo> symlinks to make sure correct 
devices are accesssed.

The server in question is running CentOS 5.2 x86_64 (with latest updates 
installed).

Any thoughts? 

-- Pasi

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>