... | ... | @@ -141,7 +141,20 @@ of the underlying device: |
|
|
The number `0` in this context, indicates the first disk of the
|
|
|
instance. Then the filesystem needs to be resized inside the VM:
|
|
|
|
|
|
ssh root@test1.torproject.org resize2fs /dev/sda1
|
|
|
ssh root@test1.torproject.org
|
|
|
|
|
|
Use lvs to display information about logical volumes:
|
|
|
|
|
|
# lvs
|
|
|
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
|
|
|
var-opt vg_test-01 -wi-ao---- <10.00g
|
|
|
test-backup vg_test-01_hdd -wi-ao---- <20.00g
|
|
|
|
|
|
Use lvextend to add space to the volume:
|
|
|
# lvextend -l '+100%FREE' vg_test-01/var-opt
|
|
|
|
|
|
Finally resize the filesystem with:
|
|
|
# resize2fs /dev/vg_test-01/var-opt
|
|
|
|
|
|
### Adding disks
|
|
|
|
... | ... | |