Disk id (122) does not exist.

[Please complete the below template with details of the problem reported on your Web-UI. Be as detailed as possible. Community members, including developers, shall try and help. Thanks for your time in reporting this issue! We recommend purchasing commercial support for expedited support directly from the developers.]

Brief description of the problem

SSDs with mixed filesystems are causing unsupported and not found errors.

Detailed step by step instructions to reproduce the problem

Pre-Used SSDs with partitions with fat and BTRFS used.
Bootup is from USB Stick,

Web-UI screenshot

[Drag and drop the image here]


Error Traceback provided on the Web-UI

Traceback (most recent call last): File "/opt/rockstor/src/rockstor/storageadmin/views/disk_smart.py", line 56, in _validate_disk return Disk.objects.get(id=did) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/rockstor/.venv/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/rockstor/.venv/lib/python3.11/site-packages/django/db/models/query.py", line 637, in get raise self.model.DoesNotExist( storageadmin.models.disk.Disk.DoesNotExist: Disk matching query does not exist.

So you installed Rockstor on a USB stick and boot it from there. But then you also have:

How many SSDs, which models and capacities?

How are they partitioned? MBR/GPT? Order and sizes?

What filesystem on which partition?

I can see some of that from the screenshots provided, but is that all there is? Or are there disks, partitions or filesystems Rockstor didn’t detect.

@h0ysala welcome to the Rockstor community.

Additionally, in the documentation it is recommended to wipe the disks before re-using them for Rockstor, especially if they have various partitions set up (similar to @tachikoma’s questions). See also

https://rockstor.com/docs/installation/pre-install-howto.html#wiping-disks

How are the SSDs connected to the Rockstor instance? If using certain enclosures that don’t provide a unique serial ID per drive, Rockstor will not recognize them correctly, as it relies heavily on the unique identifiers. You can find a few posts on this forum of such scenarios.

2 Likes