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

Christian Iversen chrivers at iversen-net.dk
Thu Feb 25 12:07:54 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-24 14:28, 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?

Write a new udev rule?

Why is your name so long? What's this 
"0-8a0906-9f4e88005-913000000484b842"-part? Some sort of ID?

Our devices look like

ip-10.0.0.120:3260-iscsi-iqn.2009-09.org.sikkerhed:sikkerhedorg-
disks-lun-5

Which easily fits under 128 chars. Maybe you can research why your names 
are longer?

-- 
Med venlig hilsen
Christian Iversen



More information about the drbd-user mailing list