The Logical Volume Manager creates symbolic links to each logical volume's block device, from a directory path in the form:
/dev/<volume group>/<volume name>. MapR needs the actual block location, which you can find by using the
ls -l command to list the symbolic links.
- Make sure you have free, unmounted logical volumes for use by MapR:
- Unmount any mounted logical volumes that can be erased and used for MapR.
- Allocate any free space in an existing logical volume group to new logical volumes.
- Make a note of the volume group and volume name of each logical volume.
ls -lwith the volume group and volume name to determine the path of each logical volume's block device. Each logical volume is a symbolic link to a logical block device from a directory path that uses the volume group and volume name:
/dev/<volume group>/<volume name>
The following example shows output that represents a volume group named
maprcontaining logical volumes named
- Create a text file
/tmp/disks.txtcontaining the paths to the block devices for the logical volumes (one path on each line). Example: