Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

C.4.5. Create File Systems on the Mapped Device or Continue to Build Complex Storage Structures Using the Mapped Device

Use the mapped device node (/dev/mapper/<name>) as any other block device. To create an ext2 filesystem on the mapped device, use the following command:
mke2fs /dev/mapper/<name>
To mount this filesystem on /mnt/test, use the following command:


The directory /mnt/test must exist before executing this command.
mount /dev/mapper/<name> /mnt/test