[PLUG] Setting up RAID1 on two 1G disks

Bill Barry bill at billbarry.org
Wed Jan 5 20:33:24 UTC 2022


On Tue, Jan 4, 2022, 4:34 PM Rich Shepard <rshepard at appl-ecosys.com> wrote:

> The Mediasonic Probox has four disks installed, two Seagate 2T and two WD
> Blue 1T; fdisk -l sees them as:
> Disk /dev/sdc: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: gpt
> Disk identifier: 87B50654-32EB-48EC-9659-AA9FCA8805BD
>
> Device     Start        End    Sectors  Size Type
> /dev/sdc1   2048 3907029134 3907027087  1.8T Linux LVM
>
>
> Disk /dev/sdd: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: gpt
> Disk identifier: 3D392BA1-0BA4-43A6-93C2-46B7B0725799
>
> Device     Start        End    Sectors  Size Type
> /dev/sdd1   2048 3907029134 3907027087  1.8T Linux LVM
>
>
> Disk /dev/sde: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: gpt
> Disk identifier: CBB788C9-2244-4FDF-AD06-487E2BAB42F4
>
> Device     Start        End    Sectors   Size Type
> /dev/sde1   2048 1953525134 1953523087 931.5G Linux LVM
>
>
>
>
>
> Disk /dev/sdf: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: gpt
> Disk identifier: 0D48188B-6B6E-49CC-A326-B2EB68FA4631
>
> Device     Start        End    Sectors   Size Type
> /dev/sdf1   2048 1953525134 1953523087 931.5G Linux LVM
>
> I want to setup sde and sdf using raid1 for backups. I assume that since
> each is partitioned (sde1 and adf1) I can run mdadm and set up the raid1.
>
> None of these four disks is entered in /etc/fstab; I expect that I should
> use
> blkid and enter all four disks in /etc/fstab before doing anything else.
> Yes?
>
> Rich
>
>
>
>


Are you using LVM as the final filesystem? This seems like a needless
complication unless you really plan on expanding things in the future. It
is easier just to format using ext4.

Bill



More information about the PLUG mailing list