I hadn't given much thought to fragmentation of my recordings volume (XFS) until reading through some other threads recently that mentioned how fragmented and XFS file system could become. After running xfs_db, I found out that my fs appeared to be quite bad:<div>
<br></div><div><div>$ sudo xfs_db -c frag -r /dev/mapper/appl_vg-appl_lv</div><div> actual 1138668, ideal 11023, fragmentation factor 99.03%</div></div><div><br></div><div>I then ran xfs_fsr with all defaults (ran for two hours) and then re-ran xfs_db and got the following results:</div>
<div><br></div><div><div>$ sudo xfs_db -c frag -r /dev/mapper/appl_vg-appl_lv</div><div>invalid numrecs (27111) in bmapbtd block</div><div>invalid numrecs (4716) in bmapbtd block</div><div>invalid numrecs (58978) in bmapbtd block</div>
<div>actual 1034793, ideal 11024, fragmentation factor 98.93%</div></div><div><br></div><div>The fragmentation level was reduced, but I was concerned about the error messages. Before I go any further, am I corrupting my file system with the defragging or are these "invalid numrecs" messages unimportant? I am hoping that there are other MythTV users using XFS that have some experience in using the xfs tools.</div>
<div><br></div><div>Google didn't offer much help.</div><div><br></div><div>Regards,</div><div><br></div><div>Ken E.</div>