[PVE-User] feature request - automatically add all iSCSI targets which were discovered

Tomasz Chmielewski mangoo at wpkg.org
Sat Oct 24 11:09:23 CEST 2009

Dietmar Maurer wrote:
>> With lots of targets running on a single SAN, it is problematic to add
>> them all in Proxmox VE 1.4 interface - as you'd have to add each and
>> every one manually. With 40 targets or so, it's just unreasonable.
> Why the hell do you want to use 40 different iSCSI targets?

Because that's the most flexible and reliable way to manage targets in a 
multi-SAN and multi-initiator setup.

Say, you have a SAN machine with LVM as a "backend" for iSCSI targets 
(for guests).
Exporting each logical volume as a separate target lets you to:

- add new targets as you wish - on initiators, you just "rediscover",

- resize the targets as you wish - on initiators, you just have to 
disconnect one target (the one which is about to be resized), and 
connect it again,

- you can kill unneeded targets as you wish.

If you export lots of logical volumes for guests as one target with 
multiple LUNs, doing anything above (resize, add, remove target) 
basically requires killing all guests.

Tomasz Chmielewski

More information about the pve-user mailing list