View file system types under Linux

Source: Internet
Author: User
Tags readable

1. Df-ht command

-H,--human-readable print sizes in human readable format (e.g., 1K 234M 2G)

-T,--print-type print file system type

[Email protected] ~]# DF-htfilesystem Type Size used Avail use%mounted on/dev/mapper/rhel-root XFS 18G4.5G 13G -% /Devtmpfs Devtmpfs 911M0911M0% /Devtmpfs Tmpfs 921M0921M0%/dev/Shmtmpfs Tmpfs 921M8.4M912M1% /Runtmpfs Tmpfs 921M0921M0%/sys/fs/Cgroup/DEV/SDB1 EXT44.8G 20M4.6G1% /TestDisk/DEV/SDA1 XFS 497M 124M 374M -% /Boottmpfs Tmpfs 185M0185M0%/run/user/0

XFS is the default file system type for the RHEL7 version.

2. Use the parted Disk Management tool to view

[[Email protected] ~]# Partedgnu Parted3.1Using/dev/sdawelcome to GNU Parted! Type' Help'To view a list of commands. (parted) Print List Model:ata VBOX harddisk (SCSI) Disk/DEV/SDA: +. 5GBSector size (Logical/physical): 512b/512BPartition table:msdosdisk flags:number Start End Size Type File system Flags11049kB 525MB 524MB primary XFS boot2525MB +.5GB -. 9GB Primary lvmmodel:ata VBOX harddisk (SCSI) Disk/dev/sdb:5369mbsector size (logical/physical): 512b/512BPartition table:msdosdisk flags:number Start End Size Type File system Flags11049kB 5369MB 5368MB primary ext4model:ata VBOX harddisk (SCSI) Disk/dev/sdc:2147mbsector size (logical/physical): 512b/512BPartition table:msdosdisk flags:number Start End Size Type File system Flags11049kB 106MB 105MB Primary linux-Swap (v1) model:linux device-Mapper (linear) (DM) Disk/dev/mapper/rhel-swap:2147mbsector size (logical/physical): 512b/512BPartition table:loopdisk flags:number Start End Size File system Flags1      0.00B 2147MB 2147MB linux-Swap (v1) model:linux device-Mapper (linear) (DM) Disk/dev/mapper/rhel-root: -. 8GBSector size (Logical/physical): 512b/512BPartition table:loopdisk flags:number Start End Size File system Flags1      0.00B -.8GB -. 8GB XFS (parted) quit [[email protected]~]#

View file system types under Linux

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.