Skip to content

Uninstall CASA OS Raid Help

Keith Lewis edited this page Jun 1, 2026 · 4 revisions

Support the Channel β˜•

If you found this guide helpful and are feeling extra appreciative, consider supporting the channel:

πŸ’Ύ Restoring RAID Access After Uninstalling CasaOS

So, you uninstalled CasaOS? Don't panic! πŸ˜…

Your data is safe. CasaOS was just a "dashboard" or remote control for your drives. The actual storage engine (Linux software RAID) is still running under the hood. You just need to tell your operating system where to find it.

Follow these steps to get your files back.

You can also watch my video on uninstalling CasaOS safely here... https://youtu.be/1UQO0fDhegY?si=lIPSysuPhUzooINN


πŸ› οΈ Prerequisites

You need to open your Terminal (command line).

  • If you are on the computer directly, open the Terminal app.
  • If you are on another computer, SSH into your server.

πŸ” Step 1: Find Your RAID Name

We need to know what the system calls your RAID array. It is usually something like md0 or md127.

  1. Run this command to list your storage devices:

    lsblk -o NAME,SIZE,TYPE,FSTYPE
  2. Look at the output. Find the row where the TYPE says raid or the FSTYPE says linux_raid_member. The parent name is what you want.

    Example Output:

    NAME    SIZE  TYPE  FSTYPE
    sda     4T    disk  linux_raid_member
    └─md0   4T    raid1 ext4    <-- THIS is what you are looking for (md0)
    

πŸ“‚ Step 2: Create a "Door" (Mount Point)

In Linux, drives don't just appear as "D:". You have to create a folder to act as a "door" to view the files.

  1. Create a new folder (we will call it my_raid):
    sudo mkdir -p /mnt/my_raid
    (Type your password if asked. It won't show on screen while typing, that is normal! Just hit Enter.)

πŸ”Œ Step 3: Connect the Drive

Now, let's connect your RAID device (md0) to that new folder.

  1. Mount the drive (Replace md0 with the name you found in Step 1):

    sudo mount /dev/md0 /mnt/my_raid
  2. Verify your files are there:

    ls /mnt/my_raid

    πŸŽ‰ If you see your files, you are back in business!


πŸ”„ Step 4: Make it Permanent (Auto-Mount)

If you restart your computer now, you will lose the connection. Let's make it connect automatically on boot.

⚠️ Warning: Be careful typing here. We will use a "safety flag" so your computer doesn't get stuck if the drive is missing.

  1. Get the UUID (Unique ID): Names like md0 can change. UUIDs never change.

    sudo blkid /dev/md0

    Copy the text inside the quotes after UUID=. (Example: a1b2c3d4-e5f6-4g7h...)

  2. Edit the system file:

    sudo nano /etc/fstab
  3. Add the configuration: Use your arrow keys to go to the very bottom of the file. Paste this line (replace the UUID with yours):

    UUID=paste-your-uuid-here  /mnt/my_raid  ext4  defaults,nofail  0  0
    

    Note: The nofail part is crucial. It ensures your computer still boots up even if the hard drives have an error.

  4. Save and Exit:

    • Press Ctrl + O then Enter (Save).
    • Press Ctrl + X (Exit).

βœ… Done!

Your RAID is now a permanent part of your system, independent of CasaOS.

Clone this wiki locally