Proxmox's FreeBSD istgt information is outdated

aragon

New Member
Feb 13, 2014
2
0
1
Hi,

The wiki page at:

http://pve.proxmox.com/wiki/Storage:_ZFS

Contains outdated information regarding FreeBSD's iSCSI target implementation (istgt). Specifically it has reload support that was fixed a few years ago AFAIK.

So reloading configuration is a matter of:

Code:
service istgt reload

Example log entries of two reloads:

Code:
Apr  2 15:47:38 <daemon.notice> cstor1 istgt[29722]: reload configuration #1
Apr  2 15:47:38 <daemon.notice> cstor1 istgt[29722]: delete LU1: Name=iqn.2005-10.com.zapop:cstor1:empty
Apr  2 15:48:11 <daemon.notice> cstor1 istgt[29722]: reload configuration #2
Apr  2 15:48:11 <daemon.notice> cstor1 istgt[29722]: add LU1: Name=iqn.2005-10.com.zapop:cstor1:empty

I'm wondering now how to make Proxmox's storage API take advantage of these facts?


Thanks,
Aragon
 
Last edited:
If LU has active connections, then reload (SIGHUP) does not work:
Code:
Jun  1 12:53:45 storage istgt[91704]: reload configuration #1
Jun  1 12:53:45 storage istgt[91704]: istgt_lu.c:2375:istgt_lu_reload_update: ***ERROR*** update active LU1: Name=iqn.2012-06.ru.chics.oc.storage:target0, # of TSIH=9
 
when FreeBSD 10.1 is released and Proxmox has libiscsi-1.12 I will look into it. It will require writing a new helper module for the new native iSCSI implementation in FBSD 10.
 

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!