Linux Disk Management Tools

Source: Internet
Author: User

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/68/wKiom1Xi813iRUpWAAHSdxXgGTA877.jpg "title=" c1.png "alt=" Wkiom1xi813irupwaahsdxxggta877.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/72/68/wKiom1Xi82iyFq0mAAH2rM6fIz0371.jpg "title=" C2d.png "alt=" Wkiom1xi82iyfq0maah2rm6fiz0371.jpg "/>

===============================================================

II: GTP Partitioning and UEFI

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/72/68/wKiom1Xi85TTioIXAAHuCcVaFGs724.jpg "title=" c3.png "alt=" Wkiom1xi85ttioixaahuccvafgs724.jpg "/>

1. Protect MBR

Contains a DOS partition table (LBA0) that contains only one partition entry of type value 0xEE, on a disk less than 2TB, the size of the entire disk;

on a larger disk, it is fixed to a size of 2TB. Its role is to prevent disk tools that do not recognize the GPT partition from attempting to format it .


The EFI section can also be divided into 4 areas: the EFI Information area (GPT header), the partition table, the GPT partition, and the backup area.

2. EFI Information Area:

Actually with the LBA1 of the disk,

Function: Define the location and size of the partition table;

3. Partition table

Lba2-lba33

Role: The start address, end address, type value, first name, attribute flag, and GUID value in the partition table are composed of

4. GPT Partition

the largest region, composed of sectors assigned to partitions. The start and end addresses of this area are defined by the GPT header.

5. Backup Area

Backup of GPT headers and partitioned tables

back up the EFI information for Sector 1th, and the remaining 32 sectors are used to back up the partition table for the LBA2~LBA33 sector.

< Span style= "Background-color:inherit;" >

< Span style= "Background-color:inherit;" >=================================================================

< Span style= "Background-color:inherit;" > III: Partition management Tools-   -----fdisk, parted, Sfdisk-------


1. fdisk command:

#fdisk-L [-u] [device ...]

For a single drive, you can manage up to 15 partitions

#fdisk/device

subcommands: Administrative functions         

P:print, showing existing partitions;

N:new creation;

< Span style= "Background-color:inherit;" >        d:delect, delete;

< Span style= "Background-color:inherit;" >        W:write, write to disk and exit;      

< Span style= "Background-color:inherit;" >        Q:quit, discard updates and exit

M: Get Help

L: The partition ID of the list

< Span style= "Background-color:inherit;" >        T: Adjust partition ID

#cat/proc/partations// See if the kernel has identified a new partition

#partx-a/dev/device//notifies the kernel to re-read the disk partition table


2, parted-----to achieve partition operation of large-capacity GPT disk.

A, command line mode: parted [option] device [command]

B. Interactive mode: parted [option] Device


This article is from the "86962983" blog, please be sure to keep this source http://wangzenghui.blog.51cto.com/9702487/1689934

Linux Disk Management Tools

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.