Penta SATA hat OMV7 issues

Hi,

I’ve recently quired a Penta hat and have installed it on a Pi5 with OMV7.
(Almost) Everything is working but I can’t seem to change disk device settings like write cache.
For any drive attached via the Penta hat there is the same error (while USB connected drives seem to work fine):

Trying to change:

Results in

devicefile: The value '%2Fdev%2Fdisk%2Fby-id%2Fata-WDC_WD20SPZX-22UA7T0_WD-WXK2A2314TAX' is not a device file.
OMV\Json\SchemaValidationException: devicefile: The value '%2Fdev%2Fdisk%2Fby-id%2Fata- 
WDC_WD20SPZX-22UA7T0_WD-WXK2A2314TAX' is not a device file. in 
/usr/share/php/openmediavault/datamodel/schema.inc:53
Stack trace:
#0 /usr/share/php/openmediavault/json/schema.inc(377): OMV\DataModel\Schema->checkFormat()
#1 /usr/share/php/openmediavault/json/schema.inc(301): OMV\Json\Schema->validateString()
#2 /usr/share/php/openmediavault/json/schema.inc(635): OMV\Json\Schema->validateType()
#3 /usr/share/php/openmediavault/json/schema.inc(399): OMV\Json\Schema->checkProperties()
#4 /usr/share/php/openmediavault/json/schema.inc(289): OMV\Json\Schema->validateObject()
#5 /usr/share/php/openmediavault/json/schema.inc(261): OMV\Json\Schema->validateType()
#6 /usr/share/php/openmediavault/rpc/paramsvalidator.inc(59): OMV\Json\Schema->validate()
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(185): OMV\Rpc\ParamsValidator- >validate()
#8 /usr/share/openmediavault/engined/rpc/diskmgmt.inc(204): OMV\Rpc\ServiceAbstract>validateMethodParams()
#9 [internal function]: Engined\Rpc\DiskMgmt->setHdParm()
#10 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array()
#11 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
#12 /usr/sbin/omv-engined(544): OMV\Rpc\Rpc::call()
#13 {main}

Any ideas? Thanks!

I encountered the same error today while trying to add a new drive to my OMV system. I had upgraded to version 7.7.1-2 beforehand. Although I can install the file system, create shared folders, and read SMART data, I am unable to modify the settings for this new drive.

My system is running on Proxmox with the SATA controller passed through to the OMV VM.

It is fixed in 7.7.1-3.

I just installed 7.7.1-3 on the system, but no luck unfortunately.
I still get the same error.

OK, I cannot fathom what happened but i’ll summarize:
1 As per my previous comment: it did not work after 7.7.1-3 install (and a reboot)
2 I did a fresh install on a different SD card of 7.7.1-3 and that in that install it worked.
3 Went back to the original SD, to boot off it to check something in the previous install, tried it for the sake of it and what do you know… It worked.

Topic can be closed, though I have NO idea what fixed it in the end.

It is possible that you needed to refresh browser with CTRL+F5 (clear cache).