[TUTORIAL] ZFS over ISCSI mit Proxmox als Server

fireon

Distinguished Member
Oct 25, 2010
4,121
388
153
41
Austria/Graz
iteas.at
Lieber fireon ,

ich versuche deine Anleitung mit proxmox 8.1 .

Im Prinzip funktioniert alles. Ich kann den Storage auch einbinden aber beim moven oder erstellen von Disks auf den iscsi storage bricht Proxmox ab mit "TASK ERROR: storage migration failed: Could not open /dev/qnap-zfs/iscsi/vm-128-disk-1"

Die Disk werden aber scheinbar angelegt auf dem Ziel Storage:

1701295202701.png


zfs: iscsi-zfs
blocksize 4k
iscsiprovider LIO
pool qnap-zfs/iscsi
portal 192.168.100.170
target iqn.2003-01.org.linux-iscsi.qnappve.x8664:sn.e4ac9452671d
content images
lio_tpg tpg1
nowritecache 1
sparse 1

/> ls
o- / ......................................................................................................................... [...]
o- backstores .............................................................................................................. [...]
| o- block .................................................................................................. [Storage Objects: 0]
| o- fileio ................................................................................................. [Storage Objects: 0]
| o- pscsi .................................................................................................. [Storage Objects: 0]
| o- ramdisk ................................................................................................ [Storage Objects: 0]
o- iscsi ............................................................................................................ [Targets: 1]
| o- iqn.2003-01.org.linux-iscsi.qnappve.x8664:sn.e4ac9452671d ......................................................... [TPGs: 1]
| o- tpg1 ............................................................................................... [no-gen-acls, no-auth]
| o- acls .......................................................................................................... [ACLs: 5]
| | o- iqn.1993-08.org.debian:01:29cf4db0adab ............................................................... [Mapped LUNs: 0]
| | o- iqn.1993-08.org.debian:01:7aa6c076a5cd ............................................................... [Mapped LUNs: 0]
| | o- iqn.1993-08.org.debian:01:a0a344f0dc1e ............................................................... [Mapped LUNs: 0]
| | o- iqn.1993-08.org.debian:01:b2fe90eab097 ............................................................... [Mapped LUNs: 0]
| | o- iqn.1993-08.org.debian:01:dd39128ad8d0 ............................................................... [Mapped LUNs: 0]
| o- luns .......................................................................................................... [LUNs: 0]
| o- portals .................................................................................................... [Portals: 1]
| o- 0.0.0.0:3260 ..................................................................................................... [OK]
o- loopback ......................................................................................................... [Targets: 0]
o- vhost ............................................................................................................ [Targets: 0]
o- xen-pvscsi ....................................................................................................... [Targets: 0]
/>


hast du mir netterweise eine Idee ?
 
Nun ich denke, wenn man auf etwas zugreifen will, dann müssen die Rechte dazu vorhanden sein.
Ich kann aus meinem lesenden Zustand den Gedanken nicht beantworten.
 
also die Acl am iscsi sind eignetlich korrekt gesetzt.

um das außzuschließen haben ich noch mit "set attribute demo_mode_write_protect=0" eigentlich alles erlaubt.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!