[pve-devel] [PATCH] add ide-cd, ide-hd, scsi-cd, scsi-hd, scsi-block to device syntax
dietmar at proxmox.com
Thu Dec 8 06:37:43 CET 2011
> > But they are a drawback with current config syntax, if we don't have
> > initiator on the host side, we can't list iscsi devices so and we can't have disk
Well, I think libiscsi also provides some way to list devices.
They have even a simple LD_PRELOAD library.
> > So maybe we can change config syntax from by example:
> > virtio0:
> > nexenta:0.0.1.scsi-3600144f0f62f0e0000004cd953550008,cache=none
> > to
> > virtio0: nexenta:1,cache=none (just put lunid)
> >>If you define a storage, that storage is always activated on the host.
> I was thinking of using a syntax that works for both case, if in the future we
> don't need to have storage activated on host.
We can't change the syntax of the existing storage type 'iscsi'. That type is assumed
to be available on the host (open-iscsi), and is used as base storage for LVM.
But you can simple create a new storage type (call it 'nexenta', or 'libiscsi'). Then
you can use whatever naming scheme you like. (Although I thing a LUN number
does not uniquely identify a devive.)
But how can we implement backup/restore for such storage?
More information about the pve-devel