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

Fabian Deutsch fabiand at redhat.com
Wed Aug 7 13:28:19 UTC 2013


Am Donnerstag, den 25.07.2013, 07:43 -0400 schrieb Mike Burns:
> 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.

According to the anaconda devs (which packaged gptsync) gptsync is not
needde anymore, b/c parted can write the correct partition tables now.
gptsync is therefor no longer packaged.

- fabian

> Mike
> 
> >
> > Best regards to you.
> > Ricky
> >
> > _______________________________________________
> > node-devel mailing list
> > node-devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/node-devel
> >
> 
> _______________________________________________
> 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