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