After replacing the server hard disk sure to check synchronization

Foreword

When recently to give a user to replace the server hard disk found, one RAID configuration errors, use 300GB of hard disk 600GB to do hot standby, and the other model does not lead to the replacement of hard disk data is not synchronized. The newly recruited to take over if the administrator has the old server, should have time to focus on the hard drive and RAID information check to see if there is an offline disk, or configuration inappropriate good place promptly corrected.

text

In early April this year, there are units of two servers a bad hard drive 3 hard drive, so that customers send three 600GB hard drive and helped to change it. I see the scene to the two servers, one server 2 has a hard yellow light (Figure 1), the other server has a hard yellow light (see Figure 2).

image

FIG 12 drives yellow light

image

Figure 2 a hard yellow light

Look closely, these two servers, each equipped with a 300GB hard drive, three 600GB hard drives. There was rather strange how such a configuration, is used to hold 300GB of this system, and the other three do RAID-5 store 600GB of data?

At that time my clients and I say, in Figure 1 of this bad two hard disk may need to do data recovery, because three hard drives in RAID-5 while bad two, then the disc changer is not. At that time this server has not started (Figure 2 servers still in use, can enter the system).

2 drives bad FIG server 1, the power is turned RAID interface, see slot 01, 02 is hard Failed state, as shown in FIG.

image

3 two Disk Failure

After pressing the key combination Ctrl + N to enter the PD Mgmt whole person a little dizzy, 300GB hard disk in slot 0 of the configuration actually became hot spare disk! As shown in Figure 4.

image

FIG 4 300GB hard drive is configured become global hot spares

Customers say this server has been used for many years, had also been bad (a) hard drive, after the change to continue to use. This system is used not only to find broken two hard drives, will be able to continue to put that to use. At that time this server is the time to buy a 300GB hard drive, financial software company said a hard drive unsafe, bought three RAID-5 600GB of hard to do, it is to software companies who configurations. The software company estimated that people do not really understand the hardware, so the configuration.

Data synchronization start after another server only bad hard disk, put the hard disk. The sight of the first server RAID configuration is inappropriate, I rebooted the server module into the RAID card configuration, this really 300GB hard drive also became a hot spare disk is configured, as shown in Fig. At the same time put a new hard drive has started restructuring data.

image

Figure 5 configuration data synchronization with the hot spare disk

This is a photograph replacing this server after the hard disk, as shown in FIG.

image

FIG 6 after a second server to replace the hard disk

In this case the customer said, there is one server, years ago for a piece of hard disk, this time to the way helped to check that this examination will also found a new problem.

The third server is 3650 M5, in another room, the slot 3 is hard to change years ago, some of the room environment is better, the dust on the server hard disk less, as shown in FIG.

image

7 hard disk in slot 3 is put on years ago

Reboot into the RAID card, 300GB hard drive, or with a hot spare disk has become, but also a familiar formula, familiar taste. However, a hard disk slot 3 is Unconfigured Good, the hard drive is not synchronized, as shown in FIG.

image

FIG 8 Hard not synchronized

Figure 7 carefully, see different number and serial number on the original carrier put on a new hard disk drive bays (replaced with a new sequence number in FIG. 6 and equal to the original). Fortunately, there are two to buy a new hard drive temporarily no access to, remove the hard drive before purchase, put on the hard drive brings, this time started to reorganize the hard disk data, then put the new hard yellow light, green light flash alternately, as shown in FIG.

image

FIG. 9 Hard synchronization data starts

In the beginning of the data interface recombinant RAID, as shown in FIG.

image

FIG 10 data reorganization

After more than an hour to complete the restructuring of data, a hard green blinking, this server check is complete, as shown in FIG.

The latter suggested that if the customer needs hot standby disks, each should remove the original hard drive of 300GB, 600GB hard drive and add a re-configured hot spare disk.

image

Disk ready FIG. 11

Guess you like

Origin blog.51cto.com/wangchunhai/2420885