Daily Archives: June 25, 2009

Linux: How to backup hard disk partition table (MBR)

If you don’t want to take any chances with your data, it is recommended that you backup hard disk partition table. Last Friday I was discussing some issues with one of our customer and he pointed out me dd command. … Continue reading

Posted in Uncategorized | Leave a comment

Linux: How to clear the cache from memory

Red Hat Enterprise Linux 4.6 and 5.0 introduced /proc/sys/vm/drop_caches, which allows the pagecache and slabcache to be cleared on demand. To free the pagecache: # sync; echo 1 > /proc/sys/vm/drop_caches To free dentries and inodes: # sync; echo 2 > … Continue reading

Posted in Uncategorized | Leave a comment