Anaconda installation fails after manually creating mdraid device with ddf metadata in RHEL 6

Solution Unverified - Updated -

Issue

  • During the initial stages of anaconda, if I switch to a virtual terminal and set up an mdraid device manually using the ddf metadata format, anaconda presents an exception and traceback.

  • mdraid crashes during installation if the RAID volumes have metadata iin the DDF format on Intel Pattsburg systems. This is irrespective of whether the volume was created from LSI BIOS utility and volumes were imported or volumes were created using “mdadm with metadata type as DDF.

  • I get an exception in anaconda:

Traceback (most recent call first):
  File "/usr/lib64/python2.6/site-packages/block/__init__.py", line 33, in dm_log
    raise Exception, message
  File "/usr/lib64/python2.6/site-packages/block/device.py", line 710, in get_map
    self._RaidSet__map = _dm.map(name=self.name, table=self.rs.dmTable)
  File "/usr/lib64/python2.6/site-packages/block/device.py", line 828, in activate
    self.map.dev.mknod(self.prefix+self.name)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1768, in handleUdevDMRaidMemberFormat
    rs.activate(mknod=True)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1896, in handleUdevDeviceFormat
    self.handleUdevDMRaidMemberFormat(info, device)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1360, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1071, in addUdevMDDevice
    self.addUdevDevice(new_info)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1324, in addUdevDevice
    device = self.addUdevMDDevice(info)
  File "/usr/lib/anaconda/storage/devicetree.py", line 2081, in populate
    self.addUdevDevice(dev)
  File "/usr/lib/anaconda/storage/__init__.py", line 427, in reset
    self.devicetree.populate()
  File "/usr/lib/anaconda/storage/__init__.py", line 103, in storageInitialize
    storage.reset()
  File "/usr/lib/anaconda/dispatch.py", line 208, 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 1477, in setScreen
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/gui.py", line 1390, in nextClicked
    self.setScreen ()
Exception: device-mapper: reload ioctl failed: Invalid argument

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • anaconda
  • mdraid device set up manually in kickstart %pre section or in virtual terminal of graphical installation

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content