FC3+udev+SCSI ruleset woes

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

 



FC3 + 2.6.11-1.35_FC3smp on Tyan/Opteron more-or-less up2date.

Hi all,
I'm trying to make a udev rule which will rename one of my SCSI disk
device names. The rule is in /etc/udev/rules.d/local1-udev.rules
and says (as per the scsi_id man page):

BUS="scsi", PROGRAM="/sbin/scsi_id", RESULT="SSEAGATE ST3146707LC 3KS08QY100007443N4Q2", NAME="raid0"

This fails to generate the device /dev/raid0, but does generate a pile of
error messages thus:

.
.
Jul 20 18:40:30 ls1 scsi_id[1823]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdc' 
Jul 20 18:40:30 ls1 scsi_id[1826]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdc1' 
Jul 20 18:40:30 ls1 scsi_id[1829]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdc2' 
Jul 20 18:40:30 ls1 scsi_id[1832]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdc3' 
Jul 20 18:40:30 ls1 scsi_id[1835]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdc4' 
Jul 20 18:40:30 ls1 scsi_id[1838]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdc5' 
Jul 20 18:40:30 ls1 scsi_id[1841]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdc6' 
Jul 20 18:40:30 ls1 scsi_id[1844]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdc7' 
Jul 20 18:40:30 ls1 scsi_id[1847]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdc8' 
Jul 20 18:40:30 ls1 scsi_id[1850]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdd' 
Jul 20 18:40:30 ls1 scsi_id[1853]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdd1' 
Jul 20 18:40:30 ls1 scsi_id[1856]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sde' 
Jul 20 18:40:30 ls1 scsi_id[1859]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdf' 
Jul 20 18:40:30 ls1 scsi_id[1862]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdg' 
Jul 20 18:40:30 ls1 scsi_id[1865]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdh' 
Jul 20 18:40:30 ls1 scsi_id[1868]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdi' 
Jul 20 18:40:30 ls1 scsi_id[1871]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdi1' 
Jul 20 18:40:30 ls1 scsi_id[1874]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdi2' 
Jul 20 18:40:30 ls1 scsi_id[1877]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdj' 
Jul 20 18:40:30 ls1 scsi_id[1880]: mknod failed: Read-only file system  
Jul 20 18:40:30 ls1 udev[1341]: creating device node '/dev/sdj1' 
Jul 20 18:40:30 ls1 start_udev: Starting udev:  succeeded 
Jul 20 18:40:30 ls1 udevsend[1898]: starting udevd daemon 
.
.

The RESULT string in the rule comes from 'scsi_id -s /block/sde'
so I was hoping for a match on that disk.

[root@ls1 ~]$ scsi_id -s /block/sde
SSEAGATE ST3146707LC    3KS08QY100007443N4Q2

Any ideas what I'm doing wrong? I've tried loads of perms and combs of 
keys in the rule, and can get it to work if I use the SYSFS{vendor}
and SYSFS{model}, but they, of course, match several drives and
I dont know how to make it more specific.

Cheers,
Terry.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux