No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FAQ- How to check system block in Windows OS and Linux OS

Publication Date:  2014-12-19 Views:  119 Downloads:  0
Issue Description
We need system block to get better performance when planning stripe unit of LUN and configuration of database.
This article explain you how to get system block under windows and linux OS.
Solution
In Windows OS:
Open CMD prompt, execute command chkdsk :
C:\Users\>chkdsk


4096 bytes in each allocation unit, this sentence means system block is 4MB.

Linux(Suse) OS:
Execute this command in command line, /dev/sda1 is system booting disk:
If you want to view the block size of some particular disk, just use the commmand plus disk physical name.
Suse11SP1:~ # /sbin/tune2fs -l /dev/sda1
tune2fs 1.41.9 (22-Aug-2009)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          61d9343d-bc6b-4cd2-88ec-d00646b93546
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super
Filesystem flags:         signed_directory_hash
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              18072
Block count:              72260
Reserved block count:     3613
Free blocks:              39280
Free inodes:              18030
First block:              1
Block size:               1024         // system block size, KB, so booting disk block size it 1MB
Fragment size:            1024


Note: How to recognize system booting disk
# fdisk -l                 // the disk with symbol '*' is booting disk.

Disk /dev/sda: 17.2 GB, 17179869184 bytes
255 heads, 63 sectors/track, 2088 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a0ef3

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1           9       72261   83  Linux
/dev/sda2              10        1958    15655342+  8e  Linux LVM

END