Operating System - Linux
1752327 Members
6317 Online
108786 Solutions
New Discussion

Internal Disk was configured as RAID 0

 
Md. Minhaz Khan
Super Advisor

Internal Disk was configured as RAID 0

Dear All,

We have two (HP DL380 G5) Servers. In both servers we have installed RHEL 5.4. But when we run â ./hwraidinfoâ & â hwraidstatusâ commands it shows that internal disk was configured as RAID 0. Please check the attached output with this thread. Please verify & confirm me whether or not is there any possibility of complete data lost if one of the disk faulty



hwraidinfo:
XXXXXXXXXXX

#!/bin/sh
SLOTLIST=$(hpacucli ctrl all show | \
grep Slot | sed -e 's/^.*Slot //g' -e 's/ .*$//g')

for i in $SLOTLIST
do
echo
hpacucli ctrl slot=$i show | grep -v "^$"
echo
hpacucli ctrl slot=$i ld all show | grep -v "^$"
hpacucli ctrl slot=$i pd all show | grep -v "^$"
done
echo

hwraidstatus:
XXXXXXXXXXXXX

#!/bin/sh
SLOTLIST=$(hpacucli ctrl all show | \
grep Slot | sed -e 's/^.*Slot //g' -e 's/ .*$//g')

for i in $SLOTLIST
do
echo
hpacucli ctrl slot=$i show status | grep -v "^$"
echo
hpacucli ctrl slot=$i ld all show status | grep -v "^$"
hpacucli ctrl slot=$i pd all show status | grep -v "^$"
done
echo
8 REPLIES 8
AnthonySN
Respected Contributor

Re: Internal Disk was configured as RAID 0

with RAID 0 there is a always a loss with any disk failure.

you have 2 logical drives with raid 0.
why dont you recreate one logical drive with raid 1 with striping and install the OS on it
Md. Minhaz Khan
Super Advisor

Re: Internal Disk was configured as RAID 0

Thanks SASJ. You are right but from system i have only see 146 GB Disk. But from the "hpacucli" command output i have found two logical drive. I am confused. Can any one explain me is actually Each 146GB SAS disk was configured as RAID 0 or they are configured as RAID 1+0 ??

Note: Please check the attachment for more details

Thanks
Minhaz
AnthonySN
Respected Contributor

Re: Internal Disk was configured as RAID 0

from your attachment

Disk /dev/cciss/c0d0: 146.7 GB, 146778685440 bytes
Disk /dev/cciss/c0d1: 146.7 GB, 146778685440 bytes

there we can see two disks.
AnthonySN
Respected Contributor

Re: Internal Disk was configured as RAID 0

you need to format the other
Disk /dev/cciss/c0d1: 146.7 GB, 146778685440 bytes

Md. Minhaz Khan
Super Advisor

Re: Internal Disk was configured as RAID 0

Dear SASJ

Thanks a lot to guide me. Can you help me how can i mirror disk /dev/cciss/c0d0 with Disk
/dev/cciss/c0d1 (May be soft RAID)

But Disk /dev/cciss/c0d1 is already RAID 0. This RAID is configured with P400 HP Smart controller.We cannot format the disk because this server is now in Production.

Thanks
Minhaz
AnthonySN
Respected Contributor

Re: Internal Disk was configured as RAID 0

the other disk is a logical drive and just like any other disk,
you can very well format it.
you can use use fdisk -m dev/cciss/c0d1
and yes you can do a software mirror.

the best thing was to create a raid 1+0 initially before installing the OS.
even now if the server is new you should consider doing a HW raid 1+0 and install OS again
AnthonySN
Respected Contributor

Re: Internal Disk was configured as RAID 0

Md. Minhaz Khan
Super Advisor

Re: Internal Disk was configured as RAID 0

Thanks a lot