Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
avatar

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
6,287 Views
Comments
avatar
Version history
Last update:
‎09-16-2022 01:32 AM
Updated by:
Contributors