- pass -ff to pvcreate to avoid warning about not being able to
authorMark Huang <mlhuang@cs.princeton.edu>
Fri, 7 Jul 2006 18:48:46 +0000 (18:48 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Fri, 7 Jul 2006 18:48:46 +0000 (18:48 +0000)
  re-create a physical volume on an existing disk

source/steps/InstallPartitionDisks.py

index 9f7d4c7..fcece53 100644 (file)
@@ -307,7 +307,7 @@ def create_lvm_physical_volume( part_path, vars, log ):
         ### patch Thierry Parmentelat, required on some hardware
         import time
         time.sleep(1)
-        utils.sysexec( "pvcreate -fy %s" % part_path, log )
+        utils.sysexec( "pvcreate -ffy %s" % part_path, log )
     except BootManagerException, e:
         log.write( "create_lvm_physical_volume failed.\n" )
         return 0