Header Only - DO NOT REMOVE - Extreme Networks

Expand Virtual Hard Drive Netsight VM


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?

11 replies

Userlevel 6
Jeremy, what version of Netsight are you using?
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.
Userlevel 6
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.

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
Userlevel 2
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$
Userlevel 2
Rainer Adam wrote:

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$

Are there any updates regarding this? Maybe you found the cause? I experience the same problem
Userlevel 1
Rainer Adam wrote:

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$

Me too, I'm interested in any updates. Thank you.
Userlevel 6
Please open a case with the GTAC then.
Are you sure you created a new virtual drive in the VM to be added?
Userlevel 7
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
Userlevel 1
Thank you, it worked for Extreme Management Center version 7.1.3.25 (Hyper-V, Linux)

Reply