[DRBD-user] backing_dev length value limited to 128 bytes

Christian Iversen chrivers at iversen-net.dk
Thu Feb 25 12:10:40 CET 2010

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On 2010-02-25 10:21, Andreas Kurz wrote:
> On Wednesday 24 February 2010 14:28:38 Alexander Winkler wrote:
>> Hello,
>>
>> I am curious if it would be possible (perhaps in a future version) to
>> increase the max length for the backing_dev name to more than 128 bytes
>> (maybe 255 bytes?)? In my current setup there are iscsi-targets whose
>> names are generated by udev in the following manner, therefore
>> exceeding the length-limitation:
>>
>> /dev/disk/by-path/ip-x.x.x.x:3260-iscsi-iqn.2001-05.com.equallogic:0-8a0906
>> -9f4e88005-913000000484b842-xxx-sda-lun-0
>>
>> If this is not possible, any thoughts on how to circumvent this
>> problem?
> 
> use /dev/disk/by-id/ paths in your config

But by-id paths look non-sensical with iSCSI. For instance, they could be

/dev/disk/by-id/scsi-1494554000000000000000000030000005f4100000d000000

where the by-path name is very descriptive:

/dev/disk/by-path/ip-10.0.0.120:3260-iscsi-iqn.2009-09.org.sikkerhed:sikkerhedorg-swap-lun-10

In fact, how is it even possible to determine what disk
you need when using by-id paths? I don't know one.

-- 
Med venlig hilsen
Christian Iversen



More information about the drbd-user mailing list