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

Solution Unverified - Updated -


  • 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/", line 33, in dm_log
    raise Exception, message
  File "/usr/lib64/python2.6/site-packages/block/", line 710, in get_map
    self._RaidSet__map =,
  File "/usr/lib64/python2.6/site-packages/block/", line 828, in activate
  File "/usr/lib/anaconda/storage/", line 1768, in handleUdevDMRaidMemberFormat
  File "/usr/lib/anaconda/storage/", line 1896, in handleUdevDeviceFormat
    self.handleUdevDMRaidMemberFormat(info, device)
  File "/usr/lib/anaconda/storage/", line 1360, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/anaconda/storage/", line 1071, in addUdevMDDevice
  File "/usr/lib/anaconda/storage/", line 1324, in addUdevDevice
    device = self.addUdevMDDevice(info)
  File "/usr/lib/anaconda/storage/", line 2081, in populate
  File "/usr/lib/anaconda/storage/", line 427, in reset
  File "/usr/lib/anaconda/storage/", line 103, in storageInitialize
  File "/usr/lib/anaconda/", line 208, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/", line 126, in gotoNext
  File "/usr/lib/anaconda/", line 1477, in setScreen
  File "/usr/lib/anaconda/", line 1390, in nextClicked
    self.setScreen ()
Exception: device-mapper: reload ioctl failed: Invalid argument


  • 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