1753808 Members
7996 Online
108805 Solutions
New Discussion юеВ

Re: RAID Volume in Linux

 
Caster Troy
Regular Advisor

RAID Volume in Linux

Hey Guys,
I am new to Linux and facing a problem. I have a DL580 G3 with Linux AS4 on it. I don't know what RAID is configured and either it is a software RAID or a hardware RAID. There is however HP Smart Array present on the server which has an MSA connected to the server. I don't have any info about the volumes on that MSA and 1 of the disks in the MSA has failed. I have worked a lot with RAID volumes in Windows. Is there any ACU for Linux I don't even know how to check if it is installed or not. So you can imagine how much help i need out here. Can I just pull out the failed disk and put in the new one and will it start rebuild itself? Is there any limitation for different operating systems for this procedure?
Evil Has Its Winning Ways
10 REPLIES 10
Ivan Ferreira
Honored Contributor

Re: RAID Volume in Linux

Yes, there is ACU for Linux also. You should install the proliant support pack. To identify if you have software RAID, run:

# cat /proc/mdstat
Personalities :
unused devices:


In this case, no software RAID is present. The hpacucli package (part of proliant support pack), provides the hpacucli command, to check the smart array configuration, for example:

hpacucli
=> ctrl all show config detail

Smart Array P400 in Slot 1
Bus Interface: PCI
Slot: 1
Serial Number: PA2240M9SUF4VM
Cache Serial Number: PA2270H9SUEA9E
RAID 6 (ADG) Status: Enabled
RAID 6 (ADG) Enabler Status: Enabled
Controller Status: OK
Chassis Slot:
Hardware Revision: Rev D
Firmware Version: 2.08
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 15 sec
Cache Board Present: True
Cache Status: OK
Accelerator Ratio: 25% Read / 75% Write
Total Cache Size: 512 MB
Battery Pack Count: 1
Battery Status: OK
SATA NCQ Supported: False

Array: A
Interface Type: SAS
Unused Space: 0 MB
Status: OK

Logical Drive: 1
Size: 68.3 GB
Fault Tolerance: RAID 1+0
Heads: 255
Sectors Per Track: 32
Cylinders: 17562
Stripe Size: 128 KB
Status: OK
Array Accelerator: Enabled
Unique Identifier: 600508B100104D3953554634564D0001
Disk Name: /dev/cciss/c0d0
Mount Points: /boot 101 MB

physicaldrive 1:1
Port: 2I
Box: 1
Bay: 1
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 72 GB
Rotational Speed: 10000
Firmware Revision: HPD5
Serial Number: 3NP0VSSL00009731JX2X
Model: HP DG072ABAB3
physicaldrive 1:2
Port: 2I
Box: 1
Bay: 2
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 72 GB
Rotational Speed: 10000
Firmware Revision: HPD5
Serial Number: 3NP0VFJ500009732NY9R
Model: HP DG072ABAB3


Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Caster Troy
Regular Advisor

Re: RAID Volume in Linux

Hi Ivan,
i got this output

cat /proc/mdstat
Personalities : [multipath]
md3 : active multipath cciss/c1d1p2[0] cciss/c2d1p2[1]
87875456 blocks [2/2] [UU]

md2 : active multipath cciss/c1d1p1[0] cciss/c2d1p1[1]
1376963136 blocks [2/2] [UU]

md1 : active multipath cciss/c1d0p2[0] cciss/c2d0p2[1]
87875456 blocks [2/2] [UU]

md0 : active multipath cciss/c1d0p1[0] cciss/c2d0p1[1]
1376963136 blocks [2/2] [UU]

unused devices:


what does this mean can you help

and i have smart array 642 installed so i guess i have hardware raid and i can replace the disk hot swap
Evil Has Its Winning Ways
Ivan Ferreira
Honored Contributor

Re: RAID Volume in Linux

That means that you are using "multipath" capabilities using "md" devices. You need multipath when you have multiple path access to the same disk. The output from /proc/mdstat indicates that you don't have software RAID.

>> And i have smart array 642 installed so i guess i have hardware raid and i can replace the disk hot swap

Probably yes but until you get the ouput of hpacucli we can't be sure.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Caster Troy
Regular Advisor

Re: RAID Volume in Linux

Ivan
I replaced the disk and the rebuild started but it is showing failed at the MSA500 G2 controller. Do I have to install ACU for Linux or is there any other way that I can find out at how much percent it failed.
Evil Has Its Winning Ways
skt_skt
Honored Contributor

Re: RAID Volume in Linux

how u r sure the rebuild started? Some time the new disk do not go through rebiuld if there is difference in the firmware level between the new and old disks.


Caster Troy
Regular Advisor

Re: RAID Volume in Linux

Hi Santosh,
When i replaced the disk in the MSA it displays the message Volume #1 Rebuild Started and then after 2-3 hrs it displays Volume #1 Rebuild Failed.
Evil Has Its Winning Ways
skt_skt
Honored Contributor

Re: RAID Volume in Linux

If you can afford a dowm time then you may boot through a ServeRAID application CD and check the RAID and rebuild error details.
Radu Prodan
New Member

Re: RAID Volume in Linux

Hello,

I hope I can find help on this forum. First, sorry for my English.
I am new to Linux and I have a Proliant DL180 G5 with Centos 5.2 on it.
I have 2 Sata HDD on it, raid 1, hardware.
When I make a rebuild (from Bios) I have to wait 180-240 minutes. Tell me please how can I make the rebuilding from Linux, because the downtime from bios rebuilding si very high. I don't know what raid controller I have (Smart Array E200 or Embbeded Sata). How can I find?
I try to install hpacucli with some steps from forums and I got this:

hpacucli
HP Array Configuration Utility CLI 7.70-12.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
=> ctrl all show config detail
Error: No controllers detected.

Please help me.
Thank you.
Radu


skt_skt
Honored Contributor

Re: RAID Volume in Linux

lspci lists the raid card installed on the system , assuming they are pci cards. raid rebould cant be controlled from LINUX unless it is a software RAID from LINUX. Your case is is a hardware RAID