هذا الجزء لم يُترجم بعد. أنت ترى النص الإنجليزي.
ماذا يفعل
dumpe2fs -h prints the superblock (like tune2fs -l): label, UUID, features, sizes, mount options. Without -h it also lists every block group — including where the backup superblocks are, which you need to repair a damaged file system with e2fsck -b.
طريقة الكتابة
dumpe2fs [-bfghixV] [-o superblock=N] [-o blocksize=N] DEVICEالخيارات 10
الأكثر استخدامًا
لا يوجد شيء يطابق هذا الفلتر.
أمثلة 10
$ مستخدم عادي# بصلاحية root (أو مع sudo)
1Superblock only
dumpe2fs -h /dev/vdb2Label, UUID, features, counts, times.
2Find the backup superblocks
dumpe2fs /dev/vdb2 | grep -i 'backup superblock' Backup superblock at 32768, Group descriptors at 32769-32769Write these numbers down.
3Repair with a backup superblock
e2fsck -b 32768 /dev/vdb2When the main superblock is damaged.
4Default mount options
dumpe2fs -h /dev/vdb2 | grep -i 'mount options'Set with tune2fs -o.
5Features of the file system
dumpe2fs -h /dev/vdb2 | grep -i featureshas_journal, extent, 64bit, metadata_csum …
6Reserved blocks and block size
dumpe2fs -h /dev/vdb2 | grep -E 'Reserved block count|Block size|Block count'Calculate the percentage.
7When was it created and checked?
dumpe2fs -h /dev/vdb2 | grep -E 'created|Last checked|Last mount time'History of the file system.
8Bad blocks list
dumpe2fs -b /dev/vdb2Empty on healthy disks.
9Use a backup superblock to read
dumpe2fs -o superblock=32768 -o blocksize=4096 /dev/vdb2 | headWhen the main one cannot be read.
10Check if the device is in use (MMP)
dumpe2fs -m /dev/vdb2For shared storage with multi-mount protection.
لا يوجد شيء يطابق هذا الفلتر.
رموز الخروج
0 | Done. |
1 | Error. |