Network restarting, Raid (partitions), Raid failure identification – Doremi ShowVault / IMB User Manual

Page 88: Raid reinitialization, 5 network restarting, 6 raid (partitions)

Advertising
background image

____________________________________________________________________________________

SHV.OM.001293.DRM

Page 88 of 146

Version 1.5

Doremi Labs

Note: These steps may vary depending on the FTP client and whether it is on a Linux or

Windows PC. The login information, file names, and destination folder are the same in
both cases.

10.5 Network Restarting

To restart networking from the terminal command line, do the following:

Type: /etc/init.d/networking restart and then press Enter.

10.6 RAID (Partitions)

Two partitions are present in the ShowVault. One partition is /dev/md0 which is mounted on
/data and another partition is /dev/md1 which is mounted on /opt. The following sections explain
how to check the health of the RAID (Section 10.6.1) and how to reinitialize the RAID (Section
10.6.2).

10.6.1 RAID Failure Identification

To check the health of the RAID, open a new terminal and login as root.

Type: more /proc/mdstat and then press Enter.

On a healthy RAID, the command below will appear:


Personalities : [raid5]

md1 : active raid5 sda1[0] sdb1[1] sdc1[2]

21125248 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]


md0 : active raid5 sda2[0] sdb2[1] sdc2[2]

760291968 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]

On a failed RAID, the command below will appear:


Personalities : [raid5]

md1 : active raid5 sdb1[1] sdc1[2]

21125248 blocks level 5, 64k chunk, algorithm 2 [3/2] [_UU]

md0 : active raid5 sdb2[1] sdc2[2]

760291968 blocks level 5, 64k chunk, algorithm 2 [3/2] [_UU]

In the failed example above, the hard disk drive /dev/sda is failed. This failure could be the

result of a hardware failure or it could simply be that the user inadvertently pulled the drive
out.

10.6.2 RAID Reinitialization

To reinitialize the RAID, type the following command:

Type: sh /doremi/sbin/reinit_raid.sh and then press Enter.

Advertising