Delete a RAID volume in OpenMediaVault

  • Hello everyone, I currently have a two independent RAID 1 pairs with two disks each. Last week I get notified that both sets of disks are in the "clean, degraded" state.


    Searched the forum and found these posts:I also found this:And this:
    Vix


    After some thoughts I came to the decision to stop using RAID.

    I found this here: https://kbase.io/delete-a-raid-volume-in-openmediavault/ that points to the previous OMV forum post. That post was made in 2016 and figured it would be good to ask if anything has changed in the last 8ish years? So is that procedure in the kbase still apply to OMV6? I'm simply trying to delete the RAID.


    All my data is backed up but it would be nice not to lose the disk when I delete the RAID 1, does anyone know if after following the procedure if I'll lose all the data in the mirror or will I basically have two independent copies?


    Also I know one of the issues with deleting the RAID is you can't do it if there are shared folders under the RAID volume, but is there any way to see exactly what folders are shared under the RAID?


    Thanks for all the help.

  • votdev

    Approved the thread.
    • Official Post

    Also I know one of the issues with deleting the RAID is you can't do it if there are shared folders under the RAID volume, but is there any way to see exactly what folders are shared under the RAID?

    sure:



    All my data is backed up but it would be nice not to lose the disk when I delete the RAID 1, does anyone know if after following the procedure if I'll lose all the data in the mirror or will I basically have two independent copies?

    You will loose the data on the drives.


    You can reduce the size of the RAID1 to one disk, though. However, I would not consider it best practice ;)

  • Yes that is the absolute path, but in order to remove the share folder don't you need to first remove any references to the shared folder? How can you easily tell what references the shared folder?


    Quote

    You will loose the data on the drives.

    Oh that's strange, why would you lose the data on a RAID 1 drive? I'm just removing the RAID1 from the device, so does removing the RAID format the drives? and if so why? I was under the impression that RAID 1 was just a mirror and I could take any of those two drives plug it into virtually any enclosure and retrieve the data?

    • Official Post

    Yes that is the absolute path, but in order to remove the share folder don't you need to first remove any references to the shared folder? How can you easily tell what references the shared folder?

    I started answering that question, as it is a common one, but noticed then that you were asking something else ;)


    You can install the resetperms plugin. Is has a tab which tells you, which shared folder is used by which service.

    • Official Post

    Oh that's strange, why would you lose the data on a RAID 1 drive? I'm just removing the RAID1 from the device, so does removing the RAID format the drives? and if so why? I was under the impression that RAID 1 was just a mirror and I could take any of those two drives plug it into virtually any enclosure and retrieve the data?

    Not a mdadm expert, but as I understand it, you can use one disk of a former RAID1, but not both in single disk configuration in the same system.

  • So not sure if I need a new post but I've deleted all the shares and deleted any references to the hard drives but I still can not delete the RAID.


    So:

    Services | SMB/CIFS | there are no Shares.


    Services | Rsync | there are no Tasks.


    Services | Reset Permissions | there is nothing listed


    Storage | Shared Folders | nothing shared


    Storage | Software RAID | select /dev/md0 and still can't delete


    Not sure where to go from here.


    I did manage to delete the other clean, degraded mirror. The clean md0 RAID I can not delete

  • revise compose pluging that do not refer to your old compose shared folder.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!