Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Here my findings on how to increase sandbox disk space. Please if anyone has a easier solution, update this:

1- Backup sandox files

2- Convert .vmdk disk to .vdi (virtuabox does not allow resizing on vmdk images):

VBoxManage clonehd "/Users/gbraccialli/VirtualBox VMs/HDP 2.3_1.2_B/Hortonworks Sandbox with HDP 2.3-disk1.vmdk" "/Users/gbraccialli/VirtualBox VMs/HDP 2.3_1.2_B/Hortonworks Sandbox with HDP 2.3-disk1.vdi" --format VDI --variant Standard

3- Increase .vdi size

VBoxManage modifyhd "/Users/gbraccialli/VirtualBox VMs/HDP 2.3_1.2_B/Hortonworks Sandbox with HDP 2.3-disk1.vdi" --resize 400000

4- Open virtualbox, remove .vmdk image and add new .vdi image file

5- Download gparted iso image

http://sourceforge.net/projects/gparted/?source=typ_redirect

6- Add gparted iso image as cdrom drive on virtualbox, make cdrom as first device on boot order and boot virtualbox using gparted image

7- Using gparted gui, resize the partition, save changes, shutdown virtualbox and remove gparted cdrom iso image

8- Start Sandox and perform commands below:

lvextend -L +100G /dev/mapper/vg_sandbox-lv_root

resize2fs /dev/mapper/vg_sandbox-lv_root

9- check new partition size:

df -h
4,195 Views
Comments
Not applicable
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎10-16-2015 08:45 PM
Updated by:
 
Contributors
Top Kudoed Authors