Make cluster-verify check the drbd minors space
authorIustin Pop <iustin@google.com>
Tue, 20 Jan 2009 14:20:15 +0000 (14:20 +0000)
committerIustin Pop <iustin@google.com>
Tue, 20 Jan 2009 14:20:15 +0000 (14:20 +0000)
commit6d2e83d5cf81ef128ab5e2ad2fdc406b980f2487
treec95ddbbedc23f5087d58bb7e7aa75acdac3c5487
parent2f907a8c2ca947bc5bdd061fd85f4c11133c89d4
Make cluster-verify check the drbd minors space

This patch adds support for verification of drbd minors space in cluster
verify: minors which belong to running instances and should be online
but are not, and minors which do not belong to any instace but are in
use.

The patch requires exposing some methods from bdev.DRBD8 and
config.ConfigWriter which were until now private methods.

Reviewed-by: ultrotter
lib/backend.py
lib/bdev.py
lib/cmdlib.py
lib/config.py
lib/constants.py