Resize RAID Partitions
I am wanting to resize a RAID partition which holds the root directory. My RAID is setup as RAID 1 ( For Root) and RAID 5.
Below is my mdadm --detail view of both RAIDs Code:
/dev/md0: Code:
/dev/md1: This doesn't quite sound right as Ive setup the raid with LVM as well. lvmdiskscan gives me this Code:
/dev/md0 [ 2.80 GB] |
If you have LVM, it's usually as easy as:
vgdisplay # to see how much disk space is actually free if any lvextend # command used to expand your LVM partition ext2online # grow the disk. later versions of LVM that come with Linux don't require to umount the disks, you can do it on the fly. And if you don't have any space available, you can most likely shrink a disk to then add to another that you want to grow. |
raid partition
There are various combinations of these approaches giving different trade offs of protection against data loss, capacity, and speed. RAID levels 0, 1, and 5 are the most commonly found, and cover most requirements.
RAID 0 (striped disks) distributes data across several disks in a way which gives improved speed and full capacity, but all data on all disks will be lost if any one disk fails. RAID 1 (mirrored disks) uses two (possibly more) disks which each store the same data, so that data is not lost as long as one disk survives. Total capacity of the array is just the capacity of a single disk. The failure of one drive, in the event of a hardware or software malfunction, does not increase the chance of a failure nor decrease the reliability of the remaining drives (second, third, etc). RAID 5 (striped disks with parity) combines three or more disks in a way that protects data against loss of any one disk; the storage capacity of the array is reduced by one disk. The less common RAID 6 can recover from the loss of two disks. You can see more information at this website: http://www.softpedia.com/get/System/...-Manager.shtml |
All times are GMT -5. The time now is 07:38 AM. |