Linux Learning Notes-file System Management (vii)

Source: Internet
Author: User
Tags disk usage

+++++++++++++++++++++++++ +++++ File System Management +++++++++++++++++++++++++++++++ 1. Partitioning and file system:Partition type:          The partition represents:                                     File System:upgraded version of Ext2:ext with maximum support for 16TB file system and 2TB filesext3:ext2 upgrade version, and ext2 difference is with the log functionupgraded version of EXT4:EXT3 with maximum support for 16EB file system and 16TB files           2. File system common Commandsfile System View command: df--view disk partitions and their usage     statistics directory or file size: du--is typically used to count directory sizesoption:-A displays disk usage per child file-H uses custom units to display disk footprint, such as KB,MB,GB- s statistics total usage, not list of directory and sub-file usage     the du command differs from the DF command:
The DF command takes into account the file system, not only the space occupied by the file, but also the space occupied by the command or program.The du command is file-oriented and only calculates the space occupied by files and directories     File System repair command: FSCK partition device file name     Show disk status command: DUMPE2FS partition device file name     mount Command:Query System mounted devices: Mount-lAuto Mount: mount-a--automatically mounts according to the contents of the profile/etc/fstabMount command format: Mount [-t file system] [-l volume label name] [-o Special Options] device file name mount pointmounting discs and USB sticks:Mounting Discs--Set up mount point: Mkdir/mnt/cdrom--Insert Disc--Mount CD: Mount-t iso9660/dev/sr0/mnt/cdrom--Uninstall: Unmount/mnt/cdromMount USB: mount-t vfat/dev/sdb1/mnt/usb/Note: View the file device name of the USB drive--fdisk-lLinux default is not supported for NTFS file system     NTFS file system supportDownload ntfs-3g PluginInstalling the NFTS-3G pluginMount: mount-t ntfs-3g/dec/sdb1/mnt/usb1  3. Fdisk Manual Partitioning
fdisk Command Partitioning procedure: command--fdisk/dev/sdb fdisk interactive instruction description table re-reads partition table information: Partprobe command format partition: mkfs-t ext4/dev/sdb1
Partition Auto mount and fstab file repair:Modify the contents of a/etc/fstab file                Auto Mount command: Mount-a            /etc/fstab File Repair: Mount-o REMOUNT,RW/ +++++++++++++++++++++++++ +++++ File System Management +++++++++++++++++++++++++++++++

Linux Learning Notes-file System Management (vii)

Related Article

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.