1826123 Members
4719 Online
109690 Solutions
New Discussion

Re: mirror disk status

 
linda_9
Occasional Advisor

mirror disk status

Hi,
We have a hp lh6000 server equiped with 3 disks , two of which are configured into mirrored disks,how can I know the mirror status,and whether the disks are working well?
Thanks in advance.

linda
8 REPLIES 8
Stuart Browne
Honored Contributor

Re: mirror disk status

You'll need to install the RAID manager tools ('megamgr' if it's the onboard or either the 1M or 2M controllers) onto the linux box.

As you've not said what distribution (or more accurately, which kernel you're using), or which RAID controller you are using, it's dangerous to get more specific for the moment.

You should be able to get the kernel version by issuing the command 'uname -r', and if you have a quick look through the output of 'dmesg' (or /the file /var/log/dmesg) and see if you can find references to 'megaraid', they'd help us confirm which controller you are using.

If it is a MegaRAID, then you'll need the files in the Linux file at http://megaraid.lsilogic.com/support/dlresult.cfm .

The 'megamgr' & 'megamgr.bin' files are the RAID utilities for Linux, but require a minimum version of the 'megaraid' drivers in the kernel..
One long-haired git at your service...
linda_9
Occasional Advisor

Re: mirror disk status

I have checked the system configuration. The kernal version is '2.4.2-2smp' and the RAID controller is AMI MegaRAID E 254 (v1.14g),RAID1,Megamgr software are not installed.Are these information enough?
When I executed the 'fdisk -l' command,there are only two disks detected.I'm doubt if the three disks has been installed and raid1 mirror has been configed successfully?
linda
I_M
Honored Contributor

Re: mirror disk status

Hi,

Mirrored disk under NetRAID can be seen onle one Logical Drive only.
So I guess #fdisk -l shows you
1 pair of Mirror and 1 single disk.

latest megamgr required megaraid 1.14 or later version.
So your 1.14g clear this requirement.
I think RH7.1 kernel (2.4.2-3) has many troubles, so you may update the latest update from RH or kernel.org.

Good luck
Stuart Browne
Honored Contributor

Re: mirror disk status

As masanari said, the megaraid driver is good.

Grab the tar/gz ball from the URL in the original post, and install the two files of the tools! Instructions are in the readme at that URL.


(Summarised here however:

tar zxvf Mega118.tgz Mega118/{megamgr,megamgr.bin}
chmod +x Mega118/megamgr.bin
mv Mega118/megamgr* /usr/bin/
)
One long-haired git at your service...
linda_9
Occasional Advisor

Re: mirror disk status

The megamgr is chinese version,but the os is English version.
linda
Stuart Browne
Honored Contributor

Re: mirror disk status

err, what ?!

Looks english to me!
One long-haired git at your service...
Fabian Labohm
New Member

Re: mirror disk status

It looks japanese to me to.

example image ( http://www.rulez.nl/megaraid.jpg )

I_M
Honored Contributor

Re: mirror disk status

Hi

I saw the screen shot of the megamgr. It wasn't because of Japanese version of megamgr, but I think it is because of your terminal settings.

Try xterm, linux console, rxvt gnome-term with TERM=vt100.
As I recall, linux console with TERM=linux was the most beautiful screen.

I havn't tried terminal soft on Windows.

FYI, I can R/W Japanese.

Good luck