Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste ÜberarbeitungBeide Seiten der Revision | ||
content:serverbasics [2023/07/10 18:32] – [Raided LVM- Volumes] Daniel | content:serverbasics [2023/12/17 23:00] – [Moving logical Volumes to physical Devices] Daniel | ||
---|---|---|---|
Zeile 15: | Zeile 15: | ||
</ | </ | ||
+ | |||
+ | The important part is metadata=1.0 - this format has especially designed to fit the needs of raid1 of fat/efi- systems. | ||
Zeile 24: | Zeile 26: | ||
Noadays, raid1 or raid5 for system without LVM is outdated. Those things are integrated in LVM - so use it! | Noadays, raid1 or raid5 for system without LVM is outdated. Those things are integrated in LVM - so use it! | ||
- | first, creat a volume group with two same size partitions on two discs, than creat a raid1 on it (for example): | + | First, creat a volume group with two same size partitions on two discs, than create |
< | < | ||
Zeile 48: | Zeile 50: | ||
</ | </ | ||
- | Or - you can do rai5 with: | + | Or - you can do raid5 with: |
< | < | ||
Zeile 81: | Zeile 83: | ||
< | < | ||
# pvmove -n system/home /dev/sdb2 /dev/sda4 | # pvmove -n system/home /dev/sdb2 /dev/sda4 | ||
+ | |||
+ | </ | ||
+ | == Resizing logical Volumes with mounted Filesystem == | ||
+ | |||
+ | can be done by e.g. | ||
+ | |||
+ | < | ||
+ | lvresize --size 20G / | ||
</ | </ |