MyFirstBrain/Technik/Linux-Volume-Manager.md
2024-10-22 19:12:56 +02:00

21 lines
443 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# LVM
Add 10GB to "root" volume: (Bei mir das 2.te)
```bash
lvresize -L +10G /dev/VolGroup00/root
lvresize -L +40G pve/root
```
danach noch
Resize the filesystem that resides on that volume_:
```bash
resize2fs /dev/VolGroup00/root
```
Note: resize2fs may take a while to expand the file system on a large volume, so you may want to open a second terminal and monitor the progress with the following command:
```bash
watch df -h
```