티스토리 뷰

아래와 같이 Linux System 의 파일시스템은 최초 생성시 기본적으로 Mount 37회를 도달하거나 마지막으로 파일시스템을 점검한 시점으로 부터 6개월이 도달했을 경우 시스템 리부팅시 강제적으로 파일시스템 점검을 하도록 설정되어있음.

 

 

[root@snode01 ~]# tune2fs -l /dev/sdb1
tune2fs 1.39 (29-May-2006)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          df99b511-527b-4873-98a3-07a5262db041
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal resize_inode dir_index filetype sparse_super large_file
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              5242880
Block count:              10484412
Reserved block count:     524220
Free blocks:              10274824
Free inodes:              5242869
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1021
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         16384
Inode blocks per group:   512
Filesystem created:       Tue Dec 17 17:04:35 2013
Last mount time:          n/a
Last write time:          Tue Dec 17 17:04:38 2013
Mount count:              0
Maximum mount count:      37
Last checked:             Tue Dec 17 17:04:35 2013
Check interval:           15552000 (6 months)
Next check after:         Sun Jun 15 17:04:35 2014
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:    128
Journal inode:            8
Default directory hash:   tea
Directory Hash Seed:      83e4dc35-6e28-4a03-9f9f-b97d980fc66f
Journal backup:           inode blocks

 

 

관리적인 사유로 해당 정책을 삭제할때 tune2fs 명령을 통해 아래와 같이 수행 및 변경 가능

 

[root@snode01 ~]#

[root@snode01 ~]#

[root@snode01 ~]# tune2fs -c -1 /dev/sdb1

[root@snode01 ~]#
[root@snode01 ~]# tune2fs -i 0 /dev/sdb1

[root@snode01 ~]#
[root@snode01 ~]#
[root@snode01 ~]# tune2fs -l /dev/sdb1
tune2fs 1.39 (29-May-2006)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          df99b511-527b-4873-98a3-07a5262db041
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal resize_inode dir_index filetype sparse_super large_file
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              5242880
Block count:              10484412
Reserved block count:     524220
Free blocks:              10274824
Free inodes:              5242869
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1021
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         16384
Inode blocks per group:   512
Filesystem created:       Tue Dec 17 17:04:35 2013
Last mount time:          n/a
Last write time:          Tue Dec 17 17:06:11 2013
Mount count:              0
Maximum mount count:      -1
Last checked:             Tue Dec 17 17:04:35 2013
Check interval:           0 (<none>)
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:    128
Journal inode:            8
Default directory hash:   tea
Directory Hash Seed:      83e4dc35-6e28-4a03-9f9f-b97d980fc66f
Journal backup:           inode blocks

 

 

 

반응형
반응형
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday