Initialize devices Create RAID device Create partitions on RAID device Welcome to fdisk . Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Device does not contain a recognized partition table. Created a new . Command (m for help): Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) Select (default p): Partition number (1-4, default 1): First sector (2048-102271, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-102271, default 102271): Created a new . Command (m for help): Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) Select (default p): Partition number (2-4, default 2): First sector (22528-102271, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-102271, default 102271): Created a new . Command (m for help): Disk /dev/md8: 50 MiB, 52363264 bytes, 102272 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): bytes / bytes Disklabel type: dos Disk identifier: Device Boot Start End Sectors Size Id Type /dev/md8p1 2048 22527 20480 10M 83 Linux /dev/md8p2 22528 43007 20480 10M 83 Linux Command (m for help): The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks. Probe first RAID member ID_FS_TYPE=linux_raid_member ID_FS_USAGE=raid ID_FS_VERSION=0.90.0 Probe second RAID member ID_FS_TYPE=linux_raid_member ID_FS_USAGE=raid ID_FS_VERSION=0.90.0 Stop RAID device Deinitialize devices