[DRBD-user] Token too long error during DRBD setup

Philipp Marek philipp.marek at linbit.com
Sun Nov 15 10:23:43 CET 2015

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


> I would like to ask you about my issue during DRBD installation.
> 
> I´m running DRBD in IBM x3650 server. Raid 1 with 2 SATA hard disks.
The exact DRBD version would be more helpful than the hardware data ;)

> The problem is that my storage full path has 101 characters and I get this
> error.
> 
>  
> 
> 1048576 bytes (1.0 MB) copied, 0.00103793 seconds, 1.0 GB/s
> /etc/drbd.conf:12: Token too long >>>/dev/mapper/XSLocalE...<<<
> Starting DRBD resources:
> /etc/drbd.conf:12: Token too long >>>/dev/mapper/XSLocalE...<<<
> .
> Synchronizing storage with peer/slave host/etc/drbd.conf:12: Token too long
> >>>/dev/mapper/XSLocalE...<<<
> 
>  
> 
> Is there any way to extend the max characters allowed?
Yes, by recompiling.


A workaround might be to enclose the device path in quotes, ie. 
"/dev/mapper...".



More information about the drbd-user mailing list