Re: Raid array empty after restart - SOLVED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2020-05-25 at 07:49 -0500, Roger Heflin wrote:
> His issue was he did the manual mount on /raid (already in fstab with
> 
> a different device) and systemd immediately unmounted it.  The mount
> 
> succeeds with no error, and the umount happens so fast you are left
> 
> confused about what is going on.    It did at least note it in
> 
> messages so long as you can guess the stupid action it took.  This
> 
> action of systemd is pretty badly designed, since it is overriding
> 
> what had to be someone/somethings explicit action (and even if this is
> 
> documented, documenting stupidity does not make it "right", it is
> 
> still wrong).
> 
> 

I *think* I've got it now. Re-creating the array made no difference
whatever, as it just left everything exactly the same apart from taking
many hours in useless resynching (why it does this is a mystery, as it
clearly knows the layout and should know that the array was already
synchronised). IOW even though I ran:

# mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sd[de]

I still ended up with /dev/md127p1 as before, and /dev/md0 wa's not
created. However by putting that into /etc/fstab and running systemctl
daemon-reload', I can now mount the array correctly. It even survives a
system reboot.

Fingers crossed, it seems to be working now.

poc

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux