Re: discuss about commit 3b0f9ce: filter-mpath: get wwids from sysfs vpd_pg83
Martin Wilck <[email protected]> Tue, 21 Nov 2023 20:35:00 +0000
| Newsgroups | dev.linux.lists.linux-lvm |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2023-11-21 at 12:25 -0600, David Teigland wrote: > On Tue, Nov 21, 2023 at 06:10:12PM +0000, Martin Wilck wrote: > > But I wonder if this is required. You could create a script that > > calls pvscan, and then systemd-run / vgchange with the output of > > the > > pvscan command, and execute this script in RUN. That was roughly my > > idea. That way you wouldn't loose any DEVLINKS added after 69-dm- > > lvm.rules. > > I don't see any immediate problem with that idea, although using a > script > doesn't sound nice if it can be avoided. It seems academic since I'm > not > seeing a problem with the current method. It's sort of academic, agreed. It would be easy to construct a case where the DEVLINKS approach would fail, but that's unlikely to occur in practice. Martin