Can't mound RAID 1 mirror with previously used disk

  • Hi,

    I removed a harddrive from a SnapRaid pool wiped it and combined it with a new harddrive to a RAID 0 drive. The RAID 0 drive synced. However, I can't mount it under filesystems. It is listed in teh dropdown menu, but I get the following error when trying to mount it.

    dev-disk-by-uuid-9e298137-8a11-40eb-8666-8eda96d65112 is the old disk that I combined in a RAID 0.



    are other disks not related to this.

    dev-disk-by-uuid-9e298137-8a11-40eb-8666-8eda96d65112 is still listed in /etc/fstab and under /srv/ but it is not accessible to umount.

    The mntent from openmediavault config look like this:

    • Official Post

    Comment: mount: /srv/dev-disk-by-uuid-9e298137-8a11-40eb-8666-8eda96d65112: mount(2) system call failed: Structure needs cleaning.

    I guess it would be better to start from scratch and "Secure" wipe the drives before creating the Raid.

    Mr. geaves Come to the meeting room, please

    I move the thread to the Raid section.

  • chente

    I had started from scratch by formatting and wipeing them ("quickly"). I can try with a "secure" wipe, but I'd prefer to avoid that, because at 2x20 TB + resyncing it will take 3-5 days.

    • Official Post

    because at 2x20 TB + resyncing it will take 3-5 days.

    Yes, it is understandable that you prefer to avoid it. But I have read in many threads that there is no other choice sometimes. Better wait to see what geaves answers you when he sees this thread.

    • Official Post

    I was thinking that another possibility is a BTRFS Raid, if I'm not mistaken it's the same as in ZFS, it's created instantly. It also has other advantages and was recently integrated into the OMV GUI. You might be interested in considering it.

    • Official Post

    Add file system creation plugin infrastructure. by votdev · Pull Request #1479 · openmediavault/openmediavault
    Add an infrastructure to allow plugins to append additional file systems to the file system creation page in the UI. Enhance the BTRFS file system creation…

  • In 10 years of linux tinkering, I only lost one partition due to software failure and that was BTRFS last year. But I will consider it.

    • Official Post

    Ok been out all day, I need to shower and change :)

    Is this a Raid1 or a Raid0, the reason it won't mount it's detecting a residual file system on the repurposed drive from the quick wipe, why, I don't know but it's come up more than once

    As this is a new array the simplest thing to do is to run wipefs -a /dev/md? replace the ? with the raid reference 0, 127 etc this will clear any residual file system and the array can be formatted.

  • Thanks.

    wipefs -a /dev/md0  didn't work. I am now going with a complete secure wipe on both drives. Will report back how it goes.

Participate now!

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