系統管理
取消
顯示結果 
搜尋替代 
您的意思是: 

如何使用 Online JFS 重組 vxfs 檔案系統?

如何使用 Online JFS 重組 vxfs 檔案系統?

我想要用 Online JFS 來重組 vxfs 檔案系統 /oracle/P01/sapdata13

下面是我以 #fsadm -F vxfs -E /oracle/P01/sapdata13 分析的結果:



twerpp01:/#fsadm -F vxfs -E /oracle/P01/sapdata13

Extent Fragmentation Report

Total Average Average Total

Files File Blks # Extents Free Blks

22 214960 28 603415

blocks used for indirects: 13

% Free blocks in extents smaller than 64 blks: 0.04

% Free blocks in extents smaller than 8 blks: 0.01

% blks allocated to extents 64 blks or larger: 100.00

Free Extents By Size

1: 9 2: 15 4: 12

8: 4 16: 4 32: 1

64: 1 128: 0 256: 0

512: 0 1024: 1 2048: 0

4096: 1 8192: 1 16384: 0

32768: 4 65536: 5 131072: 1

262144: 0 524288: 0 1048576: 0

2097152: 0 4194304: 0 8388608: 0

16777216: 0 33554432: 0 67108864: 0

134217728: 0 268435456: 0 536870912: 0

1073741824: 0 2147483648: 0



從上面的結果,如何看出這個檔案系統需不需要執行重組?

2 回覆

如何使用 Online JFS 重組 vxfs 檔案系統?

Hi :

Here are the rules what I learn :



An unfragmented file system will have the

following characteristics



- Less then 5% of free space in extents < 64

blocks in length.

- Less then 1% of free space in extents < 8

blocks in length.

- more then 5% of total file system size

available as free extents in length of

64 or more blocks





From your fsadm -E output :

% Free blocks in extents smaller than 64 blks: 0.04

% Free blocks in extents smaller than 8 blks: 0.01

% blks allocated to extents 64 blks or larger: 100.00



This file system is unfragmented,

so you don't need to reorganize it.

.

..

如何使用 Online JFS 重組 vxfs 檔案系統?

重組前:

twerpj01:/#fsadm -F vxfs -E /oracle/P01/sapdata3

Extent Fragmentation Report

Total Average Average Total

Files File Blks # Extents Free Blks

17 158771 13 3876

blocks used for indirects: 12

% Free blocks in extents smaller than 64 blks: 7.53

% Free blocks in extents smaller than 8 blks: 1.55

% blks allocated to extents 64 blks or larger: 100.00



重組後:

twerpj01:/#fsadm -F vxfs -E /oracle/P01/sapdata3

Extent Fragmentation Report

Total Average Average Total

Files File Blks # Extents Free Blks

17 158771 12 3876

blocks used for indirects: 12

% Free blocks in extents smaller than 64 blks: 14.14

% Free blocks in extents smaller than 8 blks: 1.75

% blks allocated to extents 64 blks or larger: 100.00



看起來似乎比重組前還嚴重??