Alvaro Gomez Folgado wrote:
Heya mates!
....... I installed the "quota" and "quotatool" packages without issues on my servers,
then i recently installed drbd and it's working very fine.

This is your problem. If you wont quota working with drdb, your filesystem must be one on /dev/drbdx, not on the underlying device.

In my case I have

/dev/drbd0 over /dev/md0 over (/dev/sda1 and /dev/sdb1) on each node.
and I've ran mkfs on /dev/drbd0 before activating the quotas.

So:

1) backup your datas
2) stop drbd on the 2 nodes
3) format the /dev/drdbx filesystem on one node
4) mount /dev/drbdx, restore your datas, umont /dev/drbdx
5) restart drdb on this node, set it as primary and mount your filesystem /dev/drbdx 6) restart drdb on the second node as secondary and then set it as invalid to force a complete rewrite of the secondary node

It works fine for me and my quota are working now.

Patrick
--
===============================================================
|  Equipe M.O.S.T.         | http://most.hmg.inpg.fr          |
|  Patrick BEGOU           |       ------------               |
|  LEGI                    | mailto:[EMAIL PROTECTED] |
|  BP 53 X                 | Tel 04 76 82 51 35               |
|  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71               |
===============================================================
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to