How To Set Up Software RAID1 On A Running System Debian Stretch (minimac 2010)

Discussion in 'Installation/Configuration' started by Robin.k, Oct 5, 2020.

  1. Robin.k

    Robin.k Member

    I want to use a Mac mini 2010 server with ISPconfig, I looking for a way to setup Debian Stretch with Raid 1 configuration.
    How to setup Software RAID1 On A Running System Debian Stretch (minimac 2010)
    I can find only for Debian Squeeze, is this for Stretch the same ?

    Thanks
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Why Debian Stretch and not the current version Buster?
    I expect the RAID setup is similar in recent versions of Debian, so use documentation, for example https://wiki.debian.org/SoftwareRAID .
     
  3. Robin.k

    Robin.k Member

    Hi, thanks for the info. I use Debian Stretch because there isn't a automated installation for version Buster.
    I will try the example link for the Raid 1 setup.
    I had used "To Set Up Software RAID1 On A running System" but no succes.
     
  4. Robin.k

    Robin.k Member

    Hi, i installed Debian 9 Raid 1 on my minimac 2010 with the Debian installer.
    But there is an issue with md2 [_U]
    How to solve this problem, is there something wrong with the raid configuration
    or something else ? I use 2 brand new HDD 500 Gb drives, so I suppose there are no problems with the drives.

    Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
    md0 : active raid1 sda2[0] sdb2[1]
    483801088 blocks super 1.2 [2/2] [UU]
    bitmap: 1/4 pages [4KB], 65536KB chunk

    md2 : active raid1 sdb3[1]
    3926016 blocks super 1.2 [2/1] [_U]

    The harddisk setup is:

    Disk /dev/sdb: 465,8 GiB, 500107862016 bytes, 976773168 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: 3812A173-00DC-4A98-9AB2-5FF56CC35F29

    Device Start End Sectors Size Type
    /dev/sdb1 2048 1050623 1048576 512M EFI System
    /dev/sdb2 1050624 968914943 967864320 461,5G Linux RAID
    /dev/sdb3 968914944 976771071 7856128 3,8G Linux RAID

    Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 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: 14055821-6EC9-4E23-9288-5B20B5CED8B3

    Device Start End Sectors Size Type
    /dev/sda1 2048 1048575 1046528 511M EFI System
    /dev/sda2 1050624 968914943 967864320 461,5G Linux RAID
    /dev/sda3 968914944 976771071 7856128 3,8G Linux RAID

    Disk /dev/md2: 3,8 GiB, 4020240384 bytes, 7852032 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

    Disk /dev/md0: 461,4 GiB, 495412314112 bytes, 967602176 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
     
    Last edited: Oct 5, 2020
  5. Robin.k

    Robin.k Member

    Hi, it works now Debian 9 with ISPconfig with Raid 1 configuration on a minimac server 2010
     
  6. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

Share This Page