Showing posts from November, 2009

Performance testing RAID

So after I setup the big RAID I ran some tests on the storage. Here are some commands, make sure you have at least 17GB space available for testing this. Once you run the command look at the time and throughput.

WRITE FILE dd if=/dev/zero of=/mnt/<mount point>/testfile bs=4194304 count=4096 READ FILE dd of=/dev/null if=/mnt/<mount point>/testfile bs=4194304 count=4096

linux parted formatting

I am using a very large disk for data and fdisk doesn't work for anything over 2TB in size. This is where parted is need. Here are the command I used to get it partitioned and formatted.

I first ran fdisk -l to figure out the device name. In my case it was sdb fdisk -l Then once I got the device name I ran: parted /dev/sdb In the parted controls (parted) mklabel New disk label type? gpt Then I ran: (parted) mkpart Partition name? []? File system type? [ext2]? ext3 Start? 0 End? 5997.9GB Then I exited: (parted) quit Now I formatted the new RAID device: mkfs.ext3 -b 4096 /dev/sdb1 That is all, it takes a while to format large devices, have fun


If your like me and want some really good tools for processing some videos using php take a look at this website:

If you have Linux (I use Ubuntu Server) then run this to install the software apt-get install php5-ffmpeg

Apple HFS Support for Linux

I needed to transfer some stuff off of a Mac OS X HFS+ drive from a SATA drive. So in order to do this I install the HFSplus package for Linux apt-get install hfsplus I did not try out the Write capabilities but the reading worked like a charm.