Goodbye F-Spot. Hello Shotwell.

I’ve finally found a photo manager for Linux I can live with, Shotwell. Shotwell is an photo manager for GNOME that I’ve been testing for a few months now but the recent 0.5 release which added tagging and printing, it means Shotwell is finally ready replace F-Spot on my workstation.

Shotwell is intuitive, well documented, extremely easy to use and reliable. It’s easy to dismiss Shotwell as an oversimplified photo manager. But once you start using it, you’ll quickly appreciate its clean interface and easy-to-use tools. Don’t just take my word for it either, Shotwell is now the default photo manager in Fedora 13 alpha. Here is a quick run down of the features.

Shotwell provides a non-destructive way to tweak your photos. Instead of modifying the original photos, Shotwell stores all edits in a database and applies them on-the-fly as necessary. This means that you can easily undo all edits. Shotwell comes equipped with all the usual photo enhancing tools and slideshow.

You can download a source tarball from the Shotwell home page at: http://www.yorba.org/shotwell/ or grab a binary for Ubuntu Karmic or Lucid via Yorba’s Launchpad PPA at: https://launchpad.net/~yorba/+archive/ppa

Related posts

Posted on March 20, 2010 at 3:39 pm by Martin · Permalink · Leave a comment
In: Linux · Tagged with: , ,

Give XFS a chance. Don’t believe the FUD.

After tinkering with Ext4 I did some research and tested other file systems on my new disk arrays. I’ve concluded that XFS, once tuned, is the best file system for my needs and it could well be the best file system for your needs too. I’m now using XFS for all my computers, including laptop and workstation, and I’ll test XFS on my netbook in due course as well.

My wiki page below explains how I arrived at that decision and how I tune XFS to get optimal, yet safe, performance that can rival Ext4 and JFS.

Related posts

Posted on February 12, 2010 at 1:14 pm by Martin · Permalink · Leave a comment
In: Linux · Tagged with: , , , , , ,

Flexion.Org Forums are Open

Occasionally readers of my Wiki or Code want to comment on what I’ve published but I don’t have a suitable way for them to contact me. So I have opened a small forum to capture any feedback or comments from readers, this way anyone can to benefit from what gets discussed.

Related posts

Posted on January 17, 2010 at 9:39 am by Martin · Permalink · Leave a comment
In: General

Recovering reserved space from ext4

The Ext4 file system, like Ext3, reserves 5% of the blocks on the file system for the root user. The reserved blocks are there for root’s use as a safe guard if the filesystem gets full, it provides some wiggle room to enable the really important programs to still function. But in some cases there’s not much point in having space reserved for root.

I’ve recently upgrade my workstation with a 6TB internal RAID 0 array for data storage (music, videos, photos, etc) and an external 6TB RAID 0 array as a backup. My OS boot from a 1TB drive. For my 6TB arrays I want the maximum available storage and was interested to see what effect removing the reserved space would have. So, this is what I did.

First I made the Ext4 file system, mounted it and queried how much space was available.

sudo mkfs.ext4 /dev/sdh1
sudo mount /dev/sdh1 /mnt
df -h

Looks like I have 5.1TB of available space.

/dev/sdh1             5.4T  186M  5.1T   1% /mnt

Then I unmounted the file system, removed the reserved blocks, checked the consistency of the file system, mounted it and queried how much space was available.

sudo umount /mnt
sudo tune2fs -m 0 /dev/sdh1
sudo e2fsck /dev/sdh1
df -h

Looks like I have 5.4TB available now, a saving of 300GB.

/dev/sdh1             5.4T  186M  5.4T   1% /mnt

Now, I could have simply created the files system without the reserved blocks in the first place, but I was interested to see the comparison.

sudo mkfs.ext4 -m 0 /dev/sdh1

Before you start removing the reserved blocks from your ext3/ext4 file systems do a bit a research first.

Related posts

Posted on January 7, 2010 at 8:42 pm by Martin · Permalink · One Comment
In: Linux · Tagged with: , , , , ,

StarTech S354UER Review

I’ve ripped my entire CD collection to MP3 and I’m in the process of ripping my entire DVD, Blu-Ray and HD-DVD collection to MPEG-2 TS files so that I can stream everything to my PS3 using MiniDLNA. I currently have this data stored on an internal 2TB volume and backed up to an external 2TB volume. I currently have just 360GB remaining capacity and I ‘ve only imported half my DVD collection and one Blu-Ray. I need more storage.

I wanted to keep the same backup method, large internal volume backed up to a large external volume of the same size. I opted for Samsung Spinpoint F2 EcoGreen (HD154UI) drives because they are relatively inexpensive, low power (therefore lower heat) and quiet.

I decided to get 4x 1.5TB drives for the internal volume and stripe them to give 6TB of storage and I went looking for an external box in which I could install 4x 1.5TB drives and also stripe or span them.  That mean’t a multi disk external enclosure, with some kind of RAID, supported by Linux and that isn’t too expensive. A tall order as it turns out. After lots of research I finally found the StarTech S354UER which on paper appears to do what I required and a good deal more. Here is some blurb from StarTech…

Compatible with Windows, Mac, and Linux operating systems
Fan control button to enable manual control of the fan and switch between the three fan speeds
Internal three speed 80mm fan with automatic or manual controls
Multiple LED indicators to provide RAID information, hard drive activity, HDD Status, RAID rebuild status, fan settings, and interface in use
No software required
Package includes 1x USB, 1x eSATA, 1x FireWire 400, 1x FireWrie 800 cable, Power adapter and cord, and the manual
Plug-and-Play and Hot swap supported with USB 2.0, eSATA, and FireWire
Push button raid configuration eliminated the need to disassemble the enclosure to upgrade your raid configurations
Removable front cover for easy access to hard drive
Rugged aluminum chassis
Supported File Systems:NTFS, FAT, FAT32, and ext3
Supports four 3.5in hard drives up-to 2.0 TB each in size
Supports RAID 0, RAID 1, RAID 3, RAID 5, RAID 10 (RAID 1+0), and Spanning

Normally, I will read reviews of different products and select something with  a proven track record particularly when Linux support is required. I couldn’t find much in the way of reviews for the StarTech S354UER so I took a gamble and decided to buy one. Eeek!

In short it works and it is quiet. It is currently sitting no more than 50cm from me initialising a stripped array of 4×1.5Tb disks as EXT4. I can’t hear it but I have manually set the fan speed to low using the fan control buttons on the front on the chassis. The build quality is not great, but not awful either, but once the drives are installed and clamped in place they are very secure. It is impossible to tell if you’ve pushed the power button you have to wait and see if the device powers up/down to be sure. The fan speed controls work, but are inverted from what is documented in manual. Fan1 is documented as LOW in the manual but is actually HIGH.

Setting up the device was not quiet plug and play either but the issues I ran into may not be entirely the fault of the StarTech S354UER. My plan was to connect the enclosure via Firewire and as yet I’ve not been able to get the enclosure to be recognised via Firewire using Ubuntu Jaunty 9.04. However, I am a Firewire newbie so maybe more research required. I don’t have eSATA (yet) so I have the device connected via USB 2.0. Which does work.

One of my new hard disks turned out to be DOA. It took me a while to figure out what was wrong here. The StarTech drive failure light on the front of the chassis was illuminated, but I didn’t know how to tell which drive had actually failed. After some trial and error I found that there are four internal LEDs, one for each disk. Starting the StarTech with the chassis door open you can see the internal LEDs blinking as each disk is spun up and tested. If the drive failure LED on the front of chassis is illuminated look at the internal LEDs, then drive LED which is off denotes the failed drive. This information is not in the user manual!

Anyway, I replaced the drive and was now able to select my RAID level. Selecting the RAID level is done though a combination of DIP switches under a panel at the back of the unit and buttons on the front. It is a slightly fiddly process, but it does have the advantage that you can’t accidentally change your RAID levels and re-initialise the array.

In order to create a partition greater than 2TB you have to use GPT. I’d never encountered GPT before, but I found everything I needed to know on the page below.

I used ‘gparted’ to create my partition and format with EXT4 with the enclosure connected via USB 2.0. The whole process took ~1 hour.

As you will see from the link the quoted price makes this enclosure pretty expensive. Search around though, because I got mine of 50% less than the price quoted on the StarTech.com website. You do get a healthy selection of RAID levels, all the cables, screws, screwdriver and drive handles you require.

Would I recommend the StarTech S354UER? Time will tell, but it does work with Linux via USB 2.0 and I will continue investigate FireWire and I may add eSATA in the future to see what the performance benefits are. But for what I bought it for, secondary storage for backups, it is a pretty cheap way to add a multi terrabyte array to your system. I am a happy shopper.

Related posts

Posted on January 2, 2010 at 4:00 pm by Martin · Permalink · Leave a comment
In: Linux · Tagged with: , , , , , , , , , ,