[DRBD-user] /dev/drbd/by-res/ and /dev/drbd/by-disk not cleared

Mathieu Gagné mgagne at iweb.com
Mon Aug 30 16:58:51 CEST 2010

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


We are having issues with symbolic links in /dev/drbd/by-res/ and 
/dev/drbd/by-disk not being cleared after a resource is 

The issue was claimed to be fixed with 8.3.1rc2:

Unfortunately, the issue is not fixed and can still be reproduced.

We are using DRBD 8.3.7 but used the latest version of 
scripts/drbd.rules from git.

According to git log, this file has not changed for +15 months:

The issue can be reproduced with those steps:
1) create a new standalone resource resname (add it to drbd.conf)
2) drbdadm create-md resname
3) drbdadm attach resname
4) drbdadm -- -o primary resname
5) drbdadm down resname

1) Both symbolic links in /dev/drbd/by-res/ and /dev/drbd/by-disk still 

Expected results:
1) Both symbolic links should be gone.

Please let me know if you need more information.



More information about the drbd-user mailing list