Some RHEL software RAID commands

Copy partitions from good drive to new drive:

sfdisk -d /dev/sda | sfdisk /dev/sdb


sfdisk -d /dev/sda | sfdisk --force /dev/sdb

Add partitions back into RAID:

mdadm /dev/md0 --add /dev/sdb1
mdadm /dev/md1 --add /dev/sdb2

Check status:

cat /proc/mdstat


mdadm --detail /dev/md0

How to Create a SolusVM KVM Template

SolusVM doesn’t provide a lot of good documentation for this process, so I tried to document as I went along. If you have any questions, leave a comment and I’ll try my best to help.

Download CentOS 6.x ISO to SolusVM master in /home/solusvm/kvm/iso

In SolusVM: Media -> Add ISO
-Choose the correct ISO from the dropdown and fill out name/description/arch and click ‘Add iso’.

Sync ISO to slave:
-Media -> Media Sync -> ‘Create’ tab.
-Under ISOS, select the new ISO and the destination node.
-Click create Sync Job. Give it a minute before continuing. Continue reading “How to Create a SolusVM KVM Template”