Detailed example of Linux automatic partitioning tool

黄舟
Release: 2017-05-26 09:17:47
Original
2397 people have browsed it


Note: Data loss may occur due to related operations. Therefore, before performing the operation, please make sure that the data has been effectively backed up through snapshots or other means, or make sure that the loss of relevant data will not have any impact.

Ordinary cloud disk


  • Applicable system: Compatible with all online non-IO optimized instances of ordinary cloud The Linux version of the disk.

  • Usage method: Execute the command as root: bash auto_fdisk.sh.

  • Applicable scenarios: One-click detection of whether there is an unpartitioned data disk, and the ability to format and automatically mount it, eliminating the need for Complex commands and steps.


SSD Cloud Disk



# #Applicable system: Compatible with all online IO optimization and SSD cloud disk Linux versions.

Usage: Execute the command as root: bash auto_fdisk_ssd.sh.

Applicable scenarios: One-click detection of whether there is an unpartitioned data disk, and the ability to format and automatically mount it, eliminating complex commands and steps.

FAQ

Problem phenomenon

After the script is run, the following

error message appears:

Step 1.No lock file,begin to create lock file and continue.Step 2.Begin to check free disk.No free disk need to be fdisk.Exit script.
Copy after login

Detailed example of Linux automatic partitioning tool

Cause of the problem

The above error is probably because the data disk is an SSD cloud disk and auto_fdisk.sh was used for the operation. This script only applies to ordinary cloud disks.

Solution

If the data disk is IO optimized or an SSD cloud disk, you need to use the auto_fdisk_ssd.sh script to operate.


The above is the detailed content of Detailed example of Linux automatic partitioning tool. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template