Check patentability & draft patents in minutes with Patsnap Eureka AI!

Hard disk formatting method and device and storage medium

A hard disk formatting and hard disk technology, applied in the input/output process of data processing, instruments, electrical digital data processing, etc., can solve problems such as unrealizable, time-consuming, reinstallation, etc., to save time and simple structure , design principle and reliable effect

Inactive Publication Date: 2020-07-31
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The traditional hard disk formatting method is to format the hard disk under the operating system, delete the raid and other information in the hard disk, but when there is no operating system environment, you need to reinstall the operating system and then perform the hard disk formatting operation
It takes a lot of time to install the operating system, and when there is only one hard disk, the method of installing the operating system and then formatting the hard disk cannot be realized

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
  • Hard disk formatting method and device and storage medium
  • Hard disk formatting method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] Such as figure 1 As shown, a method for formatting a hard disk provided in this embodiment includes the following steps:

[0039] S1: Steps to mount the system image file, including:

[0040] Mount the Linux system image file to the server system through BMC, U disk or CD, and decompress and install the image file;

[0041] S2: Steps for starting the rescue mode, specifically including:

[0042] Enter the rescue mode according to the linux startup process, and mount the root directory to the root directory of the hard disk system by executing the command chroot / mnt / sysimage;

[0043] S3: Steps for detecting the number of hard disks, specifically including:

[0044] Execute the lsblk command to view the number of hard disks mounted in rescue mode;

[0045] S4: Steps of formatting the hard disk, specifically including:

[0046] Format the hard disk to the corresponding file system, and save the log information of the formatted hard disk; check the log information to ...

Embodiment 2

[0050] Such as figure 2 As shown, a hard disk formatting device provided in this embodiment includes:

[0051] Mount the system image file module 1, in this module,

[0052] Mount the Linux system image file to the server system through BMC, U disk or CD, and decompress and install the image file;

[0053] Start rescue mode module 2, in this module,

[0054] Enter the rescue mode according to the linux startup process, and mount the root directory to the root directory of the hard disk system by executing the command chroot / mnt / sysimage;

[0055] The detection module 3 of the number of hard disks, in this module,

[0056] Execute the lsblk command to view the number of hard disks mounted in rescue mode;

[0057] Execute formatting module 4 on the hard disk, in this module,

[0058] Format the hard disk to the corresponding file system, and save the log information of the formatted hard disk; check the log information to determine whether the hard disk is formatted succes...

Embodiment 3

[0062] This embodiment provides a computer storage medium, where instructions are stored in the computer storage medium, and when the computer storage medium is run on a computer, the computer executes the method described in Embodiment 1 above.

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 invention relates to a hard disk formatting method and device and a storage medium. The method comprises the steps that S1, mounting a system mirror image file; s2, starting a rescue mode; s3, detecting the number of hard disks; s4, formatting the hard disk; and S5, inquiring hard disk information.

Description

technical field [0001] The invention belongs to the technical field of hard disk formatting, and in particular relates to a method, device and storage medium for hard disk formatting. Background technique [0002] With the continuous development of network applications, the server has higher and higher requirements for data storage. As we all know, the hard disk is the main storage device of the computer. During the server testing process, due to the shortage of components, the same hard disk will be used by multiple project teams for testing in rotation. The used hard disk may store a large amount of data information, resulting in the situation that the hard disk cannot be used directly. And the residual information in the hard disk may affect the accuracy of the test data. Therefore, formatting the hard disk is an important step before performing new tests. [0003] The traditional hard disk formatting method is to format the hard disk under the operating system and del...

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 Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0604G06F3/0632G06F3/0676
Inventor 张燕
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More