C CAHEKs Member Nov 2, 2017 13 2 23 36 Nov 30, 2020 #1 I try to connect LUN from QNAP storage using no auth iscsi, but have error. What this mean? PVE 6-3-2
I try to connect LUN from QNAP storage using no auth iscsi, but have error. What this mean? PVE 6-3-2
dcsapak Proxmox Staff Member Staff member Feb 1, 2016 10,202 1,492 273 36 Vienna Dec 1, 2020 #2 yes, it seems that is a bug, would you like to open one on https://bugzilla.proxmox.com ? edit: for now you should be able to add that storage directly with 'pvesm add' (see man pvesm) Last edited: Dec 1, 2020
yes, it seems that is a bug, would you like to open one on https://bugzilla.proxmox.com ? edit: for now you should be able to add that storage directly with 'pvesm add' (see man pvesm)
C CAHEKs Member Nov 2, 2017 13 2 23 36 Dec 2, 2020 #3 dcsapak said: yes, it seems that is a bug, would you like to open one on https://bugzilla.proxmox.com ? edit: for now you should be able to add that storage directly with 'pvesm add' (see man pvesm) Click to expand... I try add iscsi: mynas to file /etc/pve/storage.cfg but it not working (status unknown) But if I write iscsidirect: mynas It works! Same works manual connecting: iscsiadm -m node -l -T iqn.2011-09.example:data
dcsapak said: yes, it seems that is a bug, would you like to open one on https://bugzilla.proxmox.com ? edit: for now you should be able to add that storage directly with 'pvesm add' (see man pvesm) Click to expand... I try add iscsi: mynas to file /etc/pve/storage.cfg but it not working (status unknown) But if I write iscsidirect: mynas It works! Same works manual connecting: iscsiadm -m node -l -T iqn.2011-09.example:data
B Bruno SINOU Active Member Dec 19, 2018 7 0 41 46 Berlin sinou.org Dec 4, 2020 #4 Hello, I ran into the same problem while trying to add a new iscsi storage to my cluster after upgrading to 6.3.2. I found the command to add a new storage via CLI: Code: # Retrieve target pvesm scan <PortalHostName> # Add storage pvesm add iscsi <youriD> --portal <PortalHostName> --target <target name> But i do not find the option that correspond to the check box "Use LUNs directly" that I want to uncheck. First creating the storage and trying to edit it via the gui also throw ugly error: update storage failed: error during cfs-locked 'file-storage_cfg' operation: no such option 'prune-backups' (500) Any hint for the magic flag / command that would do the trick would be greatly appreciated ? Thanks in advance
Hello, I ran into the same problem while trying to add a new iscsi storage to my cluster after upgrading to 6.3.2. I found the command to add a new storage via CLI: Code: # Retrieve target pvesm scan <PortalHostName> # Add storage pvesm add iscsi <youriD> --portal <PortalHostName> --target <target name> But i do not find the option that correspond to the check box "Use LUNs directly" that I want to uncheck. First creating the storage and trying to edit it via the gui also throw ugly error: update storage failed: error during cfs-locked 'file-storage_cfg' operation: no such option 'prune-backups' (500) Any hint for the magic flag / command that would do the trick would be greatly appreciated ? Thanks in advance
B Bruno SINOU Active Member Dec 19, 2018 7 0 41 46 Berlin sinou.org Dec 4, 2020 #5 If it might help someone: Code: pvesm add iscsi <youriD> --portal <PortalHostName> --target <target name> --content none You can then simply create your volume group: Code: # Retrieve mounted path lsblk # Create physical volume and corresponding volume group pvcreate /dev/sdb vgcreate sandisk /dev/sdb
If it might help someone: Code: pvesm add iscsi <youriD> --portal <PortalHostName> --target <target name> --content none You can then simply create your volume group: Code: # Retrieve mounted path lsblk # Create physical volume and corresponding volume group pvcreate /dev/sdb vgcreate sandisk /dev/sdb