diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-06-11 00:17:49 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-06-11 00:17:49 +0000 |
commit | 138bc062e072b40d73635c3d92e89b38264dc638 (patch) | |
tree | 3773e4d1061de0e5e1c1f4ee1a27be0574482fc8 /fsset.py | |
parent | 1f91fc063d87ae08f472b087428272cfea95d9c1 (diff) | |
download | anaconda-138bc062e072b40d73635c3d92e89b38264dc638.tar.gz anaconda-138bc062e072b40d73635c3d92e89b38264dc638.tar.xz anaconda-138bc062e072b40d73635c3d92e89b38264dc638.zip |
use -v to vgcreate, not pvcreate
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1538,9 +1538,7 @@ class VolumeGroupDevice(Device): # there be a PhysicalVolumeDevice(PartitionDevice) ? rc = iutil.execWithRedirect("/usr/sbin/pvcreate", ["pvcreate", "-ff", "-y", - "-v", "-p", - "%sk" %(self.physicalextentsize,), - node], + "-v", node], stdout = "/tmp/lvmout", stderr = "/tmp/lvmout", searchPath = 1) @@ -1552,7 +1550,9 @@ class VolumeGroupDevice(Device): # rescan now that we've recreated pvs. ugh. lvm.vgscan() - args = [ "/usr/sbin/vgcreate", "-v", self.name ] + args = [ "/usr/sbin/vgcreate", "-v", + "-p", "%sk" %(self.physicalextentsize,), + self.name ] args.extend(nodes) rc = iutil.execWithRedirect(args[0], args, stdout = "/tmp/lvmout", |