Advised Hardware Raid; Controller Card - Vidicode APRESA Series Installation Manual

Table of Contents

Advertisement

The next command should display a list of partitions.
sudo sfdisk -d /dev/sda
If this is so, then preceed to the following command. Be very careful to write this command correctly.
sudo sfdisk -d /dev/sda | sudo sfdisk --force /dev/sdb
sudo mdadm -a /dev/md0 /dev/sdb1
sudo mdadm -a /dev/md1 /dev/sdb2
sudo mdadm -a /dev/md2 /dev/sdb3
If the third drive (SATA2) was replaced, then type:
The next command should display no partitions.
sudo sfdisk -d /dev/sdc
The next command should display a list of partitions.
sudo sfdisk -d /dev/sda
If this is so, then preceed to the following command. Be very careful to write this command correctly.
sudo sfdisk -d /dev/sda | sudo sfdisk --force /dev/sdc
sudo mdadm -a /dev/md0 /dev/sdc1
sudo mdadm -a /dev/md1 /dev/sdc2
sudo mdadm -a /dev/md2 /dev/sdc3
After these commands, synchronization will proceed automatically. It takes more than three hours for 1 GB hard
disks. You can see the progress in the web interface (Tools=>System=>System Information). Or alternatively, the
progress can be queried from the command line, as follows:
cat /proc/mdstat
After completion, make the new drive bootable, as follows: (from the command line)
If the first drive (SATA0) was replaced, then type the following command:
sudo grub-install /dev/sda
If the second drive (SATA1) was replaced, then type the following command:
sudo grub-install /dev/sdb
If the third drive (SATA2) was replaced, then type the following command:
sudo grub-install /dev/sdc
11.5. Advised hardware RAID controller card
Vidicode advises the use of LSI model MegaRAID SAS 9341i. This card can be used
for both hardware-RAID1 and hardware-RAID5 (and more, not tested so far but likely
to work fine).
Note that during setup of the system the user must assign hard drives to a virtual
drive to build the RAID, the 'Redundant Array of Independent Drives'.
This is how it is done for the LSI advised earlier:
1. Turn on the APRESA server and, during the boot, press CTRL+R when asked
for;
2. Press F2 to enter operations;
3. Go to 'Make un-configurated good' mark drives 'X' to turn drives un-
configurated;
4. Select 'LSI MegaRAID' and press F2 to enter 'operations';
5. Select RAID1 or RAID5, create virtual drive;
6. When asked for initialization, just skip that;
Done.
INSTALLATION MANUAL APRESA
COPYRIGHT © 2011-2017 VIDICODE ®
82

Advertisement

Table of Contents
loading

Table of Contents