fixed drive name

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

 



Hi list,

 I want to give some hard drive a fixed name, say,sdb,sdc...

 In RHEL4, I can handle it using such method:
 1. edit /etc/scsi_id.conf, change options=-b to options=-g
 2. use command: scsi_id /block/sdb to get the scsi uuid of the hard 
drive, assume it returns 123456
 3. create a rule file under /etc/udev/rules.d, which contains a line like
    BUS="scsi", PROGRAM="/sbin/scsi_id", RESULT="123456", NAME="sdb%n"
 4. OK, each time I restart the server, the drive is fixed to sdb and 
never changes.

However, in RHEL5, I can't do it anyway. So any clue?

Thanks 



Wenle
Staff Consultant
CSB Advanced Solution
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux