On Sep 18, 2011, at 2:28 PM, Dimitri Maziuk wrote:
> On 9/17/2011 3:11 PM, Vadym Chepkov wrote:
>>
>
>> and this is exactly the problem I have.
>> Pull out a hot-swapable disk - put it back.
>> It will get some unpredictable name.
>
> Yep. It's been a major problem with linux since always -- at least these
> days it doesn't rename the ethXes on every reboot (only when you replace
> the actual card).
>
> That's why redhat's nic configurator lets you lock the device name to
> its mac address. I hear they're working on something similar for hard
> drives, too.
Actually, this gave me an idea :)
I could have filtered out unwanted LVM, not unwanted devices.
And I did just that:
# vgchange --addtag @local vg0
# grep @local /etc/lvm/lvm.conf
volume_list = [ "@local" ]
regenerated initrd and all is well.
Thanks,
Vadym
>
> Dima
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems