Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an easier way to resize the project disk #121

Open
grossmj opened this issue Mar 21, 2019 · 2 comments
Open

Provide an easier way to resize the project disk #121

grossmj opened this issue Mar 21, 2019 · 2 comments
Milestone

Comments

@grossmj
Copy link
Member

grossmj commented Mar 21, 2019

Could be based on vmware-vdiskmanager for VMware or VBoxManage for VirtualBox.

https://www.cyberciti.biz/tips/howto-resize-vmware-virtual-harddisk-size.html

@bpozdena
Copy link

Every time I needed to expand the GNS3 VM storage size in the past, I could never properly unmount the device while GNS3 VM was running. As I result I could not modify the partition size.

The only easy solution for me is to mount Live Ubuntu ISO into GNS3 VM, and use GParted GUI from there to expand the partition.

@abhi1693
Copy link

abhi1693 commented Apr 9, 2020

@grossmj @SairusCZ You could use the following sequence of commands to resize the disk

sudo service gns3 stop
sudo service docker stop
sudo umount /dev/sdb1
sudo parted /dev/sdb resizepart 1 100%
sudo umount /dev/sdb1
sudo e2fsck -f /dev/sdb1
sudo resize2fs /dev/sdb1
sudo e2fsck -f /dev/sdb1
sudo mount /opt
df -h

@grossmj grossmj added this to the TBD milestone Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants