°Ô½Ã¹° 260°Ç
   
[redhat6.5] block »çÀÌÁî ¾Ë¾Æº¸±â
±Û¾´ÀÌ : theko ³¯Â¥ : 2015-05-12 (È­) 11:40 Á¶È¸ : 5859

block »çÀÌÁî ¾Ë¾Æº¸±â 

¸®´ª½º¿¡¼­ »ç¿ë ÁßÀÎ ºí¶ô Å©±â¸¦ È®ÀÎÇÏ´Â ¹æ¹ýÀº ´ÙÀ½°ú °°À½.

# tune2fs -l /dev/sda1 |grep -i 'block size'

À̰͵µ ÀÖÀ½

# dumpe2fs -h /dev/sda1

À̰͵µ.

# blockdev --getbsz /dev/sda1

¾êµµ.

# echo "aaa" >test.txt

# du -h test.txt

4.0K  test.txt

 

EX)

# tune2fs -l /dev/mapper/smahubd1_oravg01-oratracelv
tune2fs 1.41.12 (17-May-2010)
Filesystem volume name:   <none>
Last mounted on:          /oratrace
Filesystem UUID:          8a854339-0756-43e9-8661-b170661f7497
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              6553600
Block count:              26214400
Reserved block count:     1310720
Free blocks:              25215033
Free inodes:              6548059
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1017
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
RAID stride:              256
RAID stripe width:        2048
Flex block group size:    16
Filesystem created:       Sat Apr  4 01:29:57 2015
Last mount time:          Thu Apr 30 14:29:32 2015
Last write time:          Thu Apr 30 14:29:32 2015
Mount count:              17
Maximum mount count:      28
Last checked:             Sat Apr  4 01:29:57 2015
Check interval:           15552000 (6 months)
Next check after:         Thu Oct  1 01:29:57 2015
Lifetime writes:          13 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:           256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      a55d82d6-5b25-4982-8eb6-dfdb6cd4796c
Journal backup:           inode blocks




À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com