scsi_id is not returning ID
783262May 4 2012 — edited Oct 17 2012Hello,
I try to configure some persistent storage using a tutorial. In this tutorial I am instructed to get an ID for a partition like this:
*#scsi_id -g -s /block/sdg/sdg1*
The command above doesn't return anything, but
*#scsi_id -g -s /block/sdg*
does (so I can obtain an ID fo the disk but not for the partition).
Now I have to create a rule in /etc/udev/rules.d/ using the id using the ID:
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -s %p", RESULT=="14f504e46494c450073564b3158472d7943766d2d4c736459" , NAME="ocrdisk01", OWNER="root", GROUP="oinstall", MODE="0640"
but I don't know what to do. I'm only having the disk ID but the tutorial refers to a partition on that disk.
What should I do?
Thanks
P.S.
I use OpenFiler and iSCSI.
I've added options=-g in */etc/scsi_id.config*.
The system is OEL5
/block/sdg/sdg1 exists
Edited by: Adrian P on May 4, 2012 5:08 AM