Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs [2020/10/08 10:50]
kohofer [VM disk Expansion LVM with XFS/EXT4]
tech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs [2020/10/13 16:46] (current)
kohofer [VM disk Expansion LVM with XFS/EXT4]
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 ​to the new size
  
   pvresize /dev/sda4   pvresize /dev/sda4
  
-and follow on.+extend the logical volume 
 + 
 +  lvextend -l +100%FREE ​ /​dev/​data-www-vg/​lvol-datawww 
 + 
 +next resize the file system 
 + 
 +  resize2fs -p /​dev/​data-www-vg/​lvol-datawww 
  
 If you get a error: If you get a error:
/var/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
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0