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 [2019/01/16 10:03] – external edit 127.0.0.1 | tech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs [2020/09/08 11:15] – [For swap] kohofer | ||
---|---|---|---|
Line 44: | Line 44: | ||
cfdisk /dev/sda or cfdisk /dev/sdb | cfdisk /dev/sda or cfdisk /dev/sdb | ||
+ | |||
+ | If you get a error: | ||
+ | |||
+ | <color # | ||
+ | |||
+ | run this command: | ||
+ | |||
+ | parted -l | ||
+ | |||
+ | and when asked to Fix/Cancel? type **F** | ||
# for example if the new partition is /dev/sda3 | # for example if the new partition is /dev/sda3 | ||
Line 57: | Line 67: | ||
in this example it's **base** | in this example it's **base** | ||
- | lvdisplay | + | lvdisplay |
+ | |||
+ | < | ||
--- Logical volume --- | --- Logical volume --- | ||
LV Name / | LV Name / | ||
Line 113: | Line 125: | ||
Read ahead sectors | Read ahead sectors | ||
Block device | Block device | ||
+ | </ | ||
and we assume the new partition is /dev/sda3 | and we assume the new partition is /dev/sda3 | ||
Line 168: | Line 180: | ||
Check if filesystems are ok, and only then release the snapshot | Check if filesystems are ok, and only then release the snapshot | ||
+ | |||
+ | Fix issue with swap | ||
+ | |||
+ | * swapoff: /dev/dm-1: swapoff failed: Cannot allocate memory | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | < | ||
/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