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!
The Forum admin limited pictrue upload rights it is no good !
Let me teach you how to expend evelab-vm harddisk
Moderator: mike
-
- Posts: 6
- Joined: Sat Mar 25, 2017 12:35 pm
Let me teach you how to expend evelab-vm harddisk
You do not have the required permissions to view the files attached to this post.
-
- Posts: 135
- Joined: Wed Mar 15, 2017 3:30 pm
Re: Let me teach you how to expend evelab-vm harddisk
or just add another HDD with whatever space you want/need, reboot and you are done.
What is faster?
What is faster?
-
- Posts: 6
- Joined: Sat Mar 25, 2017 12:35 pm
Re: Let me teach you how to expend evelab-vm harddisk
You mean this evelab system can auto add space on primary parttion (this path :/unetlab/addones/) when you expend the virtual disk ?
-
- Posts: 6
- Joined: Sat Mar 25, 2017 12:35 pm
Re: Let me teach you how to expend evelab-vm harddisk
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.
-
- Posts: 5083
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Let me teach you how to expend evelab-vm harddisk
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
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