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 | Last revisionBoth sides next revision | ||
tech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs [2020/10/07 13:08] – [Links] kohofer | tech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs [2020/10/08 10:50] – [VM disk Expansion LVM with XFS/EXT4] kohofer | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== VM disk Expansion LVM with XFS/EXT4 ======= | ====== VM disk Expansion LVM with XFS/EXT4 ======= | ||
- | |||
- | <note important> | ||
Expand the original disk or add a second vdisk from **Infrastructure Client**.\\ | Expand the original disk or add a second vdisk from **Infrastructure Client**.\\ | ||
- | < | ||
If you are on a kernel newer or equal to 2.6.32 then you can issue the command | If you are on a kernel newer or equal to 2.6.32 then you can issue the command | ||
Line 41: | Line 38: | ||
Create an additional partition on the free space, say you increased the existing disc | Create an additional partition on the free space, say you increased the existing disc | ||
+ | |||
from 8GB to 15GB. The partition type is 8e. | from 8GB to 15GB. The partition type is 8e. | ||
cfdisk /dev/sda or cfdisk /dev/sdb | cfdisk /dev/sda or cfdisk /dev/sdb | ||
+ | |||
+ | **RESIZE ORIGINAL DISK** | ||
+ | |||
+ | Resize the already existing partition, e.g. /dev/sda4 to the newly created free partition. | ||
+ | |||
+ | cfdisk /dev/sda or cfdisk /dev/sdb | ||
+ | |||
+ | Now resize the Physical Volume | ||
+ | |||
+ | pvresize /dev/sda4 | ||
+ | |||
+ | and follow on. | ||
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