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

Mike Burns mburns at redhat.com
Thu Jul 25 11:43:07 UTC 2013


On 07/24/2013 07:10 AM, Bohai (ricky) wrote:
> 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 + "\"")

I'm guessing it's a bug, but I'll defer to Joey on this.

Mike

>
> Best regards to you.
> Ricky
>
> _______________________________________________
> node-devel mailing list
> node-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/node-devel
>




More information about the node-devel mailing list