Let me teach you how to expend evelab-vm harddisk

Moderator: mike

Locked
djcat
Posts: 6
Joined: Sat Mar 25, 2017 12:35 pm

Let me teach you how to expend evelab-vm harddisk

Post by djcat » Sun Mar 26, 2017 4:56 pm

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 !
You do not have the required permissions to view the files attached to this post.

mike
Posts: 135
Joined: Wed Mar 15, 2017 3:30 pm

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

Post by mike » Sun Mar 26, 2017 5:30 pm

or just add another HDD with whatever space you want/need, reboot and you are done.

What is faster? :)

djcat
Posts: 6
Joined: Sat Mar 25, 2017 12:35 pm

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

Post by djcat » Sun Mar 26, 2017 8:07 pm

You mean this evelab system can auto add space on primary parttion (this path :/unetlab/addones/) when you expend the virtual disk ? :oops:

djcat
Posts: 6
Joined: Sat Mar 25, 2017 12:35 pm

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

Post by djcat » Sun Mar 26, 2017 8:19 pm

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:

Uldis (UD)
Posts: 5081
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

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

Post by Uldis (UD) » Sun Mar 26, 2017 9:00 pm

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

Locked