Running out of space advise please
Moderator: mike
-
- Posts: 59
- Joined: Wed Feb 12, 2020 7:43 am
- Location: UK
- Contact:
Running out of space advise please
I'm running bare metal eve-ng starting to run out of disk space. Just had to delete a bunch of stuff.
Currently uses 2x1gb SSDs mirrored. Raid 1
I've bought 2 more. It seems like going forward, using raid 6 might be a better option as it becomes more efficient the more drives I add.
My system is fully backed up using the backup tool in eve-ng. so I have that as a fall back.
I have watched the video for the ESXi-VM. i note it really clearly say " DO NOT TRY TO EXTEND THE CURRENT DRIVE" only for experts
is the the same for bare metal? My Dell server Does have the facility to move from RAID 1 > RAID 6 without data loss.
do you advise
1) fully rebuild eve-ng from the backups
2) try to expand the current drive.
3) maybe ( I'm not a expert here ) the RAID controller will allow me to present 2 virtual drives to the OS. ... no sure if this is possible
Currently uses 2x1gb SSDs mirrored. Raid 1
I've bought 2 more. It seems like going forward, using raid 6 might be a better option as it becomes more efficient the more drives I add.
My system is fully backed up using the backup tool in eve-ng. so I have that as a fall back.
I have watched the video for the ESXi-VM. i note it really clearly say " DO NOT TRY TO EXTEND THE CURRENT DRIVE" only for experts
is the the same for bare metal? My Dell server Does have the facility to move from RAID 1 > RAID 6 without data loss.
do you advise
1) fully rebuild eve-ng from the backups
2) try to expand the current drive.
3) maybe ( I'm not a expert here ) the RAID controller will allow me to present 2 virtual drives to the OS. ... no sure if this is possible
-
- Posts: 5166
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Running out of space advise please
I would recommend option 1.
BM server supports adding new HDD and expand VM Linux partition, but I am totally not sure if this will work on existing RAID.
Non RAID Bare HDD expand was explained in our use case document
https://www.eve-ng.net/wp-content/uploa ... ystems.pdf
BM server supports adding new HDD and expand VM Linux partition, but I am totally not sure if this will work on existing RAID.
Non RAID Bare HDD expand was explained in our use case document
https://www.eve-ng.net/wp-content/uploa ... ystems.pdf
-
- Posts: 59
- Joined: Wed Feb 12, 2020 7:43 am
- Location: UK
- Contact:
Re: Running out of space advise please
Thanks Uldis
-
- Posts: 59
- Joined: Wed Feb 12, 2020 7:43 am
- Location: UK
- Contact:
Re: Running out of space advise please
@Uldis
When I restore from a backup will the current configs remain on all the devices in my cases Juniper ? or will they appear wiped ?
( at least in theory )
promise I will not come back all angry if it goes wrong.
Regards
Simon
When I restore from a backup will the current configs remain on all the devices in my cases Juniper ? or will they appear wiped ?
( at least in theory )
promise I will not come back all angry if it goes wrong.

Regards
Simon
-
- Posts: 59
- Joined: Wed Feb 12, 2020 7:43 am
- Location: UK
- Contact:
Re: Running out of space advise please
On extra question
back up and restore
can backup eve-ng version 5.x >> BACKUP SERVER
rebuild my BM eve using version 6.x ( and my new drives )
BACKUP SERVER >>> eve-ng version 6.x
IS BACKUP and RESTORE required to go back onto to the same version ?
back up and restore
can backup eve-ng version 5.x >> BACKUP SERVER
rebuild my BM eve using version 6.x ( and my new drives )
BACKUP SERVER >>> eve-ng version 6.x
IS BACKUP and RESTORE required to go back onto to the same version ?
-
- Posts: 305
- Joined: Thu Mar 29, 2018 4:19 pm
Re: Running out of space advise please
you can backup 5.x and restore it to 6.x
-
- Posts: 59
- Joined: Wed Feb 12, 2020 7:43 am
- Location: UK
- Contact:
Re: Running out of space advise please
Thank you, and will the state of my nodes be backed up?
-
- Posts: 59
- Joined: Wed Feb 12, 2020 7:43 am
- Location: UK
- Contact:
Re: Running out of space advise please
I followed my own process, ( this is because in the future I would to be able to add more disks to my raid6 array with no drama.
My server running, Bare Metal Eve was out of space. This was running using 2 x 1 TB SSDs in RAID1 ( mirrored ) for redundancy.
To expand I bought 2 more identical SSDs, I decided to move to RAID 6.
Step 1 Take a backup of the EVE_NG server using Backup Manager
Step 2 Followed this process. ( non-destructive )
https://www.dell.com/support/contents/e ... 9761943001
advice is to leave the machine alone mine took 6 - 12 hours.
I was able to boot the server after this, and everything looked identical.
Step 3 follow this:
https://packetpushers.net/blog/ubuntu-e ... filesystem.
Hint if you copy and paste commands there is a typo:
resize2fs /dev/mapper/ubuntu–vg-ubuntu–lv should be
resize2fs /dev/mapper/ubuntu–-vg-ubuntu–-lv
Step 4: that’s it. The backup was not needed
The whole process was non-destructive.
Am I likely to see any unexpected errors ? It seems ok so far.
I could wipe and restore from my back if I needed to.
Simon
My server running, Bare Metal Eve was out of space. This was running using 2 x 1 TB SSDs in RAID1 ( mirrored ) for redundancy.
To expand I bought 2 more identical SSDs, I decided to move to RAID 6.
Step 1 Take a backup of the EVE_NG server using Backup Manager
Step 2 Followed this process. ( non-destructive )
https://www.dell.com/support/contents/e ... 9761943001
advice is to leave the machine alone mine took 6 - 12 hours.
I was able to boot the server after this, and everything looked identical.
Step 3 follow this:
https://packetpushers.net/blog/ubuntu-e ... filesystem.
Hint if you copy and paste commands there is a typo:
resize2fs /dev/mapper/ubuntu–vg-ubuntu–lv should be
resize2fs /dev/mapper/ubuntu–-vg-ubuntu–-lv
Step 4: that’s it. The backup was not needed

Am I likely to see any unexpected errors ? It seems ok so far.
I could wipe and restore from my back if I needed to.
Simon
Code: Select all
Last login: Sun Feb 9 17:32:25 2025 from 172.27.233.21
root
root@eve-ng:~#
root@eve-ng:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 189G 0 189G 0% /dev
tmpfs 38G 2.2M 38G 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 1.8T 867G 890G 50% /
tmpfs 189G 0 189G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 189G 0 189G 0% /sys/fs/cgroup
/dev/sda2 1.5G 259M 1.1G 19% /boot
/dev/loop0 64M 64M 0 100% /snap/core20/2379
/dev/loop1 64M 64M 0 100% /snap/core20/2434
/dev/loop2 45M 45M 0 100% /snap/snapd/23545
/dev/loop3 92M 92M 0 100% /snap/lxd/29619
/dev/loop4 45M 45M 0 100% /snap/snapd/23258
/dev/loop5 92M 92M 0 100% /snap/lxd/24061
tmpfs 38G 0 38G 0% /run/user/0
root@eve-ng:~#
Last edited by kiteboy on Mon Feb 10, 2025 9:07 am, edited 1 time in total.
-
- Posts: 305
- Joined: Thu Mar 29, 2018 4:19 pm
Re: Running out of space advise please
You will need to backup and redo your raid then upload backup back.
-
- Posts: 59
- Joined: Wed Feb 12, 2020 7:43 am
- Location: UK
- Contact:
Re: Running out of space advise please
Code: Select all
Last login: Sun Feb 9 17:32:25 2025 from 172.27.233.21
root
root@eve-ng:~#
root@eve-ng:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 189G 0 189G 0% /dev
tmpfs 38G 2.2M 38G 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 1.8T 867G 890G 50% /
tmpfs 189G 0 189G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 189G 0 189G 0% /sys/fs/cgroup
/dev/sda2 1.5G 259M 1.1G 19% /boot
/dev/loop0 64M 64M 0 100% /snap/core20/2379
/dev/loop1 64M 64M 0 100% /snap/core20/2434
/dev/loop2 45M 45M 0 100% /snap/snapd/23545
/dev/loop3 92M 92M 0 100% /snap/lxd/29619
/dev/loop4 45M 45M 0 100% /snap/snapd/23258
/dev/loop5 92M 92M 0 100% /snap/lxd/24061
tmpfs 38G 0 38G 0% /run/user/0
root@eve-ng:~#
Looks good now.