Page 1 of 1

Adding new HDD to Eve, hosted in Azure

Posted: Thu Sep 21, 2023 1:08 pm
by joffaloff
This is a long shot as I know its not supported, but here goes anyway.

I have an Eve instance running in Azure. Sadly with work limitations this is my only option. Eve works fine, got routing in sorted through the cloud1/pnet1 interface. Can access devices and monitor devices in the lab through this (for SNMP testing which is the purpose for it). I have various dynamips Cisco 3750s linked up, doing various things such as performance tests to each other, and a docker linux server. No issues here.

I've managed to fill up the OS disk, its only 60gb so this was to be expected at some point. The lab itself was a proof of concept test which has worked, so I'm happy.

I've added a new data disk to the VM, only 32gig as a test as I didnt want to make the azure bill increase if it didn't work. Initially, was only appearing under fdisk -l, and not df -h (forgot I had to format and mount it, durr!)

I've formatted to ext4, to match the current OS disk. Mounted to a new folder called /datadrive. It now appears in df -h:

Code: Select all

root@AZ-DEVTEST-EVENG:/home/azureuser# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            7.8G     0  7.8G   0% /dev
tmpfs           1.6G  1.3M  1.6G   1% /run
/dev/sdc1        58G   57G  1.1G  99% /        <----Filled up disk
tmpfs           7.9G     0  7.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/sda1        32G   32K   30G   1% /datadrive    <--- New Drive Here
/dev/loop0       64M   64M     0 100% /snap/core20/1974
/dev/loop1       92M   92M     0 100% /snap/lxd/24061
/dev/loop2       64M   64M     0 100% /snap/core20/2015
/dev/loop3       41M   41M     0 100% /snap/snapd/19993
/dev/loop4       41M   41M     0 100% /snap/snapd/20092
/dev/sdc15      105M  6.1M   99M   6% /boot/efi
tmpfs           1.6G     0  1.6G   0% /run/user/1000
On a reboot, Eve is not picking it up and expanding into it. As its not officailly supported or documented, I'm not entirely sure it would work anyway. But if you don't ask you might never know. Also, sorry, linux and VM's are not my area of knowledge, I know about routers and SNMP (and that is a push at that!)
Questions:
Is this possible, and I've done something wrong (mounted it out of view for example, or formatted incorrectly)
Is this not possible, and I should quit whils't I was temporarily ahead.

Re: Adding new HDD to Eve, hosted in Azure

Posted: Thu Sep 21, 2023 10:53 pm
by Uldis (UD)
Probably if to expand same HDD then using fdisk or cfdisk might be possible expand hdd on eve VM.
I did not test such
Better to plan at once hdd on clouds

Re: Adding new HDD to Eve, hosted in Azure

Posted: Mon Mar 04, 2024 3:19 pm
by rogerp2
How did you get the routing into devices working? I am trying to SSH to the mangement IP's of my devices and can't get it to work either from another VM in the same VNET or a VPN

Re: Adding new HDD to Eve, hosted in Azure

Posted: Fri Apr 12, 2024 7:11 am
by anniesteuber
You'd better plan your hdd in the cloud immediately. Hello Neighbor