Re: Mount options for mostly-offline drives

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

 



It is the uuid of the md device.

The sd device will change when you plug and unplug a usb device
(delete and rescan) and cannot be counted on to be the same.  You
might have to script something to read out the mdstat config file stop
the md device and then clean up the underlying sd* devices it was
using.

On Fri, Jun 5, 2020 at 9:54 AM Patrick O'Callaghan
<pocallaghan@xxxxxxxxx> wrote:
>
> On Fri, 2020-06-05 at 07:07 -0500, Roger Heflin wrote:
> > The sdX should change.
> >
> > If you have a mdadm.conf file with a uuid in it the md device
> > definition it will always be the same.
> >
> > Something like this:
> >
> > MAILADDR root
> > AUTO +imsm +1.x -all
> > ARRAY /dev/md13 metadata=1.2 level=raid6 num-devices=7
> > name=localhost.localdomain:11 UUID=a54550f7:da200f3e:90606715:06691490
> > POLICY domain=all action=re-add
>
> Isn't that the UUID of the md device? How does it relate to the actual
> sdX devices which do change? Or does the +imsm option mean they will be
> picked up automatically?
>
> 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
_______________________________________________
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