My current home lab had 2x4tb drives in Raid 1. Today’s goal is converting to Raid 5 and adding 4x4tb drives to expand storage without losing data. THIS IS NOT A GUIDE, unless it works.

  • neidu3@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    Ooh, I did this a while back, except it was Raid5 to Raid6. Turns out one of the servers in a cluster were, for some reason, set up with 11 disks in raid5 + hot spare, except for raid 6 on all raids on all servers. Took me embarrassingly long to realize why storage space was as expected despite one disk being reported as not in an array.

    Storcli and a nice raid controller makes thinks like this easy, as long as you grab enough coffee and read the storcli syntax while taking notes to build the full command string.

    • thallamabond@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      Just so I’m clear on this, is “raid controller” a physical device? Real servers are like wizard magic to me.

      • neidu3@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 months ago

        They can be. Some motherboards come with one built in. But in most cases it refers to its own PCIe card, such as one of the many models from LSI Megaraid.

        The advantage of this is that it can have a small capacitor bank (or a proper battery) to provide emergency power so that if something stupid happens such as motherboard failure, the raid controller will use this power to cleanly write to the disks.

    • frongt@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      Have backups for anything you can’t afford to lose, and be patient.

  • 3dcadmin@lemmy.relayeasy.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    You’d be better converting to ZFS or something else rather than just RAID (I’m assuming it is hardware raid) but I bet that has been mentioned a lot

  • frongt@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    If you’re adding drives with more capacity, why bother converting? Just create the new one, copy the data, then expand over the old disks.