[node-devel] about gptsync command in ovirt-node

Bohai (ricky) bohai at huawei.com
Wed Jul 24 11:10:36 UTC 2013


Hi,

I found in ovirt-node setup code "gptsync" command is used.
But in fact there is no "gptsync" in the ovirt-node system.

Whether it's a risk for some problem or not?

 409     def create_hostvg(self):

 454                 # sync GPT to the legacy MBR partitions
 455                 if ("OVIRT_INSTALL_ROOT" in _functions.OVIRT_VARS and
 456                      _functions.OVIRT_VARS["OVIRT_INSTALL_ROOT"] == "y"):
 457                     if self.LABEL_TYPE == "gpt":
 458                         logger.info("Running gptsync to create legacy mbr")
 459                         _functions.system("gptsync \"" + \
 460                                           self.ROOTDRIVE + "\"")

Best regards to you.
Ricky




More information about the node-devel mailing list