From: Vojtech Trefny vtrefny@redhat.com
LVMPhysicalVolume format should be True (active) if exists and if has an existing VG.
Signed-off-by: Vojtech Trefny vtrefny@redhat.com --- blivet/formats/lvmpv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/formats/lvmpv.py b/blivet/formats/lvmpv.py index 3c9e5c0..346083c 100644 --- a/blivet/formats/lvmpv.py +++ b/blivet/formats/lvmpv.py @@ -125,7 +125,7 @@ def _destroy(self, **kwargs): def status(self): # XXX hack return (self.exists and self.vgName and - os.path.isdir("/dev/mapper/%s" % self.vgName)) + os.path.isdir("/dev/%s" % self.vgName))
register_device_format(LVMPhysicalVolume)