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
-
votive
- Posts: 20
- Joined: Sat May 13, 2017 6:52 pm
Post
by votive » Fri Aug 11, 2017 1:39 pm
I put 1TB of disk space via vsphere for EVE-NG, thinking it would partition evenly. I only have few images and it's already getting crowded.
How can I resize /dev/mapper/eve--ng--vg-root to much large please? I've done it once but can't find the link. Thanks.
root@eve-ng:/# df -h
Filesystem Size Used Avail Use% Mounted on
udev 24G 0 24G 0% /dev
tmpfs 4.8G 17M 4.8G 1% /run
/dev/mapper/eve--ng--vg-root 24G 8.3G 14G 38% /
tmpfs 24G 0 24G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 24G 0 24G 0% /sys/fs/cgroup
/dev/sda1 472M 108M 340M 25% /boot
root@eve-ng:/#
-
ecze
- Posts: 533
- Joined: Wed Mar 15, 2017 1:54 pm
Post
by ecze » Fri Aug 11, 2017 1:56 pm
Because it is too dangerous
The new way is to add disk , EVE will detect and expand / filesystems
E.
-
votive
- Posts: 20
- Joined: Sat May 13, 2017 6:52 pm
Post
by votive » Fri Aug 11, 2017 10:36 pm
Thanks. So, I already allocated 1TB. As may know, you cant resize. If not true in vsphere, let me know pls.
So, is there a manual way to do it? I found a site but can't find it now of course.
I've already lost everything due to messing with disk size so this install is fresh -no worries if it get messed up.
-
votive
- Posts: 20
- Joined: Sat May 13, 2017 6:52 pm
Post
by votive » Sat Aug 12, 2017 10:59 am
So, I just added 200GB which I didn't want to do but wanted to try. The result is no change in the original disk size.
All that space in /dev/sda1 472M 108M 340M 25% /boot will never be used right? And you can't resize it.
root@eve-ng:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 24G 0 24G 0% /dev
tmpfs 4.8G 16M 4.8G 1% /run
/dev/mapper/eve--ng--vg-root 219G 8.4G 202G 4% /
tmpfs 24G 0 24G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 24G 0 24G 0% /sys/fs/cgroup
/dev/sda1 472M 108M 340M 25% /boot
root@eve-ng:~#
-
votive
- Posts: 20
- Joined: Sat May 13, 2017 6:52 pm
Post
by votive » Sat Aug 12, 2017 12:34 pm
Canx, I don't want to wast disk space so I'm just going start again by saving "add-ons" directory to local pc.
This time, I'll keep the default EVE-NG disk size and add another disk and see how that goes.
-
Chris929
- Posts: 83
- Joined: Tue Jun 27, 2017 8:51 am
Post
by Chris929 » Mon Aug 14, 2017 8:29 am
Expanding the original-EVE-Disk can be dangerous if you don't know what you're doing.
However expanding a LVM is relatively easy - anyway you should stick to the intended way and just add another disk that will be used by eve.
If you need more space after that, just add another harddisk and so on.
Usually I boot EVE with 30G and add a new disk with 6TB just to be on the safe side