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 [2014/03/24 14:52] – [FOR EXT3/4] kohofer | tech:documentation:procedures:vm:vm_disk_expansion_lvm_xfs [2017/11/14 10:50] – kohofer | ||
---|---|---|---|
Line 26: | Line 26: | ||
whereby after scsi_device you need to find the correct scsi device | whereby after scsi_device you need to find the correct scsi device | ||
+ | or | ||
+ | |||
+ | apt-get install scsitools | ||
+ | rescan-scsi-bus | ||
+ | |||
+ | At the end it should list that a new device was found, note down the name/ | ||
+ | |||
+ | echo ' | ||
+ | |||
+ | IMPORTANT: Be sure to replace the 32\:0\:1\:0 with the appropriate disk for your purposes. | ||
Line 33: | Line 43: | ||
from 8GB to 15GB. The partition type is 8e. | from 8GB to 15GB. The partition type is 8e. | ||
- | cfdisk /dev/sda | + | cfdisk / |
# for example if the new partition is /dev/sda3 | # for example if the new partition is /dev/sda3 | ||
Line 141: | Line 151: | ||
Now resize the filesystem | Now resize the filesystem | ||
- | resize2fs -p / | + | Debian System: |
- | resize4fs -p / | + | |
+ | resize2fs -p / | ||
+ | |||
+ | Centos/ | ||
+ | |||
+ | resize4fs -p / | ||
===== For swap ===== | ===== For swap ===== | ||
Line 196: | Line 210: | ||
/ | / | ||
- | http://www.linuxhaven.de/dlhp/HOWTO-test/DE-LVM-HOWTO-2.html | + | ===== Links ===== |
+ | |||
+ | |||
+ | [[http://www.thegeekstuff.com/2010/08/how-to-create-lvm/|How To Create LVM Using vgcreate, lvcreate, and lvextend lvm2 Commands]]\\ | ||
+ | [[https:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | http:// | ||
http:// | http:// |
/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