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:
Important
The directory
/mnt/test
must exist before executing this command.
mount /dev/mapper/<name> /mnt/test