DSS VM disk size issue
Hi,
I'm currently working with DSS 10 on Windows thanks to VirtualBox and DSS VM.
My issue is that i'm currently working with a lot of csv files ( approx 150 GB).
As the default size of my VM is 24GB i'm currently having out of memory error.
How can i incread the allocated memory of my VM knowing that my local computer have a 2TB sata drive?
I've tried to increase the storage size on VirtualBox but this doesn't change the allocate memory of the DSS VM (i've verrified that with the df -h command on the VM).
Thanks
Operating system used: windows
Best Answer
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
Hi @TNB
First of all, I am recommending cloning the VM before doing anything to the VM so you have a backup.
Next, here are the steps I used to extend the FS size:
# Add new VM hard disk whatever size you need. Check the VirtualBox manual on how to do this. # Check the new drive existence (in my case, it was sdb) lsblk # Create a Physical Volume pvcreate /dev/sdb # Identify the Volume Group vgs # Extend the Volume Group vgextend centos /dev/sdb # Verify: vgdisplay # Check logical volumes lvs # Extend the Logical Volume lvextend -l +100%FREE /dev/centos/root # Verify: lvdisplay # Extend the filesystem resize2fs /dev/centos/root
Hope this helps.
Answers
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
Hi @TNB
In case you are using the default VM we provide, you will need to add extra space to the volume group and extend it. There are articles online on how you can do that:
https://www.tecmint.com/extend-and-reduce-lvms-in-linux/
https://www.redhat.com/sysadmin/resize-lvm-simple
-
hi sergeyd,
thanks for your reply, sorry again but i dont realy how to easily extend the size of the VM. and yes i'm using the default VM provided on the website.
Thomas
-
In addition, to follow the explanation provied i need to be logged on the root admin of the VM.
How can i do that?
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
just type "sudo su" and provide the same pass: "dataiku"
-
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
Hi @TNB
Glad to hear this. Please mark this as an accepted solution then.