Re: scsi_id

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

 



I am not sure which scsi device you are searching for , but you should see an sda, sdb type number.  So when querying for the wwid of the interal disk, use that descriptor.
such as:

scsi_id -g -u -s /block/sda (instead of /dev/cciss/c0d0)

Show us an df -h output and we might understand the make up of your server a little better.

You MUST use the wwid, not the sda, b, c number/letter  these change depending on when they come up and are presented to the linux OS, you will corrupt your data writing to the wrong lun.  This happens on reboot.
Use the lun id and you'll never go wrong.  trust me I have trashed many databases prior to learning this lesson

Here is a helpful link;
http://kbase.redhat.com/faq/docs/DOC-4042





________________________________
From: Unix Administrator <earlysame55@xxxxxxxxx>
To: Redhat list <redhat-list@xxxxxxxxxx>
Sent: Tuesday, September 8, 2009 6:34:04 AM
Subject: scsi_id

good day folks,

i need to blacklist my internal disk in the multipath.conf. How do i
get the wwid for this. I have tried the following

scsi_id -g -u -d /dev/cciss/c0d0
AND
scsi_id -g -v -s /block/cciss\!c0d0

they return nothing

am i doing it right is my question.

cheers

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



      
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://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