Category Archives: Linux

Jan '10 01

Reading CSV files with CGI

Found a good code snippet on displaying a CSV file in a table, using Text::CSV. There is a small tutorial also. I was trying to use this example, but found it didnt handle the csv very well, its prone to … Continue reading

Nov '09 17

NetFlow logging

Found a Good site listing Free NetFlow tools, and some comments on wirlpool.

Sep '09 21

Grow (expand) a md raid drive (to LVM or not)

I’m thinking of changing my File system around again, going from simple LVM devices to a raid-0 drive with LVM on it, to get better throughput due to stripping. There are some good comments on this blog and some more … Continue reading

Aug '09 23

Ext3/4 performance

I’ve converted my /home partition to EXT4, and running my root partition as EXT3. While EXT4 looks good, for some reason i’m getting bad write performance on RAID1, compared to a normal JBOD disk, which i would expect to be … Continue reading

Aug '09 15

New Filesystems – EXT4 and BTRFS

EXT4 is now considered stable  since 2.6.28, there is a good article here. Its a lot better than ext3, which really only added Journals over ext2. In particular EXT4 now supports Extents, Delayed Allocation and Multiblock Reservations,  as thats the … Continue reading

Aug '09 01

Debian 5 on Microsoft Vitrual PC

To be able to test a Debian 5 Mirror install, I setup virtual PC on XP, as i had the environment already. The new Kernel kills the VM by default, so press TAB on the “Install” prompt, then enter the … Continue reading

Jun '09 04

iptables

Been getting alot of INVALID packets on the firewall due to the riverbed, looks like a new packet without the SYN Found a good tutorial for iptables and SYSCTL values, a Pocket Reference and a Firewall book too.

Mar '09 24

Re-process mail

I can never remember the command to re-process mail with existing headers. cat 1.txt | uudecode -o /dev/stdout | /usr/sbin/sendmail -v -t -oiee