25 October 2011

LVM + ReiserFS for the win

LVM + ReiserFS for the win!

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

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

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!)