AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Winebottler with civ 44/9/2023 In order to use a disk as RAID disk, you need to create a RAID partition type on each disk. Set the type of partition on the disk.In this demo, we use parted command for this purpose. Create the partition and set the filesystem type.Parted -a optimal /dev/sdb mkpart primary ext4 0% 100% Set the partition as software RAID partition.parted -a optimal /dev/sdc print Model: ATA VBOX HARDDISK (scsi)ġ 1049kB 4295MB 4294MB primary raid Setup Software RAID on Ubuntu 20.04 Number Start End Size Type File system Flags Sector size (logical/physical): 512B/512B parted -a optimal /dev/sdb print Model: ATA VBOX HARDDISK (scsi) Now that we have two disks setup, you can now go ahead and setup software RAID on Ubuntu 20.04.īefore you can proceed, ensure that you have mdadm package installed. Mdadm is a utility that can be used to manage MD devices aka Linux Software RAID.Ĭheck if the package is installed. If not installed, you can install it by running the command below apt install mdadm #How to divide disks in softraid software# The basic command line syntax for mdadm commad is mdadm #How to divide disks in softraid install# Specifies any major mdadm operation mode which can be one of the following Assemble (-A, -assemble): assembles the components of a previously created array into an active array.Build (-B, -build): Builds an array that doesn’t have per-device metadata (superblocks).
0 Comments
Read More
Leave a Reply. |