udev by-id symlinks randomly missing for tape drives on centos5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux