Tech: July 2009 Archives

Refinement of automount script for LUKS encrypted disk image

In my previous post I showed an automount script for mounting a LUKS encrypted disk image as a loop device. The script was designed to always mount the same loop device, e.g. /dev/loop0. This prevented it from being able to mount multiple disk images, so with some tweaks I refined the script to use any available loop device and thus support multiple disk images.

Read more...
By msqr, 17 Jul 2009 at 10:33 | | Comments (0)
Category: Tech Tags:

Configuring automount for LUKS encrypted disk image on SMB share

In my previous post, I detailed how I set up an LUKS-encrypted filesystem on a loop device (a.k.a. sparse disk image file). To make automated backups easier and not have to add commands in my backup script to handle the mounting and unmounting of the disk image, I set up automount to:

  1. Mount the SMB share when accessing the /cifs directory
  2. Attach a loop device and set up LUKS filesystem access when accessing the /encrypted directory
Read more...
By msqr, 16 Jul 2009 at 17:48 | | Comments (0)
Category: Tech Tags:

Encrypted Backup of RHEL 5 system to SMB network share

I purchased the LaCie NAS for backups of the various computers running around at home: a Mac desktop, a Mac laptop, and a Linux server. For the Macs they can just use Time Machine to backup to the NAS, which broadcasts itself as a Time Machine-capable server. For the Linux server, however, it's not so simple.

Read more...
By msqr, 15 Jul 2009 at 17:34 | | Comments (0)
Category: Tech Tags:

Taming the LaCie 2big Network NAS

A little while ago I bought a LaCie 2big Network server to use for backups and storage. The drive is simple to use, but lacks the ability for the internal hard drives to "sleep" -- that is, spin down when not in use after a period of time. That's pretty annoying because the drive makes noise and wastes power while running, keeping the disks spinning. I decided I had to figure out a way to tame this little server.

Read more...
By msqr, 15 Jul 2009 at 12:13 | | Comments (0)
Category: Tech Tags:
« Tech: February 2008 | Main Index | Archives | Tech: September 2011 »

This blog is licensed under a Creative Commons License.