You could just run fsck if you think your hard drive has errors, otherwise there is no reason to "defrag" a Linux partition.
For file recovery, your best bet is to update what you consider important/valuable stuff that can't be replaced easy after a re-install. If you use
www.google.com/linux or the search function of this site you can find alot of different ways to backup your stuff in linux.
rberry88