Be utterly sure that you chose the correct device, otherwise you may DESTROY data! The array members status [_U] shows which member devices are Up. In this case it shows that the second numbered member (i.e. If you are finding the load is causing to much of an impact on your business operations, you can slow down the rate of syncing. navigate to this website
An example of a failed device is: # cat /proc/mdstat Personalities : [raid1] read_ahead 1024 sectors Event: 11 md4 : active raid1 sdb1 sda1(F) 513984 blocks [2/1] [_U] unused devices:
And equal or greater RPM spindle speed. Determine the device name of the failed disk. MD will intelligently queue the partitions so the drives aren't hammered by several parallel reads/writes.
If this is not completed you will need to have recovery media available to boot from. Disk Addition At this stage you should have grub installed on the remain hard disks that contain /boot. Insert the new hdd into the server, it should be of equal or greater capacity. Devfsadm Solaris 10 Before you begin, please read the Raid hard disk replacement guide.
If you need to boot of this disk, you will need to set it as the primary boot drive in the bios or boot menu prompt. Cfgadm: Hardware Specific Failure: Failed To Unconfigure Scsi Device: I/o Error Launch grub as the root user. If an error occurs on a sector read, the error will be returned to the operating system and a log entry will be placed in the system logs like: Oct 6 This step only deals with hot removal.
Disable smartd as this will prevent us from pulling the device from the RAID array: service smartd stop || /etc/init.d/smartd stop ps -C smartdGather the list of all md devices that Cfgadm Configure Disk Removal The procedure is pretty similar for ATA, SATA, SAS and SCSI systems, but SCSI, SAS & SATA let you hot add/remove drives. echo "scsi add-single-device" 0 0 0 0 > /proc/scsi/scsiConfirm you can see the new hard disk when you run cat/proc/scsi/scsi Partition Table Setup & Raid Re-Sync Now that you have the To copy the partition table from /dev/sdb to /dev/sda you would run sfdisk -d /dev/sdb | sfdisk /dev/sdaCheck that it's re-silvering.
Sync Speed: To check the max rate of the raid re-sync on the md1 raid device you would run cat /sys/block/md1/md/sync_speed_maxTo change this value you would use the echo command like https://kb.vmware.com/kb/1039080 ContentsLinux Software RaidIntroductionInstall GrubDisk RemovalDisk AdditionPartition Table Setup & Raid Re-SyncClean UpSee also:References/External Links Introduction The state of the active Linux software RAID devices can be viewed by running: cat /proc/mdstatSoftware Error Failed To Hot Remove Scsi Disk For all partitions on the drive with the failure run: mdadm -f /dev/mdX /dev/FAILED_PARTX mdadm -r /dev/mdX /dev/FAILED_PARTXFor hotswap SCSI/SATA/SAS, tell Linux to remove the device: Firstly, get the drive id: Solaris Rescan Disks Now you need re-detect the hard disk on the SCSI channel you removed one from earlier.
Install Grub Grub should be installed on another hard disk, so the system can still boot with the primary boot device removed. useful reference Follow @anchorsystems
the device with ). It is absolutely imperative that you do not stuff this step up. cat /proc/mdstat Clean Up At this stage you should have a machine suffering from heavy IO load as MDADM re-syncs the raid array. my review here MD devices can be managed via the mdadm utility.