Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LVM question about filter option in lvm.conf file and persistent disk name format

40 views
Skip to first unread message

A.G.S.

unread,
Aug 19, 2012, 5:09:56 AM8/19/12
to
Hi,

Does anyone know if I can use the disk name /dev/disk/by-id/scsi-xxxx format on the FILTER option of lvm.conf file instead of /dev/sdX?

For example, I don't want to use the disk name "/dev/sda", because it is not persistent, and some times my sda changes to sdc.

Thanks in advance,
AGS

Klaus Steinberger

unread,
Aug 24, 2012, 7:00:35 AM8/24/12
to
Hi,

> Does anyone know if I can use the disk name /dev/disk/by-id/scsi-xxxx
> format on the FILTER option of lvm.conf file instead of /dev/sdX?

I think it should work, at least I don't knwo why it shouldn't

>
> For example, I don't want to use the disk name "/dev/sda", because it is
> not persistent, and some times my sda changes to sdc.

lvm doesn't care about persistent disk names, as it identifies the physical
volumes through their UUID's and metadata.

Sincerly,
Klaus
0 new messages