cancel
Showing results for 
Search instead for 
Did you mean: 

Expand Virtual Hard Drive Netsight VM

Expand Virtual Hard Drive Netsight VM

Jeremy_Gibbs
Contributor
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 11

Rainer_Adam
New Contributor III
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? : 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.

Are there any updates regarding this? Maybe you found the cause? I experience the same problem

Jeremy_Gibbs
Contributor
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? : 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

Mike_Thomas
Extreme Employee
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.

412863e66ba14b06af65d3fb90507749_3307-1t4ga3x_inline.png

GTM-P2G8KFN