Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC PowerVault MD 34XX/38XX Series Storage Arrays Administrator's Guide

Add new partition to Device Mapper

The kpartx command adds the new fdisk partition to the Device Mapper list of usable partitions. See examples below, where mpath<x> is the device node on which the partition was created.
# kpartx –a /dev/mapper/mpath<x>
If successful, the command does not display an output. To verify success and view exact partition naming, you can use these commands to see the full partition names assigned.
# cd /dev/mapper# ls
The following are some examples of the general mapping formats:
  • On Red Hat Enterprise Linux (RHEL) hosts, a partition node has the format:/dev/mapper/mpath<y>p<y>

    Where <y> is the alphabetic number for the multipathing device, <y> is the partition number for this device.

  • On SUSE Linux Enterprise Server (SLES) 11.x hosts, a partition node has the format:/dev/mapper/mpath<y>-part<y>

    Where <y> is letters assigned to the multipathing device and <y> is the partition number.

  • On SLES 10.3 hosts, a partition node has the format: /dev/mapper/mpath<y>_part<y>

    Where <y> is one or more letters assigned to the multipathing device and <y> is the partition number.

NOTE: After creating a partition on a device capable of multipathing, all I/O operations, including file system creation, raw I/O and file system I/O, must be done through the partition node, and not through the multipathing device nodes.

  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\