25 October 2011

LVM + ReiserFS for the win

LVM + ReiserFS for the win!

It's so easy to add more space
root@atom:~
# lvextend -L +100G /dev/vg2/local
Extending logical volume local to 200.00 GiB
Logical volume local successfully resized
root@atom:~
# resize_reiserfs /dev/vg2/local
resize_reiserfs 3.6.21 (2009 www.namesys.com)

resize_reiserfs: On-line resizing finished successfully.
root@atom:~
# df -h /dev/mapper/vg2-local
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg2-local
200G 18G 183G 9% /media/local
root@atom:~

03 October 2011

share your test data for your project

Thought for the day:

Completed projects should always inlcude SQL scripts for creating working test data (i.e. so you can see the code in action).

I often see difficulties creating usable test data when picking up someone else's work.

And I'd add to that, a readme file with how to use the test data.

(short blog post, but too long for a tweet!)