Method and device for conducting partition formatting and mounting on hard disk
A technology of hard disk partition and hard disk, which is applied in the direction of program control device, program loading/starting, input/output to record carrier, etc., which can solve the problems of cumbersome and inconvenient operation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] figure 1 It shows the implementation flow of the hard disk partition formatting and mounting method provided by Embodiment 1 of the present invention.
[0038] like figure 1 As shown, the method of formatting and mounting the hard disk partition is as follows:
[0039] In step S101, when booting and / or when hot plugging of a hard disk device is detected, a pre-set partition formatting and mounting script is invoked to perform partition formatting on the hard disk device.
[0040] In the present invention, when the system starts and / or detects that a hard disk device is hot-plugged, the script that is called when the linux boot script and the hard disk device are hot-plugged can automatically call the partition formatting and mounting script to partition the hard disk device, Then do the formatting again. Wherein, only one partition is divided when the hard disk device is partitioned. The system is a linux system.
[0041] The partition formatting and mounting scrip...
Embodiment 2
[0054] figure 2 It shows the implementation flow of the method for partition formatting and mounting when the hard disk is hot plugged provided by Embodiment 2 of the present invention.
[0055] like figure 2 As shown, the partition formatting and mounting methods when the hard disk is hot plugged are as follows:
[0056] In step S201, when it is detected that a hard disk device is hot-plugged, it is determined whether the hard disk device has been partitioned and formatted by the cloud storage data storage node.
[0057] In this embodiment, when a hard disk is detected to be hot-plugged, the script smart_mount_disk.sh for partition formatting and mounting will be triggered to automatically determine whether the hard disk device has been partitioned and formatted by the cloud storage data storage node. If the judgment result is yes, execute step S202; otherwise, execute step S203.
[0058] The cloud storage data storage node refers to a storage node in a cloud storage clu...
Embodiment 3
[0091] Figure 4 It shows the composition and structure of the hard disk partition formatting and mounting device provided by Embodiment 3 of the present invention.
[0092] like Figure 4 As shown, the hard disk partition formatting and mounting device includes:
[0093] Partition formatting module 41, when being used for starting up and / or detecting that there is a hard disk device hot plug, call the pre-set partition formatting mount script to carry out partition formatting to the hard disk device;
[0094] The mounting module 42 is configured to mount the partition formatted hard disk device through the partition format mount script after the partition format is completed.
[0095] Further, the device also includes:
[0096] The setting module 43 is used to pre-set the function of calling the partition formatting and mounting script in the system startup script and the script called when the hard disk device is hot plugged.
[0097] Further, the partition formatting mo...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com