Skip to main content
System Manager Classic

Configure logical volumes on multipath devices and creating a file system

Contributors NetAppZacharyWambold

When the Linux host first accesses a new SCSI device (LUN), there is no partition or file system. If you want to use a partitioned multipath device, you must first partition the underlying SCSI devices. You might also want to create logical volumes on multipath devices, and optionally create a file system.

Before you begin

SCSI devices and corresponding multipath devices must have been discovered by the Linux host.

About this task

At a minimum DM-Multipath should be configured on the SCSI devices. Any configuration beyond DM-Multipath is optional. The following steps are general guidelines if you wish to perform additional configuration, such as partitioning, configuring logical volumes on multipath devices, and creating a file system. For details on Linux commands, refer to Red Hat Enterprise Linux documentation and man pages.

Steps
  1. To use a partitioned multipath device, first partition the underlying SCSI devices using the fdisk or parted utility.

  2. Create corresponding multipath partitions using the kpartx utility.

  3. Create logical volumes on corresponding multipath devices using Logical Volume Manager (LVM) commands.

  4. Create a file system, such as Ext4 or XFS, on logical volumes or multipath devices using the mkfs utility.