Archive for the 'Software' Category

How to delete a Windows volume mount point for an invalid drive

When I rebuilt my server earlier this year to run Windows 7 (rather than Windows Home Server), I decided to use Windows mount points to expand the storage rather than using separate drive letters or something like RAID to span disks.

The structure I use is similar to this:

C:\
  - Backup
    - PCBackups
      - T510
      - T60
      - Server
    - Photos
    - Video
- Data
    - Photos
    - Video

Each bold entry is a mount point – an empty directory on my C: drive to which I “mount” an external drive (using Windows Disk Management). So every bold entry above corresponds to a separate hard drive (indeed, it could relate to a specific partition on a drive with multiple partitions). Yes, I have a lot of hard drives in my server.

This means that, rather than accessing an additional drive in my server using a new drive letter, I can instead access it through a path such as C:\Data\Photos.

This gives incredible flexibility to add and remove drives – since you can easily change mount points, or use a new drive at a mount point if you run out of space. Any empty folder can be used as a mount point.

An example of this flexibility is from my PCBackups folder, where I store backup archives from my various laptops and computers. I created the C:\Backup\PCBackups folder on my system drive, then mounted a large hard drive at this point to give me plenty of space to store my backups. However, over time I eventually filled this drive and needed to expand the capacity. My laptop backups were taking the most space, so I renamed my laptop backup directory temporarily (C:\Backup\PCBackups\_T510), created a new empty folder (C:\Backup\PCBackups\T510) and then mounted another new drive at this point, greatly increasing the capacity of my PCBackups folder. I moved all the old T510 backups into the new folder, which moved them to the new drive, also freeing up space on the existing drive for other backups at the same time.

One of the nice things about this structure is that Windows remembers the mount points, so if you remove a drive temporarily – it will automatically remount the drive when it is reconnected.

The downside of this is that if your drive dies, or you remove it and use it else-where, the folder where the drive was mounted is not available for mounting of a new drive because Windows is still looking for the old drive to mount there.

Unfortunately, Windows Disk Management doesn’t give you any way of dealing with this – I had a drive die, but could not mount a replacement drive in its place because Windows was reserving that mount point for the old drive. I couldn’t connect the old drive to remove the mount point, because Windows no longer recognised the dead drive.

A bit of Googling found a simple solution – there is a command line tool (at least in Windows 7 – not sure about earlier versions), called “mountvol”, which allows you to manage volume mount points.

Using a command prompt running as Administrator (Start > All Programs > Accessories > right-click on Command Prompt and select “Run as administrator”), I was able to use the “/d” switch to remove a volume mount point from the folder where the dead drive was previously mounted, and then re-create the mount point for the replacement drive using Windows Disk Management. Easy as.

There are instructions on how to use Mountvol on the Microsoft TechNet site.

How to find the end of a line in Xara Photo and Graphics Designer

After spending nearly an hour checking hundreds (thousands?) of line points in a rather complex line in Xara Photo and Graphics Designer and still not being able to find where the line was broken – I turned to Google for help and within a minute came up with a 2 second solution!

If you go in to Shape Editor mode, select any control point on your line and then hit HOME or END on your keyboard, it will take you immediately to the end of the line. If I had just thought to ask Google in the first place, it would have saved me a lot of time.

Thanks to the Xara Xone Tip of the Week for the answer.

I must say I am loving the simplicity of Xara Photo and Graphics Designer for many basic web graphics design tasks (gradients, buttons, logos, etc), and also appreciate some of the more complex capabilities (masks, photo manipulation, etc). I’m using Photoshop less and less these days and have no reason at all to fire up Illustrator. This should save me a lot in software upgrade costs in the future!