On a new proxmox install targetcli seems not to work anymore as it should. When making blocks in blockstore, i receive 'Could not create _Backstore in configFS'. On certain commands it even crashes:
Traceback (most recent call last):
File "/usr/bin/targetcli", line 121, in <module>
main()
File "/usr/bin/targetcli", line 111, in main
shell.run_interactive()
File "/usr/lib/python3/dist-packages/configshell_fb/shell.py", line 894, in run_interactive
self._cli_loop()
File "/usr/lib/python3/dist-packages/configshell_fb/shell.py", line 723, in _cli_loop
self.run_cmdline(cmdline)
File "/usr/lib/python3/dist-packages/configshell_fb/shell.py", line 837, in run_cmdline
self._execute_command(path, command, pparams, kparams)
File "/usr/lib/python3/dist-packages/configshell_fb/shell.py", line 812, in _execute_command
result = target.execute_command(command, pparams, kparams)
File "/usr/lib/python3/dist-packages/configshell_fb/node.py", line 1406, in execute_command
return method(*pparams, **kparams)
File "/usr/lib/python3/dist-packages/targetcli/ui_backstore.py", line 169, in ui_command_delete
child.rtsnode.delete()
File "/usr/lib/python3/dist-packages/rtslib_fb/tcm.py", line 237, in delete
super(StorageObject, self).delete()
File "/usr/lib/python3/dist-packages/rtslib_fb/node.py", line 202, in delete
os.rmdir(self.path)
OSError: [Errno 30] Read-only file system: '/sys/kernel/config/target/core/iblock_0/...'
Strange thing is, on another proxmox server, with the same version of the package targetcli-fb, everything works fine.
This 2nd proxmox server however runs on a single ssd, and the iscsi targets are made on an external zfs raid5. The first proxmox server run on a zfs raid1 (2xssd), but the problems occur there always, on the rpool zfs raid1 and other zfs systems.
Anyone any idea?
Thanks in advance!
* update: it is possible to do whatever i need with targetcli direct after booting proxmox, before all the containers and vm's have booted. Once booted completely, mentioned problems are there.
Traceback (most recent call last):
File "/usr/bin/targetcli", line 121, in <module>
main()
File "/usr/bin/targetcli", line 111, in main
shell.run_interactive()
File "/usr/lib/python3/dist-packages/configshell_fb/shell.py", line 894, in run_interactive
self._cli_loop()
File "/usr/lib/python3/dist-packages/configshell_fb/shell.py", line 723, in _cli_loop
self.run_cmdline(cmdline)
File "/usr/lib/python3/dist-packages/configshell_fb/shell.py", line 837, in run_cmdline
self._execute_command(path, command, pparams, kparams)
File "/usr/lib/python3/dist-packages/configshell_fb/shell.py", line 812, in _execute_command
result = target.execute_command(command, pparams, kparams)
File "/usr/lib/python3/dist-packages/configshell_fb/node.py", line 1406, in execute_command
return method(*pparams, **kparams)
File "/usr/lib/python3/dist-packages/targetcli/ui_backstore.py", line 169, in ui_command_delete
child.rtsnode.delete()
File "/usr/lib/python3/dist-packages/rtslib_fb/tcm.py", line 237, in delete
super(StorageObject, self).delete()
File "/usr/lib/python3/dist-packages/rtslib_fb/node.py", line 202, in delete
os.rmdir(self.path)
OSError: [Errno 30] Read-only file system: '/sys/kernel/config/target/core/iblock_0/...'
Strange thing is, on another proxmox server, with the same version of the package targetcli-fb, everything works fine.
This 2nd proxmox server however runs on a single ssd, and the iscsi targets are made on an external zfs raid5. The first proxmox server run on a zfs raid1 (2xssd), but the problems occur there always, on the rpool zfs raid1 and other zfs systems.
Anyone any idea?
Thanks in advance!
* update: it is possible to do whatever i need with targetcli direct after booting proxmox, before all the containers and vm's have booted. Once booted completely, mentioned problems are there.
Last edited: