Answer the question
In order to leave comments, you need to log in
How to forward a physical SSD to a virtual machine in XenServer 7?
Is it possible to forward a physical SSD in XenServer not as a virtual disk?
I did it according to the instructions from Habrahabr, but in this version, the SSD is seen as a "Block storage device", and because of this, TRIM does not work.
Here's what I did:
1) Create a folder for block devices:
mkdir /srv/block-devices
xe sr-create name-label="Physical drive" name-description="Physical drives to connect to VM" type=udev content-type=disk device-config:location=/srv/block-devices
ln -s /dev/nvme0n1 /srv/block-devices/nvme0n1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question