Running out of space on eve-ng vm

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
KevBonz
Posts: 31
Joined: Sun Sep 03, 2017 2:30 am

Running out of space on eve-ng vm

Post by KevBonz » Wed Oct 04, 2017 2:02 pm

Seems every time I create news labs my HD size in eve-ng shrinks by like 15G. The total size is 112G. I had 33G yesterday and was working a new lab i created several days ago but after saving the lab last night i check the HD size this morning and the size is down to 15G. I have two windows 7 machine in my lab plus Cisco ASA8.4, 4 IOL l3 routers and 4 l2 switches. I am not sure if i created the Windows 7 machine correctly because the hda.qcow file is about 8G, which is even more than a Windows Server 12 image in the qemu directory. I also notice in the directory /opt/unetlab/data/logs the access.txt file is about 2.3GB in size.

Do I need to delete some of my previous labs to gain back some of my HD space? How can I backup or export labs that I finished without losing the configs or topology setup?
You do not have the required permissions to view the files attached to this post.

Uldis (UD)
Posts: 5180
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Running out of space on eve-ng vm

Post by Uldis (UD) » Wed Oct 04, 2017 3:10 pm

:)
sir, and check in our site FAQ is tough :)?

Q: I'm running out of space, how can I add more storage to the VM?

Watch VIDEO
A: Make sure you are running 2.0.2-23 EVE version or later
Power off VM
Add New Disk to VM with desired size
Power on VM

KevBonz
Posts: 31
Joined: Sun Sep 03, 2017 2:30 am

Re: Running out of space on eve-ng vm

Post by KevBonz » Wed Oct 04, 2017 8:16 pm

I have already added additional storage twice so I know how to do that.

I asked:

1. Do I need to delete or export some of my previous labs to gain back some of my HD space?

2. How can I backup or export labs that I finished without losing the configs or topology setup?

ramindia
Posts: 409
Joined: Sun Mar 19, 2017 10:27 pm

Re: Running out of space on eve-ng vm

Post by ramindia » Thu Oct 05, 2017 4:22 pm

KevBonz wrote:
Wed Oct 04, 2017 8:16 pm
I have already added additional storage twice so I know how to do that.

I asked:

1. Do I need to delete or export some of my previous labs to gain back some of my HD space?

2. How can I backup or export labs that I finished without losing the configs or topology setup?
Make sure you save the LABS, and Stop the LABS, for better approach you can take back of the LABS.

If you follow the correct process for extending the HDD, you wont loose any Data, but if you are not sure please take all the back up before you extending the HDD.

If you want to take back up to local PC, make sure you use winscp and copy all under /opt/unetlab - so you have all the information.

R!

KevBonz
Posts: 31
Joined: Sun Sep 03, 2017 2:30 am

Re: Running out of space on eve-ng vm

Post by KevBonz » Thu Oct 05, 2017 6:22 pm

Ramindia,

I found a link that explained how to export lab and startup-cfg in Unetlab which I followed. I then deleted the lab and import the exported zip file and labs startup with running config.

Here is the link: https://nbctcp.wordpress.com/2016/07/16 ... lab-steps/

However, I realized the reason I am running out of space is the labs which I have Windows machines running. When I exported those labs and the deleted the unl file from in eve-ng gui
I was able to regain some HD space.

I think my Windows 7 node is to large and that is the problem. I tried following the HowTo for creating a windows machine. I got it to work for windows server but the HowTo steps didn't
work for XP or Windows 7 but I found a video on how to convert a VirtualBox Windows 7 machine and add to eve-ng. Problem is the size of the windows machine hda.qcow files is like almost 8G
in size so each time I add a windows 7 machine to my topology there goes my space.

Thanks for the help!

Uldis (UD)
Posts: 5180
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Running out of space on eve-ng vm

Post by Uldis (UD) » Thu Oct 05, 2017 10:26 pm

If you have simple eve VM Ware VM installed then adding new (second HDD) will solve all your problems.
I already gave this advice above

KevBonz
Posts: 31
Joined: Sun Sep 03, 2017 2:30 am

Re: Running out of space on eve-ng vm

Post by KevBonz » Sun Oct 08, 2017 6:39 am

The problem was I was using a Windows image that I created in VirtualBox so the image size was to big. I deleted and followed the steps in HowTo again and this time i have an image that is 3G in comparison to 8G win7 image I had installed.

p.s. - in your HowTo create a custom windows image at step '6: Create new hda.qcow2' the cmd below reads /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 30G. This was the issue I was having when I first tried to create my windows machine. When I started to setup it could not find any hard drives installed because I created a virtioa.qcow2 instead of a hda.qcow2. This can get confusing for someone that is not familiar with linux or first time doing this. However, in the HowTo video have the correct way.

ecze
Posts: 534
Joined: Wed Mar 15, 2017 1:54 pm

Re: Running out of space on eve-ng vm

Post by ecze » Mon Oct 09, 2017 3:18 pm

virtioa.qcow2 works !

BUT you need to install additionnal driver during WIN install
By default EVE provide a floppy B: where stands all necessary drivers for:

virtio Disk
virtio NIC

E.

KevBonz
Posts: 31
Joined: Sun Sep 03, 2017 2:30 am

Re: Running out of space on eve-ng vm

Post by KevBonz » Mon Oct 09, 2017 6:04 pm

I would have to Google how to do this but thanks !!

Post Reply