Re: adding raid 1 to existing server. ( what next)
Hold on. You have couple of big mistakes...
Most important, if sdb curently has the data you need, you don't start by creating the array with sdb. You do it with the new disk, sdc.
And yes, it is better to have a number, like /dev/sdc1, because that means partition #1. It is better to use partitions for mdadm even though it can work with disk designator like /dev/sdc.
Also, you will create the array as 2 disk raid1 array, with one disk missing. That allows you to simplify things and you avoid doing grow later.
So your first step is to create new partition table on sdc to remove the current ntfs partitions. You said you DON'T need the data, right??? I don't know which tool you prefer, I myself prefer parted in the command line. And even though it is not necessary for a disk of 1TB, it is preferred to use gpt table, no msdos.
It is also best to check total number of MiB that sdb and sdc have. The disks are 1TB but the exact number of MiB might differ slightly. This is why I create the partition to end around 15-20MiB before the end of the disk. That way it allows new disk in the future to be able to have a partition of the same size.
You can check total number of MiB and other basic data of each disk with:
Code:
sudo parted /dev/sdb unit MiB print
sudo parted /dev/sdc unit MiB print
Darko.
-----------------------------------------------------------------------
Ubuntu 18.04 LTS 64bit
Bookmarks