Follow

VT for Docs - increase disk size for onsite deplyoment

If you're running in VMware (ESXi or other), you may want to increase the disk size. After you've increased the disk capacity in VMware then you need to update the guest OS (Ubuntu Linux) to recognize the new capacity.

Here's how:

1. Reboot VM or run these commands in shell : 
    sudo su -
    echo "- - -" > /sys/class/scsi_host/host0/scan
    echo "- - -" > /sys/class/scsi_host/host1/scan
    echo "- - -" > /sys/class/scsi_host/host2/scan
    echo "1" > /sys/class/scsi_disk/2\:0\:0\:0/device/rescan
    exit

2. sudo cfdisk /dev/sda
    Select the "Free Space" item that represents the new disk space (usually the last entry).
    Create new, logical partition, type Linux LVM (8e), write, quit

3. Reboot VM or run sudo partprobe

4. sudo pvcreate /dev/sda6

5. sudo vgextend visiblethreadserver /dev/sda6

6. sudo lvextend /dev/visiblethreadserver/root /dev/sda6

7. sudo resize2fs /dev/visiblethreadserver/root

To confirm that the new disk capacity is recognized run df -h

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.