How am I supposed to know the mount point for md0?

  • I was repairing raid6 because when adding the drive back to the raid

    Code
    mdadm --add /dev/md0 /dev/sdf

    , there was a power failure.

    At first,

    Code
    sudo mdadm --assemble /dev/md0 /dev/sda /dev/sdc /dev/sdd /dev/sde

    did not work.

    But when I stopped md0

    Code
    sudo mdadm --stop /dev/md0

    and then again

    Code
    sudo mdadm --assemble /dev/md0 /dev/sda /dev/sdc /dev/sdd /dev/sde

    it worked.

    The problem was that it was not mounted.

    In Storage->File Systems, md0 appeared with the status online and ext4.

    How could I mount it from this position?

    I only have the options ‘mount an existing file system’ but I couldn't select md0, ‘Create and mount a file system’ but that would probably delete the data, “edit” but there is almost nothing there, and probably ‘show details’.

    In the shared folders tab, I have, for example, Absolute Path /srv/dev-disk-by-uuid-7ba57fac-66aa-40c1-bd86-268b111e620b/szymon

    I used

    Code
    sudo mount /dev/md0 /srv/dev-disk-by-uuid-7ba57fac-66aa-40c1-bd86-268b111e620b

    and it works.

    Only in the share folder can I find where Device /dev/md0 was mounted?

    If I had several raids and several of these /srv/dev-disk-byxxxxxxx, would I have to guess?


    I don't have any particularly valuable data there, but it was easier to repair the RAID than to search through backup drives.

    Translated with DeepL.com (free version)

  • I receive notifications by email with the following content:

    I know that one drive is missing /dev/sdf.

    Is there any way to permanently remove it so that it doesn't check that it's missing?

    Do I need to add another one so that there are 5 drives again, and only then will mdadm stop reporting an error?

    It's good that mdadm reports an error, but the thing is, I know that the drive is missing and the RAID is working. How do I tell mdadm that it's okay, I've noted it down?


    The /dev/sdf drive did not always start up, but now, after three attempts to start the machine, it does not appear, so I had to ‘rebuild’ the RAID, as I wrote in my first post without it.


    Translated with DeepL.com (free version)

Participate now!

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