DSS VM disk size issue

TNB
TNB Registered Posts: 6 ✭✭✭

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

Tagged:

Best Answer

  • Sergey
    Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
    edited July 17 Answer ✓

    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

Setup Info
    Tags
      Help me…