Raid identified in Linux

30 views
Skip to first unread message

Bhautik karkar

unread,
Feb 3, 2013, 9:26:15 AM2/3/13
to linuxus...@googlegroups.com, vg...@googlegroups.com

I have configure hardware raid How to identified which raid is configure

without server restart and third party tool

Thanks & Regards,
Bhautik Karkar 
9920343224

tid

unread,
Feb 3, 2013, 12:32:57 PM2/3/13
to linuxus...@googlegroups.com
Hi,

You'll need to help us to help you. You need to provide a little more
information on your
hardware setup. What have you done so far? Have you read any of the
Howtos out there such
as

https://raid.wiki.kernel.org/index.php/RAID_setup

regards

Tid
> --
> --
> You received this message because you are subscribed to the Linux Users
> Group.
> To post a message, send email to linuxus...@googlegroups.com
> To unsubscribe, send email to linuxusersgro...@googlegroups.com
> For more options, visit our group at
> http://groups.google.com/group/linuxusersgroup
> References can be found at: http://goo.gl/anqri
> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or
> http://cdn.fsdev.net/List-Rules.pdf)
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Linux Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to linuxusersgro...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Bryan Smith

unread,
Feb 3, 2013, 5:50:37 PM2/3/13
to linuxus...@googlegroups.com
Hey,

It depends on your server manufacturer and raid controller, but there are a few ways that you  "might"be able to get some useful information.

You can cat /proc/scsi/scsi or cat /proc/driver/cciss/cciss[0-9]* and get results like what is below. The cciss driver is an HP/Comaq thing so if you have neither use /proc/scsi/scsi. You can sift through the output dmidecode and hope to find things there.

This server has 5 drives and they are all setup as Raid 0 in the controller. I use softraid hence all Raid 0 devices.:


root@netserv0:~# cat /proc/scsi/scsi 
Attached devices:
Host: scsi0 Channel: 00 Id: 32 Lun: 00
  Vendor: DP       Model: BACKPLANE        Rev: 1.05
  Type:   Enclosure                        ANSI  SCSI revision: 05
Host: scsi0 Channel: 02 Id: 00 Lun: 00
  Vendor: DELL     Model: PERC 6/i         Rev: 1.11
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi0 Channel: 02 Id: 01 Lun: 00
  Vendor: DELL     Model: PERC 6/i         Rev: 1.11
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi0 Channel: 02 Id: 02 Lun: 00
  Vendor: DELL     Model: PERC 6/i         Rev: 1.11
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi0 Channel: 02 Id: 03 Lun: 00
  Vendor: DELL     Model: PERC 6/i         Rev: 1.11
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi0 Channel: 02 Id: 04 Lun: 00
  Vendor: DELL     Model: PERC 6/i         Rev: 1.11
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: HL-DT-ST Model: CDRW/DVD GCCT10N Rev: A102
  Type:   CD-ROM                           ANSI  SCSI revision: 05

If you have an HP it's much easier, but Dells vary. You can install Dell's Open Manage (assuming it's a Dell) and it'll give you every scrap of information that you need to know about the server. You said no 3rd party tools which I interpret to mean that you don't want to install anything further to get the information. 

Bryan
--
A healthy diet  includes Linux, Linux, and more Linux.
Reply all
Reply to author
Forward
0 new messages