Lost mount for two HDD (mirror)

  • Hello everyone!

    I caught an unexpected "surprise" – I lost (?) a RAID (one of two similar ones).

    Two HDDs (4TB + 4TB) in one "mirror" work as before. But the "twin" on two 3+3 drives was beyond me.

    The motherboard (and its connectors) are working properly – I checked with a separate HDD. The OMV sees these two HDDs via SMART (it's clean).

    I tried to resolve this issue using the "recovery" icon, adding a new, clean HDD (6TB), but... it simply "added successfully" (without any obvious "we'll check and restore it now" actions).

    Where should I look? What should I read/study?

    Thanks!

    ADD

    Important clarification.

    These two disks (RAID) contain very important data.



    P.S.
    I didn't make any settings or configuration changes, I just noticed that some folders (visible from the network) were no longer accessible. I compared which folders were on which mirrors – the puzzle came together.









    -=-=-=-
    6.9.16-1 (Shaitan)

    AMD E-350 Processor (ASUS E35M1-I)

    Linux 6.1.0-0.deb11.21-amd64
    TWO RAID (EXT4) 2x4Tb + 2x3Tb

    -=-=-=-

    MB Mini-ITX ASUS E35M1-I (AMD E-350)

    TWO RAID (EXT4) 2x4Tb + 2x3Tb

    Linux 6.1.0-0.deb11.21-amd64 / 6.9.16-1 (Shaitan)
    All this in a custom-designed case (personal design + industrial laser cutting)

    餅は餅屋
    -=-=-=-

    Edited once, last by overfreeze ().

  • Gentlemen (especially developers), seriously?


    Just yesterday, terabytes of archives containing documents and photos spanning many years existed, and today, suddenly, without any apparent reason or intervention from the OMV system user, it's all gone, and this (judging by the lack of any reaction from the developers and/or other users) is considered "normal" (?!).

    Come on!


    I repeat – without any so-called "extraordinary reasons," such as physical failure (of one of all hard drives at once). Without any prior notifications (smart status of the hard drive(s) or the system about a sharp deterioration in performance, for example, via email or in a log).


    The entire physical assembly (motherboard, SSD, system drive, 2+2 hard drives) appears to be in working order. But... one RAID array (two identical HDDs [WD Red] in a "mirror") simply "disappeared," after several years of operation. And this doesn't spark interest (at least) among other users (the situation could potentially repeat itself for all user`s OMV).

    NAS is for home use, it does not work 24/7, it is turned on for a few hours a day.

    And the system developers are also (hopefully temporarily) staying "on the side"?!


    Sorry, but this seems very strange.

    P.S.
    Perhaps I'm asking a question about the situation in the wrong thread/section of the site?

    -=-=-=-

    MB Mini-ITX ASUS E35M1-I (AMD E-350)

    TWO RAID (EXT4) 2x4Tb + 2x3Tb

    Linux 6.1.0-0.deb11.21-amd64 / 6.9.16-1 (Shaitan)
    All this in a custom-designed case (personal design + industrial laser cutting)

    餅は餅屋
    -=-=-=-

    • Official Post

    Ok would you like me to rant over your rant or would you like me to help.......most users these days use AI to get their answers even if they post in this forum and get an answer, they never reply. The forum is end users and 2 dev's, there is no tech support per say.


    I am assuming you have shared folders and subsequently SMB shares pointing to those shared folders, when this has come up on the forum in the past (and it's happened to me) the SMB shares are usually accessible, what appears to be missing is the file system in the GUI.


    But let's start with some basic questions;


    Why Raid?

    Why power off? when simply powering down certain components will reduce power consumption, my nas is for home use it's on 24/7

    Why blank out screenshots? some of that information 'might be' useful, your nas is safe unless you access it remotely

    Why add another drive to a raid 1? Recovery is for replacing a drive that has failed

    Just because SMART says it's clean doesn't mean there are no errors, SMART is there to assist being pro active rather than fire fight when a drive fails, which is what most users do....fire fight that is


    First of all follow this thread to do this you will need to ssh into omv and run each option from the cli, post EACH OUTPUT into a code box this symbol </> on the forum thread bar, this makes it easier to read.


    My best guess scenario is that the file system has errors and those errors have not been corrected during the boot process


    BTW if a file system check is run on a corrupted filesystem it may or may not fix things.........backup is the key


    Footnote: I am not on here as regularly as I used to be, that's because most home users don't use Raid any more

    Raid is not a backup! Would you go skydiving without a parachute?


    OMV 8x amd64 running on an HP N54L Microserver

  • Thanks for starting the discussion. PRELIMINARY (currently in draft form).


    - Regarding AI. I'm quite skeptical of these trendy "technologies," at least at the level they've reached in the public domain. They're currently offering too much absurd advice and other results.


    - Regarding the use of RAID, the option I chose was optimal for the time and the goals I wanted to achieve (two dedicated hard drives (in a mirror) have a good chance of preserving information if one starts losing data).

    This is a fairly basic approach. (Maybe not ideal, but...)

    Besides, I wrote that one ride (1+1 HDD) in my NAS still works perfectly fine.

    and the other (also 1+1 HDD) turned out to be "lost." (and this is one power supply, one motherboard (and possibly one configuration file)


    - My NAS doesn't run 24/7. I usually turn it on in the evening, watch a movie or a couple of episodes of a TV series (DLNA), and turn it off in the morning in normal mode (via the web browser interface on my smartphone).


    - When I open the NAS interface page, I sometimes see notifications about updates (various), but I usually launch them immediately. This is to say that (IMHO) the operating system should immediately display notifications about malfunctions or any possible errors. (I've never seen this before.)

    Although, the equipment I work (in office or my workarea) with regularly can generate messages that I receive (promptly) in a smartphone app and/or by email—and this is already a proven technology for many developers, which really helps "monitor" the status. (Not a complaint, but "maybe a good idea")

    Regarding system files (e.g., partition tables, etc.).

    Which (possibly) could have been corrupted in my system (which led to this result).

    If there are critical entries, then... why not implement their "standard duplication" (not backup with user). Or something similar, like two boot images in industrial switches (not consumer).

    Even the microsoft-like option (with restore points), while not ideal, might make you think, "Is there something to this?"

    Again, this is just a discussion.

    - Why did you add another disk (after the "crash")? Again, I was confused by the icon's caption, which contains the word "recovery" (there was perhaps a ridiculous and naive expectation that the system would recognize this disk as "where to transfer recovered data" after adding it).

    Apparently, this is a different perception of the user interface.


    Regarding parachuting (as an example/analogy), I understand your thinking, but...

    I was a parachuter and then graduated from flight school, and I can say that parachutists (in the true sense) ALWAYS jump with a reserve parachute.

    Isn't that a RAID? (Especially when the reserve parachute is triggered automatically (based on altitude above ground) and opens independently of the user's will.)
    On the contrary, the user must consciously unlock the automatic opening (when they are conscious and see that everything is proceeding normally).

    Obviously, this is "literary" and a topic for discussion elsewhere, but... (Life is an interesting thing, especially when your horizons provide interesting ideas.)

    Especially for beginners (regular users) who don't know how (or should they even?) to edit the operating system code :)

    I'll certainly start exploring your proposed solution (thanks again for your response).

    But... the situation itself (the fact that it could arise) that happened to probably gives reason to think about improvements/reliability.

    I don't know the entire architecture of the operating system, so I can't offer a ready-made solution (even if I wanted to).

    But... I hope you add/make changes (?) and make your product even more reliable and popular.

    -=-=-=-

    MB Mini-ITX ASUS E35M1-I (AMD E-350)

    TWO RAID (EXT4) 2x4Tb + 2x3Tb

    Linux 6.1.0-0.deb11.21-amd64 / 6.9.16-1 (Shaitan)
    All this in a custom-designed case (personal design + industrial laser cutting)

    餅は餅屋
    -=-=-=-

    • Official Post

    I was a parachuter and then graduated from flight school, and I can say that parachutists (in the true sense) ALWAYS jump with a reserve parachute.

    Isn't that a RAID?

    Nope. A reserve parachute is the equivalent of backup. Raid is not backup. If you accidentally delete a file or spyware encrypts all of your files, it happens immediately on both drives.

    omv 8.5.11-1 synchrony | 7.0 proxmox kernel

    plugins:

    omvextrasorg 8.0.3 | kvm 8.3.4 | compose 8.2.2 | cterm 8.0.4 | borgbackup 8.2.1 | tempmon 8.0.5 |

    mergerfs 8.0.2 | scripts 8.0.6 | writecache 8.3.0 | backup 8.1 | kernel 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    I'm guessing by your response you're UK based?

    Regarding AI. I'm quite skeptical of these trendy "technologies," at least at the level they've reached in the public domain

    Whilst I understand that it does work, so does a net search and I found a number of results pointing to the forum


    - Regarding the use of RAID, the option I chose was optimal for the time and the goals I wanted to achieve (two dedicated hard drives (in a mirror) have a good chance of preserving information if one starts losing data).

    This is a fairly basic approach. (Maybe not ideal, but...)

    Raid is about availability and nothing else, should one drive fail the data is still available, but it DOES NOT substitute for a backup


    Besides, I wrote that one ride (1+1 HDD) in my NAS still works perfectly fine.

    and the other (also 1+1 HDD) turned out to be "lost." (and this is one power supply, one motherboard (and possibly one configuration file)

    :?: the array is not lost, the filesystem is not showing in the GUI


    This is to say that (IMHO) the operating system should immediately display notifications about malfunctions or any possible errors

    It does, but it doesn't cover everything and it depends on the notification setup in the GUI


    You are suggesting something that has never come up before (at least to my knowledge) there sufficient options within the notification section, your missing file system is not unique and it doesn't occur on a regular basis. The question is why didn't the file check spot the errors during the boot check, could be too many to fix, does it send a notification :/ but I would have expected something.


    (there was perhaps a ridiculous and naive expectation that the system would recognize this disk as "where to transfer recovered data" after adding it).

    Hm

    Isn't that a RAID? (Especially when the reserve parachute is triggered automatically (based on altitude above ground) and opens independently of the user's will.)

    NO, but it's a users perception, so my analogy of would you go sky diving without a parachute, obviously YOU wouldn't, but you will rely on a Raid rather than a backup regime for the data you don't want to lose, can't understand the thinking on that one :)


    I've put the above in one box, nice idea, but I'm not sure you'd get that with any OS/NAS and that includes Qnap, Synology, MS, and all the other iterations of Linux nas server software :)


    With your setup a simple single drive which does an rsync to a second drive, then a USB drive that backs up the data you don't want to lose, the usb drive is then removed after the back up


    I've used MS server software, but overnight it would backup data to a another server, then backup to removeable USB, of which there were two which were rotated.

  • to geaves

    Sorry for being "off-topic" :)
    shortly :)

    1.

    old time, a city bus with a conductor:

    A man enters and addresses the conductor:

    - Two tickets, please!

    - Excuse my curiosity, but why do you need TWO tickets?

    - What if I lose one...

    - Well, you might as well lose the other one?!

    - I'm not an idiot! I have a season ticket for situations like this!

    2.
    Parachute systems can be VERY different.

    For different payloads (weights), for different speeds (gradual "small to large" opening), for different numbers of main canopies. Even for different atmospheric densities (descent modules on different planets).


    With additional braking systems (automatic jet streams in the opposite direction).

    Differents vertical or horizontal speed.


    Do you see where I'm (maybe) heading with this discussion?

    For each task and capability, a specific solution is selected.

    The same applies to different generations of file systems and raids.


    Everything has its own subtleties and peculiarities, the main thing is that they work WITHOUT SURPRISES (were developed by good engineers and used correctly).


    That way, everyone will be happy :)

    P.S.

    Then I get home, I'll check your recommendations.

    Unfortunately, I'm far from the equipment now.

    ADD/UPD (offtop, sorry)
    Example solution of multi parachute system`s
    Space and...
    Includes links to studies (detailed, NASA) and examples of emergency work (Appolo-15).

    -=-=-=-

    MB Mini-ITX ASUS E35M1-I (AMD E-350)

    TWO RAID (EXT4) 2x4Tb + 2x3Tb

    Linux 6.1.0-0.deb11.21-amd64 / 6.9.16-1 (Shaitan)
    All this in a custom-designed case (personal design + industrial laser cutting)

    餅は餅屋
    -=-=-=-

    Edited 3 times, last by overfreeze: add/upd ().

  • First of all follow this thread to do this you will need to ssh into omv and run each option from the cli, post EACH OUTPUT into a code box this symbol </> on the forum thread bar, this makes it easier to read.

    Greetings!

    I hope this is done correctly (following the instructions in the link).

    Also, below are a couple of screenshots from the OMV web interface (Shared Folders -> Access Control List section).

    Two folders located on the "lost" "mirror" (1+1 HDD) display this message. Accordingly, another working RAID, when accessed from this menu (section), displays "other style" working information about properties/access/settings.


    Code
    Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [ra                                                 id10]
    md1 : active (auto-read-only) raid1 sdb[0] sdc[1]
          2930134464 blocks super 1.2 [2/2] [UU]
          bitmap: 0/22 pages [0KB], 65536KB chunk
    
    md0 : active raid1 sdd[0] sde[1]
          3906886464 blocks super 1.2 [2/2] [UU]
          bitmap: 0/30 pages [0KB], 65536KB chunk
    
    unused devices: <none>
    Code
    /dev/sda1: UUID="6ec3493d-af94-4995-b64a-a0ccdad58b92" BLOCK_SIZE="4096" TYPE="e                                                 xt4" PARTUUID="145c8c38-01"
    /dev/sda5: UUID="aabc8be4-a666-48e1-82e5-92f21e4a8b88" TYPE="swap" PARTUUID="145                                                 c8c38-05"
    /dev/sdd: UUID="400ada41-e92f-a306-7fe2-c9ba8c6f0382" UUID_SUB="34ec2a6a-765f-b4                                                 fa-7b8d-5524ffe11627" LABEL="OMV-NAS:0" TYPE="linux_raid_member"
    /dev/sdc: UUID="e2506c62-ef7c-de6a-b5c7-d53a6c9faf56" UUID_SUB="8ab90c83-9494-a4                                                 32-f31a-fa927a83ab8f" LABEL="OMV-NAS:1" TYPE="linux_raid_member"
    /dev/sde: UUID="400ada41-e92f-a306-7fe2-c9ba8c6f0382" UUID_SUB="33d685e7-e000-ff                                                 c8-0d6b-664c9cc483d5" LABEL="OMV-NAS:0" TYPE="linux_raid_member"
    /dev/sdb: UUID="e2506c62-ef7c-de6a-b5c7-d53a6c9faf56" UUID_SUB="d362dd77-2d73-10                                                 bc-9829-a699cd19b603" LABEL="OMV-NAS:1" TYPE="linux_raid_member"
    /dev/md0: UUID="55934491-2036-4b82-a47b-b7e2699deee0" BLOCK_SIZE="4096" TYPE="ex                                                 t4"
    /dev/md1: UUID="ebaef05f-8d9b-410e-ae80-e2196623f840" BLOCK_SIZE="4096" TYPE="ex                                                 t4"




    P.S.
    There was a slight delay in response because the root password was written to a file on the "dropped" hard drives.

    I had to remember (It's bad when you didn't know, and then you forgot) how to root pass.

    -=-=-=-

    MB Mini-ITX ASUS E35M1-I (AMD E-350)

    TWO RAID (EXT4) 2x4Tb + 2x3Tb

    Linux 6.1.0-0.deb11.21-amd64 / 6.9.16-1 (Shaitan)
    All this in a custom-designed case (personal design + industrial laser cutting)

    餅は餅屋
    -=-=-=-

    • Official Post

    Greetings!

    I hope this is done correctly (following the instructions in the link)

    :thumbup:


    md1 : active (auto-read-only) raid1 sdb[0] sdc[1]

    :D :D :D the problem is usually there when receiving the correct information


    try mdadm --readwrite /dev/md1 if that does not work, stop the array mdadm --stop /dev/md1 then re run the first command


    And no I've no idea what causes the (auto-read-only) in what was originally a working array

  • And no I've no idea what causes the (auto-read-only) in what was originally a working array


    Well, I'm completely at a loss here...
    Thank you for finding the "moment" and the hint with the commands.


    I'll try to more or less explain my "attitude" (toward OMV).

    When I was choosing (testing) various systems, OMV was the one that "hooked" me with the impression that it was made by competent people (I work with a wide variety of equipment, and this is a "sixth sense" I've developed over many years).

    When I started mastering the basics, I realized that this prediction was 99% correct.


    After mastering the basics, when I go to check/configure/add something, I simply take a break from the modern "interfaces" (in other systems) that surround the average user and simply enjoy the thoughtfulness and convenience.


    Something similar happens when I work with top-end Canon cameras (the "1s"): there are no "assistants"/"creative programs" or other "enhancers." There's simply a reliable tool that, with the right knowledge, is an extension of the eye and hand (and after which it's very difficult to shoot with a smartphone camera).


    Therefore, even in this situation, I remain calm, understanding that something clearly unpredictable has occurred. BUT! One that can be easily (hopefully) corrected.

    I have confidence, and that's the most important thing.

    P.S.
    Let's wait until evening and my return to this NAS (with this situation).

    (I'd like to get confirmation of my text above)

    -=-=-=-

    MB Mini-ITX ASUS E35M1-I (AMD E-350)

    TWO RAID (EXT4) 2x4Tb + 2x3Tb

    Linux 6.1.0-0.deb11.21-amd64 / 6.9.16-1 (Shaitan)
    All this in a custom-designed case (personal design + industrial laser cutting)

    餅は餅屋
    -=-=-=-

  • try mdadm --readwrite /dev/md1 if that does not work, stop the array mdadm --stop /dev/md1 then re run the first command

    Code
    root@OMV-NAS:~# mdadm --readwrite /dev/md1
    root@OMV-NAS:~# mdadm --stop /dev/md1
    mdadm: stopped /dev/md1
    root@OMV-NAS:~# mdadm --readwrite /dev/md1
    mdadm: error opening /dev/md1: No such file or directory
    root@OMV-NAS:~#

    The first command didn't work.

    I tried it again (but after a stop) – no result...

    Just for fun, I restarted the entire NAS – but it didn't work.

    the system response is "open error + no file or directory", is this full "finish"?
    Are specialized data recovery programs the only option? (NAS had no open ports/access to the external network, so it's unlikely there was an "intrusion")

    Perhaps there's something else useful in the more detailed screenshots from the web interface to help us understand the situation?








    P.S.

    I find it strange that the first time I enter a command, there's no response.

    And after stopping and entering the same command again, a "opening error" message appears.

    -=-=-=-

    MB Mini-ITX ASUS E35M1-I (AMD E-350)

    TWO RAID (EXT4) 2x4Tb + 2x3Tb

    Linux 6.1.0-0.deb11.21-amd64 / 6.9.16-1 (Shaitan)
    All this in a custom-designed case (personal design + industrial laser cutting)

    餅は餅屋
    -=-=-=-

  • There is another "observation" - when the readwright command is entered, the information in the dashboard remains the same as at startup.


    But, after entering the stop command (for md1), the cell in the dashboard changes to this:


    Perhaps there is some other command (possibly relevant for launching/mounting) in such a situation?

    P.S.
    mdadm -w /dev/md1

    I'm very wary of "experimenting" (hoping that the data can still be saved/viewed), so I'm in no rush to try the options I found on the Internet (for fear of making things even worse)


    -=-=-=-

    MB Mini-ITX ASUS E35M1-I (AMD E-350)

    TWO RAID (EXT4) 2x4Tb + 2x3Tb

    Linux 6.1.0-0.deb11.21-amd64 / 6.9.16-1 (Shaitan)
    All this in a custom-designed case (personal design + industrial laser cutting)

    餅は餅屋
    -=-=-=-

    Edited once, last by overfreeze ().

    • Official Post

    The first command didn't work

    In hindsight the 'if that doesn't work' was probably not the thing to write, a simple cat /proc/mdstat would have shown if the array had corrected itself, i.e. the (auto-read-only) now showed (active)

    And after stopping and entering the same command again, a "opening error" message appears

    That's because you've stopped it, in other words the command cannot find /dev/md1


    So post the output of cat /proc/mdstat that will tell us the state of /md1


    If you search for mdadm auto-read-only cause there is an AI response with an explanation

  • So post the output of cat /proc/mdstat that will tell us the state of /md1

    -=-=-=-

    MB Mini-ITX ASUS E35M1-I (AMD E-350)

    TWO RAID (EXT4) 2x4Tb + 2x3Tb

    Linux 6.1.0-0.deb11.21-amd64 / 6.9.16-1 (Shaitan)
    All this in a custom-designed case (personal design + industrial laser cutting)

    餅は餅屋
    -=-=-=-

  • so run the mdadm readwrite command, but then post the output

    Greetings!

    I'm a bit "confused," but I did it (even if it's a repeat, just like before).

    Or did I miss something in the sequence of actions?

    I am certainly grateful for your attention and patience...


    P.S.

    I looked at various examples (examples of usage mdadm), but I found an article with a large number of commands that I'm still hesitant to use... (not understanding ALL the consequences).

    -=-=-=-

    MB Mini-ITX ASUS E35M1-I (AMD E-350)

    TWO RAID (EXT4) 2x4Tb + 2x3Tb

    Linux 6.1.0-0.deb11.21-amd64 / 6.9.16-1 (Shaitan)
    All this in a custom-designed case (personal design + industrial laser cutting)

    餅は餅屋
    -=-=-=-

  • now post the output of cat /etc/fstab

    -=-=-=-

    MB Mini-ITX ASUS E35M1-I (AMD E-350)

    TWO RAID (EXT4) 2x4Tb + 2x3Tb

    Linux 6.1.0-0.deb11.21-amd64 / 6.9.16-1 (Shaitan)
    All this in a custom-designed case (personal design + industrial laser cutting)

    餅は餅屋
    -=-=-=-

  • but I can't check that because you blanked out the UUID's in your first post

    Personally, it's not always "convenient" for me to display various *IDs (when not 100% sure) in the public domain; perhaps it's paranoia :)

    -=-=-=-

    MB Mini-ITX ASUS E35M1-I (AMD E-350)

    TWO RAID (EXT4) 2x4Tb + 2x3Tb

    Linux 6.1.0-0.deb11.21-amd64 / 6.9.16-1 (Shaitan)
    All this in a custom-designed case (personal design + industrial laser cutting)

    餅は餅屋
    -=-=-=-

Participate now!

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