udevd cannot sometimes create the symbolic links for a tape device on boot

Solution Unverified - Updated -

Issue

udevd cannot sometimes create the symbolic links for a tape devices on boot with the following custom udev rule.

KERNEL=="st*[0-9]|nst*[0-9]", IMPORT{program}="scsi_id -u -g -x -p 0x80 -d $tempnode"
KERNEL=="st*[0-9]", ENV{ID_PATH}=="?*", SYMLINK+="tape/by-serial/$env{ID_SERIAL}"
KERNEL=="nst*[0-9]", ENV{ID_PATH}=="?*", SYMLINK+="tape/by-serial/$env{ID_SERIAL}-nst"

Environment

Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.