-
phma
papertigers: not sure yet. Maybe Adélie Linux or DragonFly BSD.
-
wonko
If I run Plex in a branded zone will it have access to the iGPU for transcode?
-
sjorge
wonko: no
-
wonko
Damn. There go my plans to run SmartOS. Thanks!
-
sjorge
you could probably use pci passthru to get it into a bhyve vm
-
wonko
I don't think you can though because it will be attached to smartos. Unless I can get smartos to blacklist it and use a serial console (if I can even get one on that thing).
-
bahamat
wonko: SmartOS has the serial console enabled by default. You can disable it after boot, but there's no way to completely disable it. It will boot up active every time.
-
wonko
Oh, so there's no way to mask it like with vfio on Linux? (Not that iGPUs typically play nice with that anyway)
-
papertigers
wonko: yes, thats what pci passthru is. If you have intel hardware you should be able to pass through something like a graphics card
-
papertigers
however we don't currently have ppt on AMD chipsets
-
papertigers
-
papertigers
-
papertigers
two examples
-
papertigers
the smartos specific guide might require a bit of tweaking as its a bit dated
-
wonko
This is Intel but it's an iGPU so I'm not sure how well that'll work.
-
wonko
I mean, I guess I can try and see what happens.
-
Smithx10
Can I use qcow2 image with bhyve?
-
bahamat
you might be able to run zhyve manually, but if you want an image that you can use for an instance it needs to be a zvol.
-
bahamat
You can use /smartdc/bin/qemu-img to convert qcow2 to raw, then dd that to a zvol.
-
Smithx10
yea, im trying to just get this nvidia netq kvm qcow2 image to load up
-
Smithx10
ALERT! UUID=3756934c-31d3-413c-8df9-5b7c7b1a4451 does not exist. Dropping to a shell!
-
Smithx10
i qemu-img convert'd it to raw
-
Smithx10
but then qemu-image --shrink the raw image to 20gb
-
Smithx10
im wondering if it cut off the backed of the image
-
Smithx10
qemu-img convert to raw made it the virtualsize of the image .... which is 256gb :(
-
Smithx10
Guess i should tar.gz it and scp it over
-
Smithx10
will zfs compress it down or write out the 256gb?
-
papertigers
Smithx10: you might be able to resize the image with qemu-image before the convert
-
Smithx10
while its qcow2?
-
papertigers
I also have had to use qemu-image on linux with some newer qcow2 images
-
Smithx10
-
papertigers
I have not
-
papertigers
I have mostly converted Ubuntu and FreeBSD cloud images
-
Smithx10
just resize qcow2 down and then convert to raw
-
Smithx10
virt-sparsify has some really cool graphics
-
papertigers
thats what I would try
-
Smithx10
but now im scared
-
Smithx10
Fill free space in /dev/sda1 with zero
-
Smithx10
hope thats the imageon loop rofl
-
Smithx10
Anyway in Bhyve to set a disks UUID ?
-
Smithx10
the UUID of /dev/vda is virtio-BHYVE-6EAB-6BE7-F459 instead of 3756934c-31d3-413c-8df9-5b7c7b1a4451
-
bahamat
That...I don't know.
-
Smithx10
Ill just mount the image see if I can chagen what its looking for
-
Smithx10
papertigers: bahamat figured it out
-
Smithx10
I ended up using virt-resize, but qemu-img resize was blowing up the partition table I think
-
Smithx10
i used parted and resize2fs to shrink down the /dev/sda1 ext4 partition from 255 gb to 20gb, but after doing that and writing out the new partition table
-
Smithx10
I wasn't able to see the partitions after running qemu-img resize --shrink on the qcow2 image