Link to the original text:
https://www.cnblogs.com/youbiyoufang/p/7607174.html
————————————————————————-
DF – t can only view mounted partitions and file system types.
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sda1 ext4 20642428 3698868 15894984 19% /
tmpfs tmpfs 32947160 0 32947160 0% /dev/shm
Fdisk – L displays all mounted and unmounted partitions, but does not display the file system type.
Disk /dev/sda: 299.4 GB, 299439751168 bytes
255 heads, 63 sectors/track, 36404 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes/512 bytes
I/O size (minimum/optimal): 512 bytes/512 bytes
Disk identifier: 0x000576df
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 20971520 83 Linux
/dev/sda2 2611 3134 4194304 82 Linux swap/Solaris
/dev/sda3 3134 36404 267248282 83 Linux
Parted – L to see the types of unmounted file systems and which partitions are not formatted.
Model: LSI MR9240-8i (scsi)
Disk /dev/sda: 299GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 21.5GB 21.5GB primary ext4 boot
2 21.5GB 25.8GB 4295MB primary linux-swap(v1)
3 25.8GB 299GB 274GB primary ext4
Lsblk – F can also view unmounted file system types.
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
|-sda1 ext4 c4f338b7-13b4-48d2-9a09-8c12194a3e95 /
|-sda2 swap 21ead8d0-411f-4c23-bdca-642643aa234b [SWAP]
`-sda3 ext4 2872b14e-45va-461e-8667-43a6f04b7bc9
file -s /dev/sda3
/dev/sda3: Linux rev 1.0 ext4 filesystem data (needs journal recovery) (extents) (large files) (huge files)
Read More:
- [windows] U disk installed system, unable to format the selected partition [error: 0x8004242d]
- U disk installation Linux system could not boot, / dev / root does not exist and the identified hard disk space is not available
- Solve the problem of non system disk or disk error, replace and strike any key when ready
- Non system disk or disk error
- Viewing crontab log of timed tasks in Linux
- Solve cannot execute binary file: exec format error under Linux
- Win7 and Ubuntu dual system, start error: no such partition grub rescue
- Mount windows NTFS partition under Linux
- VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet!
- The bash file written by windows runs in Linux system error
- Linux view folder size, remaining disk space (DU / DF)
- Viewing MD5 value of file under Windows
- AIX system error one disk error
- “An error occurred while adding a recovery system to the destination disk
- Disk read error solution for new hard disk installation
- How to clean up the disk space of Linux server
- Viewing events.out.tfevents file visually in tensorboard
- [Solved] Imx6qdl Android 5.0 kernel 3.10 can’t mount system file system
- Expanding the file system based on XFS in LVM
- Error messages of copying files to Linux system by PSCP in Windows operating system