And
This area is @phillxnet’s expertise but I’ll try to answer to the best of my knowledge.
Rockstor relies on what the kernel sees and thus on what the disk firmware reports to the kernel. This applies to bare metal disks but also to virtualized drives as they should follow a similar logic. To track the disks, Rockstor uses their serial number as it is an intended unique identifier (in some cases such as USB enclosures with “peculiar” controllers, we sometimes see some funky behavior but there are some workarounds at times). To get this serial number, we use lsblk
, which means that if you want to know how they appear in your VM, you can run the following:
lsblk -P -p -o NAME,MODEL,SERIAL,SIZE,TRAN,VENDOR,HCTL,TYPE,FSTYPE,LABEL,UUID
If the serial is not showing up as unique here, then it likely means that additional configuration is needed on your hypervisor end. In the docs to which I linked above, you can see that VMWare requires some additional settings, for instance.
If you’re interested, I encourage you to have a read on this forum about Rockstor as a VM; threads such as the one below should be very informative and much more accurate than what I could detail: