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/02/05 15:11] ccumertech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs [2009/02/05 15:19] ccumer
Line 11: Line 11:
 </code> </code>
  
-or assign the whole new disk to lvm+or assign the whole new disk to lvm assuming it's /dev/sdb
 <code> <code>
 +apt-get install scsitools
 +rescan-scsi-bus.sh
 cfdisk /dev/sdb cfdisk /dev/sdb
 ### for example if the new partition is /dev/sda3 ### for example if the new partition is /dev/sda3
Line 18: Line 20:
 </code> </code>
  
-now you have to extend the volgroup. user ''lvdisplay'' to see which is the name of the group, in this example it's base and we assume the new partition is /dev/sda3+now you have to extend the volgroup. use ''lvdisplay'' to see which is the name of the group, in this example it's base 
 +<code> 
 +vdisplay  
 +  --- Logical volume --- 
 +  LV Name                /dev/base/root 
 +  VG Name                base 
 +  LV UUID                8cL9Qd-ksIn-1Ve2-94ym-gTrW-8jet-91tnah 
 +  LV Write Access        read/write 
 +  LV Status              available 
 +  # open                 1 
 +  LV Size                5.00 GB 
 +  Current LE             1280 
 +  Segments               1 
 +  Allocation             inherit 
 +  Read ahead sectors     0 
 +  Block device           254:
 +    
 +  --- Logical volume --- 
 +  LV Name                /dev/base/tmp 
 +  VG Name                base 
 +  LV UUID                mEnEXY-UtOf-P439-MDpg-BlT3-n8hI-Q6KIfm 
 +  LV Write Access        read/write 
 +  LV Status              available 
 +  # open                 1 
 +  LV Size                1.00 GB 
 +  Current LE             256 
 +  Segments               1 
 +  Allocation             inherit 
 +  Read ahead sectors     0 
 +  Block device           254:
 +    
 +  --- Logical volume --- 
 +  LV Name                /dev/base/swap 
 +  VG Name                base 
 +  LV UUID                fm2A23-FPb3-itQa-Fvf2-QQmj-giwI-j8FZAf 
 +  LV Write Access        read/write 
 +  LV Status              available 
 +  # open                 2 
 +  LV Size                2.00 GB 
 +  Current LE             512 
 +  Segments               1 
 +  Allocation             inherit 
 +  Read ahead sectors     0 
 +  Block device           254:
 +    
 +  --- Logical volume --- 
 +  LV Name                /dev/base/data 
 +  VG Name                base 
 +  LV UUID                GZKUbb-hZn2-igXN-3dxj-TNz9-1C15-I8u8MR 
 +  LV Write Access        read/write 
 +  LV Status              available 
 +  # open                 1 
 +  LV Size                1.52 GB 
 +  Current LE             389 
 +  Segments               1 
 +  Allocation             inherit 
 +  Read ahead sectors     0 
 +  Block device           254:
 + 
 + 
 +</code> and we assume the new partition is /dev/sda3
  
 <code> <code>
Line 36: Line 98:
 xfs_growfs /data xfs_growfs /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