Resizing a logical volume

I backup my photos from an iMac to a Ubuntu linux box with a simple rsync command.

rsync --exclude=".*" -ave ssh /my/masters userId@x.x.x.y:/media/pictures

This will copy everything new from /my/masters to the backup machine at /media/pictures without copying any “dot” files. This also does not delete anything from the new machine.

Anyway, I was doing the rsync, but ran out of space on the backup box. A ctrl-z, and now I need to make more space. I am running ext3, so it should be just a few commands. First I unmounted (umount) the filesystems just to be sure. Then :

lvextend -L +40G /dev/vg/pictures

This will grow the logical volume by 40 gig. Next we need to resize the filesystem to fill up the space.

resize2fs /dev/vg/pictures

I have done this before, but this time I got a message to run e2fsck first.

e2fsck -f /dev/vg/pictures

This finished without issue, and I then ran the resize2fs command and it finished after a couple of minutes. Remount the filesystem, a “df” and it confirms that there is more space available.

I removed the last file copied to make sure it wasn’t wrecked somehow, and then kicked off the rsync again. It just picked up where it left off.

Trip to LA

Went to LA this last weekend for a wedding. I got down to a couple of beaches to take some pictures a couple of times too, which was nice. I got a few good surfing shots despite not having the greatest of telephoto lenses. Here is a composite that I made. This exported version does not seem all that clear, but the originals are quite sharp.

Surfing Newport Beach

Wicket is Wicked

In the course of investigating some alternative web frameworks (other than Struts2, which I do like) I decided to take a look at Wicket. This is a vastly different way of creating web projects, and I am really starting to like it. The big difference is that you don’t need a lot of configuration, and you do a lot of coding that looks like real Java classes. You get to add components and listeners to a class that acts as your page. There is a html file that goes with each page, but it is just html. Only the wicket:id element to the span (or other html) tags indicates that there is anything different. You link to other html pages, and wicket does the rest.

Continue reading

Buy a lens with a 5.0 min aperture?

I realize that you get one heck of a lot of reach with the Sigma 150-500mm lens, but would you really want to buy a lens with a minimum of 5.0 aperture? I keep thinking that I want to get lenses that are a constant 2.8, or maybe I could be convinced to get a long lens with something like a constant 4 or so, but 5.0 to 6.3? This lens is reviewed by Pop Photo, if you can call a one page a review. There is not a single negative thing about this lens aparently, and no mention of the aperture restriction. They also tell you that it is compatable with their teleconverters without mentioning that it would further limit the light entering this lens. Not really sure why someone would buy this lens, even less why someone would trust a “review”¬† by Pop Photo.

Lester Beach

I got around to going through the Lester Beach pictures. I don’t have the ones of the kids up yet, but I did process the sunset ones.

Lester Beach Sunset 2

I had talked to the guy that owns this bike, and was going to send him the picture, but he still hasn’t contacted me.

4x4 Sunset

12 Things to shoot before you die

I found an interesting post from back in February on the Photopreneur site. It is an interesting concept. Some of the things to photograph I have seen, like northern lights, icebergs, and sand dunes, but never took a picture of. Others like getting to Africa to capture the migrating wildebeests will probably never happen. I guess I will just have to concentrate on getting a perfect portrait (which would mean I would need to take them) and catching a moment on film that changes the world.

Hello Captcha

I hate making people type in a captcha every time they want to enter a comment, but I am tired of the flood of comment spam I now get. I was using the Akismet plugin, and it does a good job, but I am now getting 50+ a day in my queue. I still feel like I should look in the queue to see if there is anything real in there, and it is just too much work. So… MyCaptcha it is.