Revision fcb1f331
b/lib/bdev.py | ||
---|---|---|
400 | 400 |
""" |
401 | 401 |
result = utils.RunCmd(["lvdisplay", self.dev_path]) |
402 | 402 |
if result.failed: |
403 |
logger.Error("Can't find LV %s: %s" % |
|
404 |
(self.dev_path, result.fail_reason)) |
|
403 |
logger.Error("Can't find LV %s: %s, %s" %
|
|
404 |
(self.dev_path, result.fail_reason, result.output))
|
|
405 | 405 |
return False |
406 | 406 |
match = re.compile("^ *Block device *([0-9]+):([0-9]+).*$") |
407 | 407 |
for line in result.stdout.splitlines(): |
Also available in: Unified diff