Revision b6e31c23
ID | b6e31c2337aa35b063400ae15731f522c19b654a |
Parent | cf4a40e5 |
Child | fcad5eb4 |
(2.13) Let drbd disks resync during cluster verify
Commit 9b0e86e issues an error during cluster verify if the status
of DRBD is degraded and if the local disk is not UpToDate.
Still in case of a newly created instance or a newly attached disk with
--no-wait-for-sync, if a cluster verify runs it will report errors
for the instance's disks that are syncing.
This patch does the following:
- Adds a new local disk state namely LDS_SYNC.
- Thinks of a drbd device that is syncing as degraded.
- During cluster verify, if the device is degraded, the local disk
status is checked and if it is ok or syncing it prints a warning
instead of an error.
- Updates the order of lds to: ok < syncing < unknown < faulty
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Files
- added
- modified
- copied
- renamed
- deleted