LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-04-2015, 08:10 AM   #1
yashraj221087
Member
 
Registered: Jul 2010
Posts: 44

Rep: Reputation: 0
wwid of /dev/cciss/c0d0


HI Admin,

Does anyone know how to get the wwid of the disk /dev/csiss/c0d0. I have tried below, but not giving anything. I want to skip this from multipathing so need wwid.


Code:
scsi_id -g -s /block/cciss/c0d0
Code:
scsi_id -g -s /block/c0d0


Thanks in advance.
 
Old 09-04-2015, 02:05 PM   #2
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
Try:

Code:
/usr/bin/sg_inq --export --page=di /block/cciss/c0d0
 
Old 09-05-2015, 01:22 PM   #3
yashraj221087
Member
 
Registered: Jul 2010
Posts: 44

Original Poster
Rep: Reputation: 0
Tried. Getting:

Code:
/usr/bin/sg_inq: unrecognized option `--export'
 
Old 09-05-2015, 10:45 PM   #4
throwaway_questions
LQ Newbie
 
Registered: Sep 2015
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by yashraj221087 View Post
Tried. Getting:

Code:
/usr/bin/sg_inq: unrecognized option `--export'
RTFM: man sg_inq
 
Old 09-06-2015, 02:29 AM   #5
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
Quote:
Originally Posted by yashraj221087 View Post
Tried. Getting:

Code:
/usr/bin/sg_inq: unrecognized option `--export'
It is possible your version of sg_inq is too old.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which is faster /dev/mapper or /dev/cciss? mohamed.a.mostafa Red Hat 1 03-30-2013 05:30 PM
issue with GRUB and /dev/cciss/ dot_74 Linux - Enterprise 1 04-02-2008 08:07 PM
What are these dvices? /dev/cciss mokku Linux - Newbie 1 10-02-2007 10:34 AM
I deleted the /dev/cciss folder!! xbaez Linux - Newbie 5 12-19-2006 01:32 AM
what is /dev/cciss/codop3 Ibrahimbazar Linux - Hardware 1 04-11-2006 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration