Skip to content

GNS3 VM size #115

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

Open
e1ext opened this issue Feb 20, 2019 · 3 comments
Open

GNS3 VM size #115

e1ext opened this issue Feb 20, 2019 · 3 comments
Milestone

Comments

@e1ext
Copy link

e1ext commented Feb 20, 2019

Hello,

Is there any way that I can clean up and optimize the size of disk2's gns3vm so i can get more space for projects? maybe such as clean up temporary files and so on.
I used 200GB for the disk2, but after I explore using winscp, I saw kcore on /proc/ is eating 137GB.
Can you give some advice to do maintenance on gns3vm disk?

Thank you

@cristian-ciobanu
Copy link

cristian-ciobanu commented Mar 5, 2019

Kcore is a virtual file is does not take any space on the disk since it's part of the proc virtual system. You can safely ignore that file size.
You can read about it here
https://support.microfocus.com/kb/doc.php?id=7004153

@e1ext
Copy link
Author

e1ext commented Mar 19, 2019

ok...thank you for the explanation, but is there any way to clean up unused or temporary files which can reduce GNS3 VM size?

@grossmj
Copy link
Member

grossmj commented Mar 20, 2019

The problem is that you used all of the 200GB on disk2 and now you have no more space, right?

First you can expand the disk in VMware:

expand_disk

Then expand the partition & file system in the GNS3 VM itself by using the shell:

service gns3 stop
service docker stop
umount /dev/sdb1
parted resizepart /dev/sdb1 1 (check where to end using parted -l)
resize2fs -f /dev/sdb1

However, I agree we should make this easier or at least document that. Maybe even an option to compress all the projects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: TBD
Development

No branches or pull requests

3 participants