Hi,
I just set up my OMV5 on the Raspi4 with two disks. Since I had to unplug and replug them several times, it seems that they got assigned new drive letters.
The drive labeled "Filme" was on /sda once, and has now been assigned to /sdc. This has already been shared, but by Label.
The second drive labeled "Serien" has been assigned to /sde. I tried to configure a shared folder for this drive, but failed with the following error:
Code
Fehler #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; blkid -p -o full '/dev/sda1' 2>&1' with exit code '2': blkid: error: /dev/sda1: No such file or directory in /usr/share/php/openmediavault/system/process.inc:182
Stack trace:
#0 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(116): OMV\System\Process->execute(Array)
#1 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(780): OMV\System\Filesystem\Filesystem->getData()
#2 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(99): OMV\System\Filesystem\Filesystem->getDescription()
#3 [internal function]: Engined\Rpc\ShareMgmt->getCandidates(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#5 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getCandidates', Array, Array)
#6 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('ShareMgmt', 'getCandidates', Array, Array, 1)
#7 {main}
Alles anzeigen
How do I fix it? It seems that /sda is linked somewhere, but not found anymore... Can I manually rewrite in a specific file or maybe even manually change the drive letters for the drives? Also, why did they change in the first place, and how do I prevent that from happening?