Page 1 of 1

Let me teach you how to expend evelab-vm harddisk

Posted: Sun Mar 26, 2017 4:56 pm
by djcat
hi guys, today let me teach you how to expend evelab-vm harddisk

1.import EVE Community Edition VM.ova in your vmware-workstation or esxi server you kan see it's only 30GB
2.expend the harddisk how much space you want
3.login eve linux console
4.use "df -h "show your disk parttion status
5.use "fdisk /dev/sda" add new parttion (the order is "n,p,3,n,p,4,w") then reboot your evevm
6.use "fdisk /dev/sda" input t,8e,w (the order is t,8e,w)
7.format parttion: mkfs.ext4 /dev/sda4
8.creat pv : pvcreate /dev/sda4
9.show your vg and remember VG name (my vg name is eve-ng-vg)
10.create vg: vgextend eve-ng-vg /dev/sda4
11.expend the parttion: lvextend -L +30G /dev/eve-ng-vg/root
12.at last input this command: resize2fs /dev/mapper/eve--ng--vg-root

enjoy!
1.jpg
2.jpg
3.jpg
The Forum admin limited pictrue upload rights it is no good !

Re: Let me teach you how to expend evelab-vm harddisk

Posted: Sun Mar 26, 2017 5:30 pm
by mike
or just add another HDD with whatever space you want/need, reboot and you are done.

What is faster? :)

Re: Let me teach you how to expend evelab-vm harddisk

Posted: Sun Mar 26, 2017 8:07 pm
by djcat
You mean this evelab system can auto add space on primary parttion (this path :/unetlab/addones/) when you expend the virtual disk ? :oops:

Re: Let me teach you how to expend evelab-vm harddisk

Posted: Sun Mar 26, 2017 8:19 pm
by djcat
I think EVELAB-vm is a client linux system by ESXI or Vmware. so expend it then must be rebuild the disk partition and expend file system. :roll:

Re: Let me teach you how to expend evelab-vm harddisk

Posted: Sun Mar 26, 2017 9:00 pm
by Uldis (UD)
Dangerous post post for people who are not familiar with Linux.
Better use our advice adding new HDD to EVE VM, safe and quick

best how to expand option is here:
http://www.eve-ng.net/index.php/documen ... -on-eve-vm