NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: iSCSI target
Chavdar Ivanov a écrit :
> On Fri, 21 Feb 2020 at 12:41, BERTRAND Joël <joel.bertrand%systella.fr@localhost> wrote:
>>
>> With
>>
>> # extent file or device start length
>> extent0 /dev/rwd0 0 32GB
>>
>> # target flags storage netmask
>> target0 rw extent0 192.168.10.103/32
>>
>> iscsid seems to run as expected. But if I want to export a second
>> target, how can I modify targets file ? I suppose I have to add
>>
>> extent1 /dev/rwd0 32GB+1sector 32GB
>
> You export raw partition device; if you want to have many targets from
> one physical disk, you split the disk in any way you can - fdisk,
> gpt/dkctl or ZFS zvols and export the raw varieties of those.
I have tried to export /dev/rwd0e to only export a slice (created by
disklabel). It doesn't work (and initiator is unable to use target). I
haven't tested with a partition created by fdisk.
JKB
Home |
Main Index |
Thread Index |
Old Index