Turn Pbx in a Flash 2.0.6.22 in RAID1 system

I have installed a brand new pbx (using Pbx in a flash), all works fine, but I want to turn the working setup in RAID1.

Att.: With the new releases of the PiaF setup is no longer possible to perform a RAID installation (option ks_sataraid), and in spite of the usefulness of the raid on a pbx is much discussed (see link to the Pbx in a flash forum below). I prefer always to use a RAID1 in “important” installation and when the pbx will be used like file server too. And when it is not possible to use a RAID controller, I use Linux software RAID (it is, however, better than nothing !).

I found the how-to “How To Create A RAID1 Setup On An Existing CentOS/RedHat 6.0 System“ in how to forge (see link below), and in this tutorial I adapted it for our purposes.

Continue reading

Linux: Check Hard Disk for error

A few days ago I was investigating about some software failure occurred on a server running CentOs, and I suspected a corrupted hard drive (the server is equipped with a SSD disk that does not support S.M.A.R.T.):  I wrote these few notes to explain the procedures followed.

To start I have forced the fsck on the next reboot. In order to force your system to run fsck on your file systems during the next reboot you need to create a file called forcefsck in the root folder.

Continue reading