I am a little curious about defragmentation. Probably someone can explain defragmentation.
First let me start what I have done so far:
1. Created a DG, Volume (1GB) etc (testing system only)
2. Created about 1000 1MB files
3. Deleted every 2nd file
And now I am curious. When I ran fsadm -E /local (/local is the mounted test volume of course) I get the following output:
Free Extents By Size
1: 2 2: 2 4: 3
8: 7 16: 6 32: 6
64: 5 128: 5 256: 6
512: 3 1024: 326 2048: 2
It shows clearly 326 free 1024K extents. From my understanding the file system is fragmentated now? Because when I create a large file now it would use all the 1024K extents and not one 128M extent, two 64M extent etc? Am I wrong/right?
And how can I rearrange the extents (if it is possible). I have tried various fsadm options like -e, -d and -C but without success.
pkginfo -l VRTSvxfs
SunOS sol10 5.10 Generic_142910-17 i86pc i386 i86pc