The linuxT-level partition is a very useful parted command. for users who require T-level partitions, it is a good command: parted [option]... [device [command [parameter]...] apply a command with parameters to a device. If no command is provided, it is run in interactive mode. Option:-h, -- el...
Linux T-level partition is a very useful parted command. for users who need T-level partitions, it is a good command: parted [option]... [device [command [parameter]...] apply the Command with "parameter" to "device ". If no "command" is provided, it is run in interactive mode. Option:-h, -- help displays the help information-I, -- interactive prompts the user-s when necessary, -- script never prompts the user-v, -- version displays the version www.2cto.com command: check MINOR and perform a simple check on the file system. cp [FROM-DEVICE] FROM-minor to-MINOR copies the file system TO another partition. help [COMMAND] prints the common help information, or the COMMAND information mklabel label type to create a new disk label (partition table) mkfs MINOR file system type in the file system where the MINOR creation type is "file system type" mkpart partition type [file system type] start point termination point create a partition mkpartfs partition type file system type start point termination click Create a partition with a file system move MINOR start point stop point move MINOR partition name MINOR name the partition number MINOR is named "name" print [MINOR] print partition table, or the partition quit exit program rescue start point termination point to save the lost partition resize MINOR start point near "start point" and "end point" to change the file system size in the partition numbered MINOR. rm MINOR delete the partition with the id minor select device select the device set MINOR flag to be edited the flag of the partition with the status changed to MINOR www.2cto.com # parted/dev/sda // open the partition device # (parted): mklabel gpl // create a label # (parted): print // view the details of the current device partition. The Master partition cannot exceed 2 TB, partitions larger than 2 T can only be extended partition file system type (primary/extended/logical) # (parted): mkpart extended start position and end position # (parted ): quit // exit the parted partition tool. the partition is only used and not formatted. the required format is ext2 \ ext3 \ ext4 author zhuimin.
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