[DRBD-user] re: acl support with drbd

Alexander Opitz opi at le-bit.de
Mon Oct 11 02:46:36 CEST 2004

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


Hi John
> That is correct how the acl's are handled.  However I have set up the 
> acl's to match on both machines.  Still, no matter how I setup samba, 
> ha, drbd or any of the other applications, when fail over occurs they 
> still come up as read only.

If you do a drbd failover (stoping drbd on A, make drbd on B primary, 
mount the /dev/drbd0 with xfs, starting samba) the full block device as 
before seen by A is now viewable by B. So now acl should work on B 
inside the mounted xfs directory (I hope you are using acl with xfs). I 
don't know how samba takes the acls in account. Haven't used it there, 
maybe samba have a acl cache wich isn't in same state ... maybe there is 
an error message in your log files.

> I don't know if there is something in the code with drbd or samba that 
> won't allow the acl's to come over properly.  That may be a question 
> that one of the drbd developer's can answer. Beyond that all of the 
> applications function admirably.

Every data that is savend on device 1 is copied to device 2. So try the 
setted up acls inside xfs so you will know if it is a problem of xfs or 
samba.

Greetings Alex//

PS: Please take a look at http://learn.to/quote




More information about the drbd-user mailing list