Why do I see LVMError: lvactivate failed for ${LogicalVolume} ERROR: Unable to change internal LV ${logicalVolume} directly
Issue
- RHEL installer fails with the following error message:
Traceback (most recent call first):
File "/usr/lib/anaconda/storage/devicelibs/lvm.py", line 414, in lvactivate
raise LVMError("lvactivate failed for %s: %s" % (lv_name, msg))
File "/usr/lib/anaconda/storage/devices.py", line 2502, in setup
lvm.lvactivate(self.vg.name, self._name)
File "/usr/lib/anaconda/storage/devicetree.py", line 1597, in handleVgLvs
lv_device.setup()
File "/usr/lib/anaconda/storage/devicetree.py", line 2054, in _setupLvs
if self.handleVgLvs(device):
File "/usr/lib/anaconda/storage/devicetree.py", line 2147, in populate
if self._setupLvs():
File "/usr/lib/anaconda/storage/__init__.py", line 436, in reset
self.devicetree.populate(prog)
File "/usr/lib/anaconda/storage/__init__.py", line 103, in storageInitialize
storage.reset()
File "/usr/lib/anaconda/dispatch.py", line 210, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
self.moveStep()
File "/usr/lib/anaconda/gui.py", line 1476, in setScreen
self.anaconda.dispatch.gotoNext()
File "/usr/lib/anaconda/gui.py", line 1389, in nextClicked
self.setScreen ()
LVMError: lvactivate failed for lv_swap_rimage_1: 05:48:36,800 ERROR : Unable to change internal LV lv_swap_rimage_1 directly
Environment
- Red Hat Enterprise Linux (RHEL) 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.