On Linux systems, you can use command TUNE2FS to test the following
[Root@localhost test10g]# tune2fs-help tune2fs 1.35 (28-feb-2004) tune2fs:invalid option--H usage:tune2fs [-C Max-mo Unts-count] [e-errors-behavior] [G Group] [-I interval[d|m|w]] [-j] [-j journal-options] [-l] [-s sparse-flag] [ -M reserved-blocks-percent] [-O [^]mount-options[,...]]
[R Reserved-blocks-count] [-u user] [-C Mount-count] [-L Volume-label]
[M Last-mounted-dir] [-O [^]feature[,...]] [-T Last-check-time] [-u UUID] device [root@localhost test10g]# DF filesystem 1k-blocks Used Available use% mounted On/dev/sda2 8 776068 7576504 753764 91% /
/dev/sda1 497829 16303 455824 4% /boot
none 517300 0 517300 0% /de V/shm/dev/sda5 1035660 96452 886600 10%/tmp [root@localhost test10g]# tune2fs-l/dev/sda1|grep block block cou nt:514048 block size:1024 Blocks/group:8192 [root@localhost test10g]# tune2fs-l/dev/sda2|g Rep block blocks count:2229018 block size:4096 BlOcks per group:32768
The block size above is the blocks.
On a Windows system, you can use the command fsutil to view the following tests:
C:\Documents and Settings\ct2>fsutil--help
--HELP is an invalid parameter.
Commands that----support----
Behavior Control file system behavior
dirty the corrupted bits of the management volume file file-specific commands
fsinfo filesystem information
Hardlink Hard link Management
objectid Object ID Management
quota Quota Administration
reparsepoint re-analysis point management
sparse sparse file control
USN USN Management
Volume volume management
C:\Documents and Settings\ct2>fsutil fsinfo ntfsinfo C:
NTFS Volume serial number: 0x72ccb5f2ccb5b129
version: 3.1
area number: 0x0000000008ff8235
cluster total: 0x00000000011ff046
Available clusters: 0x0000000000547b73
total reserved: 0x0000000000000050
per sector bytes:
4096 bytes per cluster
bytes per filerecord segment: 1024
per Filerecord segment: 0
MFT Valid data length: 0x0000000009cac000
MFT Start L CN: 0x00000000000c4df6
Mft2 start Lcn: 0x00000000008ff823
Mft zone start: 0x0000000001067920
Mft Zone End : 0x000000000108ce60
The number of cluster bytes above is both block size.
Note: The second extended file system (second Extended filesystem,ext2). EXT3 (third Extended filesystem)
Man FS ext2 are the high performance disk filesystem used by Linux for fixed disks as as a removable Media. The second extended filesystem is designed as an extension of the
extended file
System (EXT). EXT2 offers the best performance (in terms of speed and CPU usage) of the filesystems supported under
Linux.
Ext3 is a journaling version of the ext2 filesystem. It is easy to
switch back and forth between ext2 and ext3.
Ext3 is a journaling version of the ext2 filesystem Ext3 offers the most
complete set of journaling />available among
journaling filesystems.
The above is small series for everyone to see the Linux file system block size of the implementation of the whole content, I hope that we support cloud Habitat Community ~