Disabling Virtualization or changing the kvm gid for oVirt use

Some background:
I have TrueNAS scale installed on a server (version Dragonfish-24.04.2.2).
I’m planning to have this system as storage for oVirt.
Ovirt is expecting to use a user called vdsm (uid 36) and a group called kvm (gid 36).
When I tried to set that up in TrueNAS, the kvm group is already created (built-in) and using a different GID. I’ve guessing that the kvm group is there because of the Virtualization feature.

Question:

  • Can I simply change the gid of that group? I can’t do it from the gui but maybe from the linux cli. But will that break TrueNAS or will my changes be lost the next time I reboot or update the system?
  • Could I simply create a new group (say kvm2) and give it a gid of 36? Will oVirt be happy?
  • Would it be possible to remove or disable Virtualization? Does that even matter?

Thanks in advance for your help.

No

Via NFS protocol? You can just use a mapall parameter for the export and assign it to a conventionally created local user for this purpose (with UID 3000 or whatever).

1 Like

What protocol are you planning on using for oVirt - NFS or iSCSI

1 Like

Thanks for the quick reply
I was planning to use iSCSI. Although I have little to no experience with it. As I’m typing this, I’m realizing that the oVirt GID/UID assignments are for NFS. Gee, read much. lol :slight_smile:
However other storage domains in oVirt might use NFS but for the VMs it will be iSCSI.