Linux Fundamentals 14

Source: Internet
Author: User

1. Disk partition management tool     FDISK /DEV/DEVICE        D: deleting partitions          n: New Partition          P: List Existing partitions         t: Adjust partition id         l: List kernel-supported partitions id        w: Save and exit          q: Do not save exit              reread partition      centos 5 : partproble    centos 6 : partx,  kpartx     cannot reread partition resolution     kpartx -l /dev/sda     kpartx -af /dev/sda    partx -a /dev/sda          Create a partition         mkfs -t fstype /dev /device  eg: mkfs -t ext2 /dev/sda3        mkfs.ext2 /dev/ device        mke2fs /dev/device                 mkfs -t ext4 =mkfs.ext4  =mke2fs -t ext4        mkfs -t ext3 = mkfs.ext3=mke2fs -text3=mke2fs -j                 mke2fs  Configuration Files  /etc/mke2fs.conf             -t:{ext2|ext3|ext4}             -j:journal  equivalent to-t ext3             -l: Equipment Label             -b:{1024|2048|4096}  Specifies the block size              -i#: Specify # bytes reserved for a inode             -i: Specify Inode size              -n #: Specify reserved # inode            -m directly  #: Percentage of space reserved for administrators, default reservation 5%               -o: Specify partition characteristics                   View volume label:e2lable /dev/device      setting volume Label: e2lable /dev/device lable          View device Properties:blkid /dev/device  view: UUID and type          View Super Block info: Dump2fs /dev/device

Linux Fundamentals 14

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.