Page 1 of 1

Running out of space on eve-ng vm

Posted: Wed Oct 04, 2017 2:02 pm
by KevBonz
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?

Re: Running out of space on eve-ng vm

Posted: Wed Oct 04, 2017 3:10 pm
by Uldis (UD)
:)
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

Re: Running out of space on eve-ng vm

Posted: Wed Oct 04, 2017 8:16 pm
by KevBonz
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?

Re: Running out of space on eve-ng vm

Posted: Thu Oct 05, 2017 4:22 pm
by ramindia
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!

Re: Running out of space on eve-ng vm

Posted: Thu Oct 05, 2017 6:22 pm
by KevBonz
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!

Re: Running out of space on eve-ng vm

Posted: Thu Oct 05, 2017 10:26 pm
by Uldis (UD)
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

Re: Running out of space on eve-ng vm

Posted: Sun Oct 08, 2017 6:39 am
by KevBonz
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.

Re: Running out of space on eve-ng vm

Posted: Mon Oct 09, 2017 3:18 pm
by ecze
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.

Re: Running out of space on eve-ng vm

Posted: Mon Oct 09, 2017 6:04 pm
by KevBonz
I would have to Google how to do this but thanks !!