tech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs [2020/10/08 10:50] – [VM disk Expansion LVM with XFS/EXT4] kohofer | tech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs [2020/10/13 16:46] (current) – [VM disk Expansion LVM with XFS/EXT4] kohofer | ||
---|---|---|---|
Line 42: | Line 42: | ||
cfdisk /dev/sda or cfdisk /dev/sdb | cfdisk /dev/sda or cfdisk /dev/sdb | ||
+ | |||
**RESIZE ORIGINAL DISK** | **RESIZE ORIGINAL DISK** | ||
Line 49: | Line 50: | ||
cfdisk /dev/sda or cfdisk /dev/sdb | cfdisk /dev/sda or cfdisk /dev/sdb | ||
- | Now resize the Physical Volume | + | Now resize the Physical Volume |
pvresize /dev/sda4 | pvresize /dev/sda4 | ||
- | and follow on. | + | extend the logical volume |
+ | |||
+ | lvextend -l +100%FREE | ||
+ | |||
+ | next resize the file system | ||
+ | |||
+ | resize2fs -p / | ||
If you get a error: | If you get a error: |
/data/www/wiki.inf.unibz.it/data/pages/tech/documentation/procedures/vm/vm_disk_expansion_lvm_xfs.txt · Last modified: 2020/10/13 16:46 by kohofer