Formatted file system:
mkfs.ext3-b 4096-i 8192-m 5 / dev/sdb4
-b data block size
said node-i inode number of bytes (or data block size)
-m 5 for the administrator to retain management of the disk space of 5%
ls-lh / mnt / u
du-sh / mnt / u
df-lh
# tune2fs-l / dev/sdb1 print file system attributes
# df
tune2fs to adjust characteristics of the file system ext2/ext3 tools
-l view the file system information
-m to retain pieces of the percentage of
mandatory set-c
-i
-j ext2 into ext3
tune2fs-c -1 / dev/sdb1 mount no matter how small times are not self -
tune2fs-c -1-i 0 / dev/sdb1 partition will never allow self -
# mkfs.ext2 / dev/sdb4 formatted as ext2
# tune2fs-j / dev/sdb4 converted to ext3
# df-T to view partition information
Inter-judge ext2 or ext3:
tune2fs-l / dev/sdb1 | grep features
See Filesystem features: has_journal
Are there has_journal, there is a ext3 file system
grep-i "name" is not case-sensitive
df-T partition type
fsck checks the file system data integrity tools
Use one, fsck-t ext2 / dev/sdb1
Second, fsck.ext3 / dev/sdb1
# more / etc / fstab
If mount options are 1 or 2, it should be a self-test
# fsck.ext3-y / dev/sdb1 automatically repair errors
0 评论:
发表评论