In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "the usage of Linux basic command dumpe2fs". In daily operation, I believe many people have doubts about the usage of Linux basic command dumpe2fs. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about "the usage of Linux basic command dumpe2fs"! Next, please follow the editor to study!
Dumpe2fs
Displays super fast and block group information for ext2, ext3, and ext4 file systems. The scope of this command: RedHat, RHEL, Ubuntu, CentOS, SUSE, openSUSE, Fedora.
1. Grammar
Dumpe2fs [- bfhixV] [- o superblock=superblock] [- o blocksize=blocksize] device
2. List of options
Option
Description
-b
Show corrupted blocks retained in the file system
-o superblock=superblock
When checking the file system, use a super block of the specified size. This option is usually not required unless the File system Wizard is checking the rest of a severely corrupted file system.
-o blocksize=blocksize
When checking the file system, specify the block size. This option is usually not required unless the File system Wizard is checking the rest of a severely corrupted file system.
-f
Enforcement
-h
Displays only super block information, not any block group descriptor details
-I
Displays the file system information obtained from e2image, using the device as the pathname of the image file.
-x
Display file system information in hexadecimal
-V
Displays the command version information and exits
3. Examples
Display chunking information for sdb4
[root@localhost ~] # dumpe2fs / dev/sdb4
Dumpe2fs 1.41.12 (17-May-2010)
Filesystem volume name:
Last mounted on:
Filesystem UUID: e2a0cb30-f3ca-47de-92b8-780296960d93
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
. . .
Group 0: (Blocks 1-8192)
Master superblock at 1, Group descriptors at 2-2
Reserved GDT blocks are located at 3-65
Block bitmap at 66 (+ 65), Inode bitmap at 67 (+ 66)
Inode table is located at 68-323 (+ 67)
7855 free blocks, 2037 free inodes, 2 directories
Number of available blocks: 338-8192
Number of inode available: 12-2048
Group 1: (Blocks 8193-16383)
. . .
At this point, the study of "the usage of the Linux basic command dumpe2fs" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.