Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and electronic equipment for correcting bpb parameters of cloud hard disk

A cloud hard disk and hard disk technology, applied in the computer field, can solve the problems of cloud host migration failure, unable to find the cloud hard disk boot program, etc., to achieve the effect of improving migration efficiency and migration success rate

Active Publication Date: 2022-06-28
上海华云互越数据技术有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if the BPB parameters of the hard disk in the source device are inconsistent with the BPB parameters of the cloud hard disk started on the cloud platform after migration, the cloud platform will not be able to find the bootloader of the cloud hard disk, which will cause the migration of the cloud host to fail.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and electronic equipment for correcting bpb parameters of cloud hard disk
  • A method and electronic equipment for correcting bpb parameters of cloud hard disk
  • A method and electronic equipment for correcting bpb parameters of cloud hard disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] ginseng Figure 1 to Figure 6 As shown, this embodiment discloses a specific implementation of a method for correcting BPB parameters of a cloud hard disk (hereinafter referred to as "method").

[0038] The method for correcting the cloud hard disk BPB parameters disclosed in this embodiment is intended to be a physical hard disk or a virtual hard disk (ie cloud hard disk) in the source device 10 or a computer device based on a virtual hard disk (the computer device includes but does not (limited to X86 physical machines, virtual machines, virtual machine clusters, cloud servers, data centers) are migrated to the peer device 20 and used in the scenario where the peer device 20 creates and starts the first virtual machine. The first virtual machine is mounted from a physical hard disk or a virtual hard disk or a virtual hard disk-based computer device migrated from the source device 10 . In this embodiment, the applicant provides a migration scenario for migrating and m...

Embodiment 2

[0067] combine Figure 7 As shown, this embodiment discloses a specific implementation of the electronic device 100 .

[0068] ginseng Figure 7 As shown, this embodiment discloses an electronic device 100, including: a processor 51, a memory 52, and a computer program stored in the memory 52 and configured to be executed by the processor 51, the processor 51 is executing all When the computer program is described, the steps in the method for correcting the BPB parameter of a cloud hard disk as described in the first embodiment are executed.

[0069] Specifically, the memory 52 is composed of several storage units, namely, the storage unit 521 to the storage unit 52i, wherein the parameter i takes a positive integer greater than or equal to two. Both the processor 51 and the memory 52 are connected to the system bus 53 . The form of the system bus 53 does not need to be specifically limited, I2C bus, SPI bus, SCI bus, PCI bus, PCI-e bus, ISA bus, etc., can be reasonably chang...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a method for correcting BPB parameters of a cloud hard disk and electronic equipment, the method comprising: using the wmic command to query part of the BPB parameter attributes of the hard disk in the source device, so as to write the part of the BPB parameter attributes of the hard disk in the source device Transit device; the transit device determines the properties of some BPB parameters of the hard disk that is to be mounted on the first virtual machine in the peer device, and mounts the hard disk on the peer device to be the first virtual machine in the peer device When some of the BPB parameter attributes of the source device are inconsistent with the part of the BPB parameter attributes passed in from the source device, only the part of the BPB parameter attributes passed in from the source device will be written to the first virtual machine mounted on the peer device. hard drive. Through the present invention, the situation that the virtual machine migrated to the peer device cannot be started due to the inconsistency of the BPB parameters in the boot partition during the process of migrating the hard disk of the source device to the peer device is effectively avoided, and improved Cloud host migration efficiency and migration success rate.

Description

technical field [0001] The invention relates to the field of computer technology, and in particular, to a method and electronic device for correcting BPB parameters of cloud hard disks. Background technique [0002] When the BIOS loads the Master Boot Record (MBR) into the memory address 0:0x7c00, the CPU starts running at this address. The MBR is located in sector 001 of the hard disk. MBR includes a 446-byte boot program, a 64-byte hard disk partition table, and 2-byte end markers 0x55 and 0xaa. Then the MBR loads the OBR (OS Boot Record, the operating system loader or the main boot program of the operating system) into the memory and then jumps to the code execution of the OBR, and the OBR loads the code of the operating system into the memory. Therefore, during the startup process of the Windows system and other operating systems, the first 446 bytes (MBR) code of the first sector of the hard disk is read and executed, and the MBR will be searched according to the 64-b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/4401G06F9/455G06F9/48
CPCG06F9/4408G06F9/45558G06F9/4856G06F2009/45575G06F2009/4557
Inventor 李帅杨帅麒雷准富
Owner 上海华云互越数据技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products