On Sat, Apr 16, 2022 at 10:59 AM Dale <rdalek1...@gmail.com> wrote:
>
> I have googled and can not find a way to reset udev and it naming
> drives.  I may have to rework some things since the drive kept the sdk
> instead of switching to sdd when I made the physical change.  Thing is,
> I suspect it will when I reboot the next time.

IMO it is best to make that not matter.  If you're referencing drives
by letter in configuration files, you're just asking for some change
to re-order things and cause problems.

You're using LVM, so all the drives should be assembled based on their
embedded metadata.  It is fine to reference whatever temporary device
name you're using when running pvmove/pvcreate since that doesn't
really get stored anywhere. If you are directly mounting anything
without using LVM then it is best to use labels/uuids/etc to identify
partitions.

> It also triggered
> messages from SMART too.  It got upset that it couldn't find sdd anymore.

That is typical when hotswapping.  I believe smartd only scans drives
at startup, and of course if a drive does go offline it isn't a bad
thing that it is noisy about it.  From a quick read of the manpage
SIGHUP might or might not get it to rescan the drives, and if not you
can just restart it.  The daemon works by polling so if there are any
pending issues they should still get picked up after restarting the
daemon.

-- 
Rich

Reply via email to