Skip to contentSkip to conversation

when to vgscan/pvscan/lvscan

linux-lvm Philippe Cerfon 1 participant 1 message Jul 1, 2010

lore
Share & tools
lore
#0 lore raw

Hi.
Thanks for your reply.

Quoted 3 lines · Alasdair G Kergon

The safest approach if you want to remove the vgscan at boot is to specify the precise VGs you want to activate by name on the vgchange command line instead of letting it default to 'all'.

Is it also possible to scan for a specific LV?

When I use udev, will newly added devices be automatically scanned for LVM stuff (i.e. PVs) if they're block devices?

Quoted 3 lines

Then it knows what VGs are supposed to be there, and if it didn't think it needed to scan but doesn't see one or more of them that'll be enough to trigger the scan.

Nice.

Thanks,
Philippe.