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 revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs [2009/02/05 15:19] – ccumer | tech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs [2009/07/01 16:11] – kohofer | ||
---|---|---|---|
Line 4: | Line 4: | ||
**THEN TAKE A SNAPSHOT!!!** | **THEN TAKE A SNAPSHOT!!!** | ||
- | then from on the vm either create an additional | + | then from on the vm either create an additional |
< | < | ||
cfdisk /dev/sda | cfdisk /dev/sda | ||
### for example if the new partition is /dev/sda3 | ### for example if the new partition is /dev/sda3 | ||
+ | # make disk visible to linux | ||
+ | partprobe | ||
pvcreate /dev/sda3 | pvcreate /dev/sda3 | ||
</ | </ | ||
Line 22: | Line 24: | ||
now you have to extend the volgroup. use '' | now you have to extend the volgroup. use '' | ||
< | < | ||
- | vdisplay | + | lvdisplay |
--- Logical volume --- | --- Logical volume --- | ||
LV Name / | LV Name / | ||
Line 98: | Line 100: | ||
xfs_growfs /data | xfs_growfs /data | ||
</ | </ | ||
+ | |||
+ | Check if filesystems are ok, and only then release the snapshot |
/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