Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
08-30-2010, 05:47 AM
#1
Member
Registered: Sep 2009
Posts: 684
Rep:
How to find which raid is configured(without restart)
Is there a way to find the raid type without restarting the machine?
I m using linux operating system.
08-30-2010, 06:04 AM
#2
Member
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707
Rep:
08-30-2010, 06:33 AM
#3
LQ Guru
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005
@vinaytp - is that only for soft or hard raid?
08-30-2010, 06:35 AM
#4
Member
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707
Rep:
Quote:
Originally Posted by
grail
@vinaytp - is that only for soft or hard raid?
It is for Software RAID.
08-30-2010, 06:44 AM
#5
Member
Registered: Sep 2009
Posts: 684
Original Poster
Rep:
Its a hardware raid.
08-30-2010, 07:09 AM
#6
LQ Guru
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005
An important thing to have missed out of your question because I was curious as I too have a hardware driven raid and this does not work.
08-30-2010, 07:41 AM
#7
Member
Registered: Aug 2010
Distribution: Fedora, Centos, Debian
Posts: 49
Rep:
Quote:
Originally Posted by
pinga123
Its a hardware raid.
Code:
lshw | less -p RAID
lspci | less -p RAID
08-30-2010, 07:52 AM
#8
LQ Guru
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005
Firstly, thanks for -p to less ... hadn't used it before
I find that both tell me about my RAID hardware (which is cool), but neither seem to tell me, unless I missed it, what type of raid I am running?
As an example, my laptop returns the following:
Code:
lshw | less -p RAID
*-storage
description: RAID bus controller
product: Mobile 82801 SATA RAID Controller
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 02
width: 32 bits
clock: 66MHz
capabilities: storage bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:29 ioport:6eb0(size=8) ioport:6eb8(size=4) ioport:6ec0(size=8) ioport:6ec8(size=4) ioport:6ee0(size=32) memory:fed1c800-fed1cfff
lspci | less -p RAID
00:1f.2 RAID bus controller: Intel Corporation Mobile 82801 SATA RAID Controller (rev 02)
08-30-2010, 08:40 AM
#9
Member
Registered: Jan 2008
Posts: 105
Rep:
Usually the manufacturer of the RAID controller will provide a software with which you can view/control the hardware RAID configuration. I would suggest going this route if possible.
08-30-2010, 09:08 AM
#10
Member
Registered: Aug 2010
Distribution: Fedora, Centos, Debian
Posts: 49
Rep:
Quote:
Originally Posted by
grail
Firstly, thanks for -p to less ... hadn't used it before
You're welcome
Quote:
I find that both tell me about my RAID hardware (which is cool), but neither seem to tell me, unless I missed it, what type of raid I am running?
I suppose that is onboard raid controller.
What's your motherboard?
08-30-2010, 09:39 AM
#11
Member
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292
Rep:
Also how can I see the faulty hardware raid through CLI
Any solution will be appreciated
Thanks
08-30-2010, 10:44 AM
#12
LQ Guru
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005
My machine in this case is a Dell XPS 1730 (or M1730 depending on where you look). The raid is turned on in the BIOS and then it has interface
for setting it up when you boot. So I know I can get the details then, I was just curious (as per the question) if it were possible to tell
whilst the machine is running.
I do notice that when my machine starts I often see an error message flash up about dm-0 or dm-1 from inotify. Not really sure what they are about as they
flash very quickly and I do not seem to see it in a log anywhere
08-31-2010, 10:20 AM
#13
Member
Registered: Aug 2010
Distribution: Fedora, Centos, Debian
Posts: 49
Rep:
I believe motherboard specification should contain all information about RAID.
08-31-2010, 11:18 PM
#14
Member
Registered: Sep 2009
Posts: 684
Original Poster
Rep:
Quote:
Originally Posted by
goldenbarb
Code:
lshw | less -p RAID
lspci | less -p RAID
there is no such command as lshw in my distribution .
Distribution details.
Code:
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: OracleVMserver
Description: Oracle VM server release 2.2.0
Release: 2.2.0
Codename: n/a
I m posting the output of lspci as lspci | less -p RAID returned pattern not found.
Code:
# lspci
00:00.0 Host bridge: Intel Corporation 5520 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Por
t 1 (rev 13)
00:02.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Por
t 2 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Por
t 3 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Por
t 7 (rev 13)
00:09.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Por
t 9 (rev 13)
00:13.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub I/OxAPIC Interrupt Controll
er (rev 13)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers
(rev 13)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Regist
ers (rev 13)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Regi
sters (rev 13)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13)
00:16.0 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Tec
hnology Device (rev 13)
00:16.1 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Tec
hnology Device (rev 13)
00:16.2 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Tec
hnology Device (rev 13)
00:16.3 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Tec
hnology Device (rev 13)
00:16.4 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Tec
hnology Device (rev 13)
00:16.5 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Tec
hnology Device (rev 13)
00:16.6 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Tec
hnology Device (rev 13)
00:16.7 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Tec
hnology Device (rev 13)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Contro
ller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Contro
ller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Contro
ller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Contr
oller #2
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Contro
ller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Contro
ller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Contro
ller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Contr
oller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Cont
roller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
01:00.0 Ethernet controller: Intel Corporation 82575EB Gigabit Network Connectio
n (rev 02)
01:00.1 Ethernet controller: Intel Corporation 82575EB Gigabit Network Connectio
n (rev 02)
07:00.0 Ethernet controller: Intel Corporation 82575EB Gigabit Network Connectio
n (rev 02)
07:00.1 Ethernet controller: Intel Corporation 82575EB Gigabit Network Connectio
n (rev 02)
0d:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E PCI-Express
09-01-2010, 05:28 AM
#15
LQ Guru
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005
Quote:
lspci | less -p RAID returned pattern not found.
To me this would seem to imply there is no raid on the machine you ran it on.
All times are GMT -5. The time now is 03:33 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News