[node-patches] Change in ovirt-node[master]: storage: Don't call gptsync

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Aug 8 12:11:26 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: storage: Don't call gptsync
......................................................................

storage: Don't call gptsync

Previously gptsync needed to be called to create legacy MBR pt layouts
for older bootloaders. This is no longer needed, because parted is
creating correct layouts.

Change-Id: Ib301818bf49162f12bb1b72e229409bacfe63703
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirtnode/storage.py
1 file changed, 0 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/33/17833/1

diff --git a/src/ovirtnode/storage.py b/src/ovirtnode/storage.py
index ae497d9..1187e1c 100644
--- a/src/ovirtnode/storage.py
+++ b/src/ovirtnode/storage.py
@@ -451,13 +451,6 @@
                                   "\" -s \"print\"")
                 _functions.system("udevadm settle 2> /dev/null || " + \
                                   "udevsettle &>/dev/null")
-                # sync GPT to the legacy MBR partitions
-                if ("OVIRT_INSTALL_ROOT" in _functions.OVIRT_VARS and
-                     _functions.OVIRT_VARS["OVIRT_INSTALL_ROOT"] == "y"):
-                    if self.LABEL_TYPE == "gpt":
-                        logger.info("Running gptsync to create legacy mbr")
-                        _functions.system("gptsync \"" + \
-                                          self.ROOTDRIVE + "\"")
 
                 self.physical_vols.append((drv, hostvgpart))
         drv_count = 0


-- 
To view, visit http://gerrit.ovirt.org/17833
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib301818bf49162f12bb1b72e229409bacfe63703
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list