While trying to scan disks in the WebUI on a freshly installed Rockstor on a VM in ESXi, the following error traceback is being presented and no disks are shown.
I looked sda3 up with parted and it is a btrfs filesystem.
Detailed step by step instructions to reproduce the problem
The by-id device link doesn’t exist as you have likely not met the minimum system requirements:
Docs - Quick Start - Minimum system requirements (which is the first section):
All drives must have unique serial numbers (real drives do); not all VM [*] systems default to this.
and it also offers a fix for VMware:
For VMware ensure you have disk.EnableUUID=“true” in your .vmx file
This is most likely you issue. The
Will not surfice. If you cannot assign or surface a unique serial for each and every device then your hyper visor setup is not compatible with Rockstor. All real devices have serial numbers and Rockstor depends on them as it depends on the by-id names and they, in-turn, are generated by udev which in-turn needs those serials. KVM and VMware can generate these serials.
Hope that helps. And you should remove that symlink as it will come back to haunt you and massively confuse Rockstor as it is very strongly dependant on by-id names.
So that’s very strange. As I’ve only seen that as a cause for this issue. We depend on the by-id names, as stated and they are usually missing with no serial, which VMware defaults to. Hence the suggestion. So now I’ve no idea currently why you are not getting these by-id names.
It may be helpful to see the output of the following within your particular config as we have many folks use VMware successfully once that setting is in place:
ls -la /dev/disk/by-id/
All your drives and their respective partitions should be represented.
Incidentally in our next release we offer warnings about this missing serial, but that wont be out until we release our next ISO which wont be based on CentOS but openSUSE Leap15.1 so all change in the near future. Just so you know as this serial issue comes up very often but I’ve yet to see a non serial issue in VMware not be sorted by that setting. What is your configuration such that there is no serial. Are you maybe ‘passing’ real drives through or the like, as that may account for the serial loss, or the missing by-id names at least.
Also, out of curiosity, what version of Rockstor are you evaluating?
Hope that helps and yes Rockstor was always intended to be on bare metal, given our linux base I see one of our strengths as hardware compatibility, at least once we get our openSUSE move sorted.
@coronic Thanks for the update, that’s really helpful.
Yes our ISO is now a little over 2.5 years old as of writing this.
I now think what has happened, in your case, is an upstream update (from the RedHat/CentOS folks) to libblk or udev has sorted your issue and so the Rockstor code was then able to pickup the now existing by-id names. Good to know. We have seen this with for example nvme devices.
And although newer our now deceased for CentOS Testing channel is only 3 month younger at still over 2 years out of date:
3.9.2 Stable Channel update was the same as 3.9.1-16 testing channel for our CentOS based offering. Please see the following forum thread for some background on this:
Where as our latest Stable channel release for CentOS (and openSUSE only Testing Channel releases) are now 8 days old as of writing with 3.9.2-53.
And for our modern testing channel releases, our “Built on openSUSE” variant, see the following thread:
We are currently aiming to achieve feature parity in our openSUSE testing channel, or near enough, before we establish a new ‘Built on openSUSE’ Stable Channel and spin off the new openSUSE only testing channel to address our fairly massive technical debt so that our current supporters in the CentOS Stable channel will have a workable system to transition to, with upstream kernel/btrfs updates / boot to snapshot etc, while we get on with working through our backlog of moving to Python 3, Django 2, possibly a new build system etc within the testing channel.
Note that if you do fancy evaluating our most recent code, on the current CentOS base, then you should first read the following post which addresses a critical bug when moving to Stable channel updates from the now defunct for CentOS base Testing channel:
Hope that helps and thanks again for sharing your findings, much appreciated.