diff options
author | Hans de Goede <hdegoede@redhat.com> | 2009-07-10 15:08:31 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2009-07-15 19:34:43 +0200 |
commit | bf08fe5fd86276f09d581e905159f67ac80bf422 (patch) | |
tree | ccb318ecf31b5c304705176a50708e1495a893e2 /70-anaconda.rules | |
parent | 3c5c63b75dfc2e67d6f473e12b7b9f100d557023 (diff) | |
download | anaconda-bf08fe5fd86276f09d581e905159f67ac80bf422.tar.gz anaconda-bf08fe5fd86276f09d581e905159f67ac80bf422.tar.xz anaconda-bf08fe5fd86276f09d581e905159f67ac80bf422.zip |
70-anaconda.rules: pass --ignorelockingfailure to lvm invocation
During testing I noticed that anaconda did not recognize pre-existing
logical volumes and thus that I could not upgrade / rescue an existing
default partitioning install.
I tracked this down to the last lvm call in 70-anaconda.rules failing
(udevadm test is your friend). Passing --ignorelockingfailure to lvm
fixes this. For good measure this patch does this for all invocations in
70-anaconda.rules
Diffstat (limited to '70-anaconda.rules')
-rw-r--r-- | 70-anaconda.rules | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/70-anaconda.rules b/70-anaconda.rules index 0fd76472c..65d3141ce 100644 --- a/70-anaconda.rules +++ b/70-anaconda.rules @@ -49,10 +49,10 @@ ENV{ID_FS_TYPE}=="linux_raid_member", IMPORT{program}="$env{ANACBIN}/mdadm --exa ENV{ID_FS_TYPE}=="isw_raid_member", IMPORT{program}="$env{ANACBIN}/mdadm --examine --export $tempnode" # probe metadata of LVM2 physical volumes -ENV{ID_FS_TYPE}=="LVM2_member", IMPORT{program}="$env{ANACBIN}/lvm pvs --units k --nosuffix --nameprefixes --rows --unquoted --noheadings -opv_name,pv_uuid,pv_size,vg_name,vg_uuid,pv_pe_count,pv_pe_alloc_count,pe_start $tempnode" +ENV{ID_FS_TYPE}=="LVM2_member", IMPORT{program}="$env{ANACBIN}/lvm pvs --ignorelockingfailure --units k --nosuffix --nameprefixes --rows --unquoted --noheadings -opv_name,pv_uuid,pv_size,vg_name,vg_uuid,pv_pe_count,pv_pe_alloc_count,pe_start $tempnode" ENV{LVM2_VG_NAME}!="?*", GOTO="anaconda_end" -ENV{ID_FS_TYPE}=="LVM2_member", IMPORT{program}="$env{ANACBIN}/lvm vgs --units k --nosuffix --nameprefixes --rows --unquoted --noheadings -ouuid,size,free,extent_size,extent_count,free_count,pv_count $env{LVM2_VG_NAME}" -ENV{ID_FS_TYPE}=="LVM2_member", IMPORT{program}="$env{ANACBIN}/lvm lvs --units k --nosuffix --nameprefixes --rows --unquoted --noheadings -olv_name,lv_uuid,lv_size $env{LVM2_VG_NAME}" +ENV{ID_FS_TYPE}=="LVM2_member", IMPORT{program}="$env{ANACBIN}/lvm vgs --ignorelockingfailure --units k --nosuffix --nameprefixes --rows --unquoted --noheadings -ouuid,size,free,extent_size,extent_count,free_count,pv_count $env{LVM2_VG_NAME}" +ENV{ID_FS_TYPE}=="LVM2_member", IMPORT{program}="$env{ANACBIN}/lvm lvs --ignorelockingfailure --units k --nosuffix --nameprefixes --rows --unquoted --noheadings -olv_name,lv_uuid,lv_size $env{LVM2_VG_NAME}" LABEL="anaconda_end" |