Re: discuss about commit 3b0f9ce: filter-mpath: get wwids from sysfs vpd_pg83

Heming Zhao <[email protected]>
Newsgroups dev.linux.lists.linux-lvm
Message-ID <[email protected]>
On 11/15/23 16:51, Peter Rajnoha wrote:
> On 11/14/23 17:30, David Teigland wrote:
>> On Tue, Nov 14, 2023 at 08:55:39AM +0100, Peter Rajnoha wrote:
>>> On 11/13/23 19:38, David Teigland wrote:
>>>> - In general, it's old versions of lvm that we're discussing here.
>>>> Current lvm uses system.devices by default, where none of this is
>>>> relevant.  We can just turn off a number of filters when system.devices is
>>>> in use, including filter-mpath and filter-md.  It may still be interesting
>>>> to look at improvements, but the context for that is older stable,
>>>> released versions.

 From the lvm2 code, above description is wrong. By default, system/devices is
disabled status. Because lvm.conf option "use_devicesfile = 0" by default.
under "use_devicesfile = 0", any pvcreate/vgcreate/lvmdevices/vgimportdevices
won't generate/create system/devices file.
If my watching is correct, part discussion of this thread may invalid.

@David could you confirm my writing?

Thanks,
Heming
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.