User Tools

Site Tools


tech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs [2009/07/01 16:17] kohofertech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs [2010/03/17 15:30] kohofer
Line 7: Line 7:
 <code> <code>
 cfdisk /dev/sda cfdisk /dev/sda
-### for example if the new partition is /dev/sda3+## for example if the new partition is /dev/sda3 
 +## create logical disk /dev/sda3
 # make disk visible to linux # make disk visible to linux
 partprobe partprobe
 pvcreate /dev/sda3 pvcreate /dev/sda3
 +</code>
 +
 +if you are running a newer kernel you can issue this command to male linux re-read the disk geometry:
 +<code>
 +echo "1" > /sys/class/scsi_device/<device>/device/rescan
 </code> </code>
  
Line 98: Line 104:
  
 <code> <code>
-lvextend -L 11.5G  /dev/base/data +lvextend -L 11.5G  /dev/base/data 
 +</code> 
 + 
 +Extend with 20G 
 + 
 +<code> 
 +lvextend -L +20G  /dev/base/data 
 </code> </code>
  
/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