Import software raid
[crayon-6a3269a843342775989898/]
disable php and update to fix change passs
You better disable all the REMI repos that exist on your /etc/yum.repos.d/ folder. Or add the below line in /etc/yum.conf file. exclude=php* or Try this command with yum update. yum update –exclude=php* =========== Run these commands as well. yum…
Reinstall OS and import vg0 with solusvm
Let’s imagine, you have a node with /dev/sda drive that consists of a boot partition, root partition and swap and /dev/sd[b-c] drives that compose the volume group with LVM images of your VPSes. In this case, it is necessary: • Copy the directory…
Error: out of memory
As you might know the system allocates memory on a server by contiguous memory blocks of different size. And there may be a situation where the system does not have contiguous memory blocks of certain size due to memory fragmentation and another…
mdadm Command Examples in Linux
The mdadm command is a tool used to manage software-based RAID arrays. A redundant array of independent disks (RAID) is a set of vendor-independent specifications that support redundancy and fault tolerance for configurations on multiple-device storage…
Replacing a Failed Mirror Disk in a Software RAID Array (mdadm)
The post describes the steps to replace a mirror disk in a software RAID array. In this example, we have used /dev/sda1 as the known good partition, and /dev/sdb1 as the suspect or failing partition. Before proceeding, it is recommended to backup the…
MEGACLI CHEATSHEET
Recently I’ve had to do extensive work with Dell PowerEdge servers, and specifically Dell’s that use the LSI MegaRAID controllers. Anyone who has ever had to work with the LSI RAID controllers knows that the MegaCLI provided by LSI is the most cryptic…
Check LSI RAID Card status with MegaCLI tool
MegaCLI tool can be used to check RAID status on LSI card like LSI MegaRAID 8888ELP and MegaRAID SAS 9260-4i. The tool can be downloaded from http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/8.07.07_MegaCLI.zip After downloading, unzip and…
RAID: REBUILDING A FOREIGN DISK BY HAND
While replacing a bad drive with a drive that used to be part of another RAID array configuration, the RAID refused to automatically rebuild, thinking that I might want to import the configuration from this disk (or that there’s data on there that I…
A quick and dirty script to backup Openstack config files
You will of course need to run ssh-copy-id root@hostname for each machine you want to connect to prior to running this script. [crayon-6a3269a844352740510413/]