Operating System - Linux
1828623 Members
1955 Online
109983 Solutions
New Discussion

Re: Linux disk replacement

 
Habib_4
Advisor

Linux disk replacement

Hi people,

We have recently replaced a disk on a linux box using version 2.4.21-20.ELsmp GNU/Linux, Red Hat Enterprise Linux AS release 3 (Taroon Update 3)Kernel \r on an \m.
Now, the disk replaced is a mirror of the boot disk and is currently flashing green.

How can I tell if it is synchronising and re-building properly as there is 72GB worth of data on this disk and it needs to work!!!?????

Cheers
6 REPLIES 6
George Liu_4
Trusted Contributor

Re: Linux disk replacement

Is it a Hardware RAID?
Habib_4
Advisor

Re: Linux disk replacement

Hi George,

How could I tell if it is?

Ivan Ferreira
Honored Contributor

Re: Linux disk replacement

If software raid, you should have the status in :

cat /proc/mdstat

If hardware RAID, there are specific tools for checking the status, like Array Configuration Utility for SmartArray Controllers.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Habib_4
Advisor

Re: Linux disk replacement

Hi Ivan,

I have tried the cat command and it shows:

Personalities :
read_ahead not set
Event: 0
unused devices:

What does this mean?
Matti_Kurkela
Honored Contributor

Re: Linux disk replacement

Personalities :
read_ahead not set
Event: 0
unused devices:

It means the list of software RAID personality modules (like [raid0] for striping or [raid1] for mirroring) is empty. Thus, no software RAID is in use.

Apparently you have a hardware RAID in your box. Different manufacturers' RAID solutions have different tools to view their state: on HP Proliant servers, the RAID status is viewable on the System Management Homepage if all the necessary software is installed.

If the "hpacucli" package is installed, you can also find out the state of the drives from the command line.

Some hardware RAID drivers also report their status in pseudo-files located under /proc/scsi or /proc/driver. (The files will appear to have zero size, but when viewed using "cat" or "less", they display dynamically-created content based on the current driver status.)
MK
Jaydeb Chakraborty
Occasional Advisor

Re: Linux disk replacement

Interesting thread.
It is very important to know how the disk is mirrored prior to comment any possible solution. Are you using SAN? LUN might be configured in RAID at Storage side.
Is there any configuration of LVM mirror?

Thanks!