Revision d3da87b8
b/lib/backend.py | ||
---|---|---|
2335 | 2335 |
if multimaster: |
2336 | 2336 |
# change to primary mode |
2337 | 2337 |
for rd in bdevs: |
2338 |
rd.Open() |
|
2338 |
try: |
|
2339 |
rd.Open() |
|
2340 |
except errors.BlockDeviceError, err: |
|
2341 |
return (False, "Can't change to primary mode: %s" % str(err)) |
|
2339 | 2342 |
if multimaster: |
2340 | 2343 |
msg = "multi-master and primary" |
2341 | 2344 |
else: |
Also available in: Unified diff