raid:mdadm:lvm_on_raid
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
raid:mdadm:lvm_on_raid [2021/10/01 11:39] – peter | raid:mdadm:lvm_on_raid [2021/10/01 17:18] (current) – peter | ||
---|---|---|---|
Line 5: | Line 5: | ||
* This Volume Group can be split into Logical Volumes; in essence different Partitions. | * This Volume Group can be split into Logical Volumes; in essence different Partitions. | ||
* LVM provides the ability to resize these Logical Volumes very easily. | * LVM provides the ability to resize these Logical Volumes very easily. | ||
- | * LVM is not a replacement for RAID, as it only supports mirroring or stripe. | + | * LVM is not a replacement for RAID, as LVM does not provide any options |
- | * Using LVM for resilience without | + | |
* Therefore it is best to be have LVM in conjunction with RAID. | * Therefore it is best to be have LVM in conjunction with RAID. | ||
+ | |||
+ | < | ||
+ | |--------------------------------------------------------------------------------------------| | ||
+ | |LVM Logical Volumes | / | /var | /usr | /home | /mnt | | ||
+ | |--------------------------------------------------------------------------------------------| | ||
+ | |LVM Volume Group | / | ||
+ | |--------------------------------------------------------------------------------------------| | ||
+ | |RAID Arrays | ||
+ | |--------------------------------------------------------------------------------------------| | ||
+ | |Physical Partitions | /dev/sda1 | /dev/sda2 | /dev/sdb1 | /dev/sdb2 | /dev/sdc1 | /dev/sdc2 | | ||
+ | |--------------------------------------------------------------------------------------------| | ||
+ | |Devices | ||
+ | |--------------------------------------------------------------------------------------------| | ||
+ | |Hard Drives | ||
+ | |--------------------------------------------------------------------------------------------| | ||
+ | </ | ||
<WRAP info> | <WRAP info> | ||
Line 260: | Line 275: | ||
| | ||
</ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | <file bash / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
---- | ---- | ||
Line 280: | Line 305: | ||
</ | </ | ||
+ | |||
+ | If the system has sufficient RAM the size of the software RAID MD cache can be increased: | ||
+ | |||
+ | <code bash> | ||
+ | echo 8192 > / | ||
+ | </ | ||
+ | |||
---- | ---- |
raid/mdadm/lvm_on_raid.1633088385.txt.gz · Last modified: 2021/10/01 11:39 by peter