Debian Server Setup with RAID

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 พ.ย. 2024

ความคิดเห็น • 13

  • @HuKoTuH.
    @HuKoTuH. 2 หลายเดือนก่อน

    Thank you! The most clean and understandable explanation that I ever saw! 🔥

  • @Shiva-ff5ue
    @Shiva-ff5ue 2 ปีที่แล้ว +5

    Still use this when I forget thank you ❣️

  • @golfmc7941
    @golfmc7941 2 ปีที่แล้ว +3

    If you're having trouble with fdisk not existing try doing "anna-install fdisk-udeb" in the shell

    • @Intaberna986
      @Intaberna986 10 หลายเดือนก่อน

      Dude you are my personal hero. I was going nuts.

  • @marathonrunner715
    @marathonrunner715 9 หลายเดือนก่อน

    New server, same yt vid. Happy new year

  • @tomcatfeul
    @tomcatfeul ปีที่แล้ว

    Thank you for this demo.

  • @Innocentdarkness72
    @Innocentdarkness72 2 ปีที่แล้ว

    nice thanks, works good on debian 11, just whate i need !!

  • @613techpro
    @613techpro 2 ปีที่แล้ว

    Unfortunately, fdisk is not available at "Execuate Shell" in Debian 10.3.

  • @DDBAA24
    @DDBAA24 5 ปีที่แล้ว

    Daniel , If I have two disks that both have data on them and use 'mdadm' to create a raid zero , will I lose data on either of the disks ? Or will it just combine them and sync the storage up so when reading/writing everything is where it is supposed to be ? I of course would be hoping for the second scenario as the outcome. I do not have anything too terribly important on these drives , but I do have a large iso library that I would hate to lose. I could back it up but if I need not go through that trouble and I can just put them into a raid0 config without data loss that would be excellent .. Hoping to hear back , I would like to implement the software raid asap, thanks.

    • @DanielMcFeeters
      @DanielMcFeeters  5 ปีที่แล้ว +1

      Hi Steve, creating a raid array with mdadm will destroy the data on both drives for all practical purposes. If you want to combine drives to gain more storage space, you might consider using lvm.
      One trick I have used to create a mirror raid 1 configuration out of a standalone drive is this:
      Add the second drive
      Create a new raid 1 array on the new drive, in degraded mode with one drive missing.
      Copy the data from the standalone drive to the array
      Finally, add the original drive in to the array.
      Of course, if you intend to boot you will need to update your fstab and rebuild your initrd and bootloader.

    • @DDBAA24
      @DDBAA24 5 ปีที่แล้ว

      @@DanielMcFeeters That actually makes a lot of sense. I had to read it twice , but yes that will work. I will give that try. Thank you.

    • @DanielMcFeeters
      @DanielMcFeeters  5 ปีที่แล้ว

      @@DDBAA24 notice that I said "raid 1" (mirror) configuration. RAID 0 will not work with this trick as there is no redundancy. I really dislike using RAID 0 or LVM across raw disks, as it is very risky. In my experience, it's exponentially more likely that you will have data loss on a multi-disk system without redundancy than even a single-disk system. Storage is cheap--replacing lost data isn't!

    • @DanielMcFeeters
      @DanielMcFeeters  4 ปีที่แล้ว

      @Imperfect Servant I am not familiar with cockpit, but it looks interesting. I believe it is a Fedora/RedHat project, but the site says it supports Debian and Ubuntu. cockpit-project.org/running.html