People asked me way too often on how to test new BTRFS features – a reason for me to do this article. It’s nothing special, but you have two possibilities to do it:
Tag: linux
Check XFS fragmentation
Using XFS means, that you have to deal with fragmentation of your files. Disregarding fragmentation, XFS is a wonderful filesystem which never caused any problems here. To check fragmentation, we use the xfs-debug tool in read-only mode: xfs_db -c frag -r /dev/sdX# At my server it would look like that: stargazer ~ # xfs_db -c frag -r /dev/sda7 […]
Bad RAM
I guess there are many ways to drive a sysadmin crazy – I even experienced a few by now; But the most effective one of all seems to be bad memory. Let me tell you: Nowadays most systems that I get to look at are Windows boxes which are acting weird in a not really reproducible way.
Today’s hint
Today I was trying to free some space on my server and came across my kernel sources which were a space hog here – especially if they’re already compiled: denkbrett src # du -sh linux-2.6.39.3 718M linux-2.6.39.3 denkbrett src # cd linux-2.6.39.3 denkbrett linux-2.6.39.3 # make distclean denkbrett src # du -sh 437M . As you see, a […]
Compile PO files to MO files
During the last days I stumbled upon a problem with my PO files which I got from Transifex – I had to compile them to get MO files for shipping with my WordPress plugin. Google pointed me to the msgfmt tool which I was able to use in my scripts: msgfmt -o lang.mo lang.po That’s one of the […]
Linux configs versioned
Sometimes it’s really fun to mess around on a Linux box – but it also can be a mess to get things back to a working state after breaking some configurations. As we are just talking about text files, things shouldn’t be too hard to do.