Expand Virtual Hard Drive Netsight VM

  • 0
  • 2
  • Problem
  • Updated 9 months ago
  • Solved
We have the VM of NetSight.  The VM creates a 100 Gb drive and that is already filled up.  I would like to expand the virtual drive to 200 Gb.  Can I do this with the resize2fs command on the NetSight VM?  
Photo of Jeremy

Jeremy, Embassador

  • 9,788 Points 5k badge 2x thumb

Posted 3 years ago

  • 0
  • 2
Photo of Mike Thomas

Mike Thomas, Employee - GTAC - NMS

  • 7,498 Points 5k badge 2x thumb
Jeremy, what version  of Netsight are you using? 
Photo of Jeremy

Jeremy, Embassador

  • 9,788 Points 5k badge 2x thumb
6.3.xxx.. Whatever the latest version is.  The database backups are huge (3gb+ each).  So I get a critical error every night saying the disk has filled up because of how large the backups are.
Photo of Mike Thomas

Mike Thomas, Employee - GTAC - NMS

  • 7,498 Points 5k badge 2x thumb
If you go to the help section then, your in luck. It's discussed there under "Adding Disk Space to a virtual Appliance"
So to to Help ->Search all topics->type in Adding Disk Space and it will pop up.

(Edited)
Photo of Jeremy

Jeremy, Embassador

  • 9,788 Points 5k badge 2x thumb
Just what I needed!  Thanks! 

root@ns:~/scripts$ ./expandLVM.sh
WARNING:
  This script will attempt to locate a new virtual drive and add it to
  the current LVM configuration.  This script will format the new drive,
  and should only be used in accordance with official instructions
  to increase the size of the hard drive.

Would you like to proceed? [n]: y

Starting partition resizing.  Start size is 99GB
Logging to expandLVM.log
Scanning for new partition sdb
Found sdb, mapping partition
Adding to volume group
Adding to logical volume
Formating new partition
Resize completed successfully.  New size is 217GB
Photo of Rainer Adam

Rainer Adam

  • 874 Points 500 badge 2x thumb
I tried this, but this did not work

root@V0NSM741.arc.local:~/scripts$ ./expandLVM.sh
WARNING:
  This script will attempt to locate a new virtual drive and add it to 
  the current LVM configuration.  This script will format the new drive,
  and should only be used in accordance with official instructions 
  to increase the size of the hard drive.

Would you like to proceed? [n]: y

Starting partition resizing.  Start size is 103GB
Logging to expandLVM.log
Scanning for new partition sdb
Scan could not detect new drive sdb, exiting.
root@V0NSM741.arc.local:~/scripts$ 
Photo of Chacko

Chacko

  • 1,206 Points 1k badge 2x thumb
Are there any updates regarding this? Maybe you found the cause? I experience the same problem
Photo of Yves Haslimann

Yves Haslimann

  • 878 Points 500 badge 2x thumb
Me too, I'm interested in any updates. Thank you.
Photo of Mike Thomas

Mike Thomas, Employee - GTAC - NMS

  • 7,498 Points 5k badge 2x thumb
Please open a case with the GTAC then.
Photo of Jeremy

Jeremy, Embassador

  • 9,788 Points 5k badge 2x thumb
Are you sure you created a new virtual drive in the VM to be added? 
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 45,306 Points 20k badge 2x thumb
I've prefer/used this method - worked great and I don't need to create another disk = it just increases the current installed one....

https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-expand-NetSight-VM-disk-space
Photo of Yves Haslimann

Yves Haslimann

  • 878 Points 500 badge 2x thumb
Thank you, it worked for Extreme Management Center version 7.1.3.25 (Hyper-V, Linux)