Reprint please indicate source: http://blog.csdn.net/cywosp/article/details/38965799
1. Traditional Disk Management issueswhen the partition size is not enough to expand its size, only by adding hard disks, create new partitions to expand the space, but the newly added hard disk as a standalone file system, the original file system has not been expanded, the upper-level applications can access only one file system. You can only bring the existing disk offline, swap the new disk, and then import the data from the original disk.
2. LVMLVM (Logical Volume Manager) Logical Volume management provides the ability to dynamically adjust the size of logical volumes, without losing existing data, by encapsulating the underlying physical hard disk abstraction in the form of logical volumes to the upper system. The newly added hard drive does not change the existing upper-level logical volumes. As a dynamic disk management mechanism, logical volume technology greatly improves the flexibility of disk Management.
PE (physical Extend) PV (physical Volume) VG (Volume Group) LV (Logical Volume)
1. The physical disk is formatted as PV, and the space is divided into PE2. Different PV added to the same VG, different PV PE all into the PE pool of VG3. LV is created based on PE, the size is an integer multiple of PE, the PE composed of LV may come from different physical disks4. LV can now be formatted directly and then mounted to be able to use the5. The expansion and reduction of LV is actually to increase or decrease the number of PE composed of LV, the process does not lose the original data
6. Each PE default is 4MB size
when a new hard drive is added, such as
3. Creating LVM
4. View Commands
5. Stretching of logical volumes
6. Stretch the volume group
7. Reduce the logical volume
shrinking may damage the original data, so try not to shrink the logical volume
8. Shrinking the volume group
9. RAID
9.1 RAID0
9.2 RAID1
9.3 RAID5
9.4 RAID6
RAID implementations
create raid on Linux.
12. View Raid
13. Create various RAID
14. Turn off RAID
Make a little progress every day.--linux Disk Management LVM and raid