Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PVE LXC "Device '/dev/dm-0' does not exist." problem #944

Closed
bestlong opened this issue Jan 21, 2021 · 1 comment · Fixed by #947
Closed

PVE LXC "Device '/dev/dm-0' does not exist." problem #944

bestlong opened this issue Jan 21, 2021 · 1 comment · Fixed by #947

Comments

@bestlong
Copy link

Describe the bug

Install step like OpenMediaVault installation in LXC with attached HW block device

use Proxmox VE 6.3-2, and CT Template debian-10-standard_10.5-1_amd64.tar.gz

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Storage > File Systems'
  2. Click on '+Create'
  3. See error

Screenshots

2021-01-19 16_33_40-openmediavault control panel - omv cendai com tw

2021-01-21 11_07_42-pve-t - Proxmox Virtual Environment

2021-01-21 11_15_11-pve-t - Proxmox Virtual Environment

2021-01-21 11_19_24-pve-t - Proxmox Console

openmediavault Server (please complete the following information):

  • OS version: Linux omv 5.4.73-1-pve Prevent fatal error in autoloader #1 SMP PVE 5.4.73-1 (Mon, 16 Nov 2020 10:52:16 +0100) x86_64 GNU/Linux
  • openmediavault version: [dpkg -l | grep openmediavault]
ii  openmediavault                  5.5.23-1                            all          openmediavault - The open network attached storage solution
ii  openmediavault-keyring          1.0                                 all          GnuPG archive keys of the OpenMediaVault archive
ii  openmediavault-omvextrasorg     5.4.4                               all          OMV-Extras.org Package Repositories for OpenMediaVault

Additional context

Error detail:

Error #0:
OMV\Exception: Device '/dev/dm-0' does not exist. in /usr/share/php/openmediavault/system/blockdevice.inc:94
Stack trace:
#0 /usr/share/php/openmediavault/system/blockdevice.inc(244): OMV\System\BlockDevice->getCanonicalDeviceFile()
#1 /usr/share/php/openmediavault/system/storage/storagedevicedm.inc(39): OMV\System\BlockDevice->getDeviceName(true)
#2 /usr/share/php/openmediavault/system/storage/backend/dm.inc(62): OMV\System\Storage\StorageDeviceDM->getDeviceMapperSubsystem()
#3 /usr/share/php/openmediavault/system/storage/backend/dm.inc(45): OMV\System\Storage\Backend\DM->getImpl('/dev/dm-0')
#4 /usr/share/php/openmediavault/system/storage/storagedevice.inc(283): OMV\System\Storage\Backend\DM->enumerateSlaves()
#5 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(489): OMV\System\Storage\StorageDevice::enumerateUnused()
#6 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->getCandidates(Array, Array)
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('getCandidates', Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusfb...', '/tmp/bgoutputjf...')
#10 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#11 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(537): OMV\Rpc\ServiceAbstract->callMethodBg('getCandidates', Array, Array)
#12 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->getCandidatesBg(Array, Array)
#13 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#14 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getCandidatesBg', Array, Array)
#15 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('FileSystemMgmt', 'getCandidatesBg', Array, Array, 1)
#16 {main}
votdev added a commit to votdev/openmediavault that referenced this issue Jan 22, 2021
… in LXC

Fixes: openmediavault#944
Signed-off-by: Volker Theile <votdev@gmx.de>
votdev added a commit that referenced this issue Jan 22, 2021
Fixes: #944
Signed-off-by: Volker Theile <votdev@gmx.de>
(cherry picked from commit e4079e0)
@jkaberg
Copy link

jkaberg commented Sep 17, 2021

Hi @votdev, made an post over at the forums on an similar issue. Is that a new issue or the same as this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants