Posts

Showing posts with the label raid

Install Software RAID in Linux System

Image
Install Software RAID in Linux System Table of Contents Benefit Prepare install and configure mdadm finished 1 Benefit RAID can provide stable, speed and security for your data access, but not at the same time. We need different performance at a different scenario, and the above three traits that I mentioned, are trade-off factors in real apply, some time we sacrifice one to achieve another. In my desktop work station, what I really need is the speed all the time. That's the RAID-0. Here is my disks, one SSD as the system disk for ubuntu, and two additional 1T disks to be an RAID-0 array. 2 Prepare Plug two disks into the motherboard first, then erase the disk's format use fdisk tool and build one partition for each one with the same size. In my case, I got two devices, /dev/sdb, /dev/sdc. sudo fdisk /dev/sdb # d .... delete all partition in the hard driver # n create one partition for the whole disk # t choice fd (linux raid disk) ...

RAID learning

Image
RAID learning Table of Contents RAID's benefit RAID's types type 0 type 1 type 10 type 2, 3, 4 type 5 type 6 RAID's limitation 1 RAID's benefit So, what the RAID is? RAID is short for Redundant Array of Independent Disks. In the storage industry, the speed, redundancy, and cost are the three factors that the market cares about. I/O speed: hard drive's I/O performance is limited by the physical law, if we continue to use magnetic storage materials. redundancy: the fault of a subset disks in an array can't damage the whole data stored in them. cost: the density of data per dollar. RAID is a common solution to face that. 2 RAID's types 2.1 type 0 parallel multi disks together, with the highest disk write/read IO performance, but none data security. split the data into n pieces, n equals to the array size of the disks. And both the write and read are parallel to improve the speed, but one disk's damage c...