About Esxi disk

Moderator: mike

Post Reply
gavin
Posts: 6
Joined: Fri Jul 19, 2019 1:34 am

About Esxi disk

Post by gavin » Thu Jul 25, 2019 6:39 am

Hi everybody:
There is a problem about esxi 6.5 and esxi 6.7 disk. When I create a esxi and login in it web console, I can't see any storage in my esxi storage page.
I have created the qcow2 file as esxi disks, just like following:
ls -l
total 505944
-rw-r--r-- 1 root root 30 Jul 25 11:22 esxi6.7.txt
-rw-r--r-- 1 root root 517537792 Jul 25 11:09 hda.qcow2
-rw-r--r-- 1 root root 198656 Jul 25 11:09 hdb.qcow2
-rw-r--r-- 1 root root 198656 Jul 25 13:28 hdc.qcow2
-rw-r--r-- 1 root root 198656 Jul 25 13:28 hdd.qcow2

So it is situation at esxi6.5, I don't know what should i do to use the esxi datastore.
I don't know if it maybe a problem of qemu options mismatch. template file shows this:
type: qemu
name: esxi
cpulimit: 1
icon: ESXi.png
cpu: 2
ram: 4096
ethernet: 4
console: vnc
shutdown: 1
qemu_arch: x86_64
qemu_options: -machine pc,accel=kvm -serial none -nographic -nodefconfig -nodefaults
-display none -vga std -rtc base=utc -cpu host


anyone can help me . I will thank you very mush.

BR/Gavin

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

Re: About Esxi disk

Post by Uldis (UD) » Thu Jul 25, 2019 6:48 am

you have to create disks, which you actually did and it is fine.
Then next step is start esxi login it in, and simply add storage, now esxi will see those disks.
It is like in real life, after addingf HW HDD, you must join it in esxi over gui.
Add storage..
BTW RAM for esxi node is too short, make it 8Gb at least

gavin
Posts: 6
Joined: Fri Jul 19, 2019 1:34 am

Re: About Esxi disk

Post by gavin » Thu Jul 25, 2019 6:58 am

Thx first.I can guarantee it that i really tried to add, but it has nothing. when I saw your supporting, I try it again, It appears. Incrediblely.

Thank your very mush. :lol: :lol: :lol: :lol: :lol: :lol: :lol:



I have another question about linux I custom it . How to extend it disk. I try to craete another qemu disk, but it will not work. Can't find the disk I added by this command:
ls /dev/vd*
only /dev/vda , not /dev/vdb.

BR

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

Re: About Esxi disk

Post by Uldis (UD) » Thu Jul 25, 2019 10:08 am

I warmly do not recommend make such expand activities on EVE's HDDs, it will end with eve crash only.
on other nodes hdd etc, you can do as you like..
qemu hda expand is:
go to image location example: cd /opt/unetlab/addons/qemu/esxi-xxx

qemu-img resize hda.qcow2 +15GB

like that

Post Reply