Linux disk formatting tutorial, how to query the partition format ?, Linux partition

Source: Internet
Author: User

Linux disk formatting tutorial, how to query the partition format ?, Linux partition

Linux supports many partition formats. How can I query them?

You can use mkfs. ext4/dev/sdb1 or mke2fs-t ext4/dev/sdb1.

Mkfs is followed by the partition format. If the format is re-formatted, the-f parameter must be added.

After the partition is formatted, You need to mount the partition for normal use. before mounting, how can you view the formatted partition? Use blkid [partition] to view the unmounted Partition

Mke2fs and mkfs have three parameters. Note that-B specifies the block size. If the partition stores large files, you can set the block size not 8192-m to specify the partition size m reserved for the root user as a percentage or decimal number. -I specifies the size of the corresponding inode block. The smaller the block, the more inode is supported.

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.