Hello,
is it possible to prepare a Ramdisk (tmpfs/ramfs) for a KVM guest to have direct access on it - even if its not a block device?
I want to have something like a local shared Ramdisk for all VMs where plain data (where fast access is needed) can be stored temporarily.
I can passthrough a normal Disk or Partition in the vm conf with "virtio0: /disk/by/.../sdxx"? Any suggestion how I can/should do this for a Ramdisk, or is it not possible? Hope you know what I mean. I dont want to assign like 128GB RAM to a single VM and share this via NFS/CIF, because in case of a Backup the whole Ramdisk will get backed up as well.
Thx,
Kind Regards
ekin
is it possible to prepare a Ramdisk (tmpfs/ramfs) for a KVM guest to have direct access on it - even if its not a block device?
I want to have something like a local shared Ramdisk for all VMs where plain data (where fast access is needed) can be stored temporarily.
I can passthrough a normal Disk or Partition in the vm conf with "virtio0: /disk/by/.../sdxx"? Any suggestion how I can/should do this for a Ramdisk, or is it not possible? Hope you know what I mean. I dont want to assign like 128GB RAM to a single VM and share this via NFS/CIF, because in case of a Backup the whole Ramdisk will get backed up as well.
Thx,
Kind Regards
ekin
Last edited: