After running Timemachine for 18 months with faithful hourly backups, my backup drive failed.  I received a message: Time Machine completed a verification of your backups. To improve reliability, Time Machine must create a new backup for you.”

Not knowing how to handle this, I found the following useful article at: http://www.garth.org/archives/2011,08,27,169,fix-time-machine-sparsebundle-nas-based-backup-errors.html

In case this article disappears, I have posted it here:

This is a modification of an original post for use when you have a corrupt sparsebundle backup on a NAS (as opposed to an external drive attached to a router) and it needs to be repaired. The NAS is likely a hardware product from the likes of Netgear, Synology, Buffalo or QNap – or for those of us with a home-grown backup server running FreeNAS.

The error you may see is “Time Machine completed a verification of your backups. To improve reliability, Time Machine must create a new backup for you.” This can be fixed by following the below.

From your Mac, connect to the network share that houses the sparsebundle.

At the top level of the drive are the various sparsebundles that make up your individual computer backups.

Do not double click on these sparsebundles or try to repair with Disk Utility.

Open Terminal and then switch to root by typing


sudo su -

and then enter your password.

The verication that has already run has marked your sparsebundle as bad, so first we need to make it look normal.

From the command line


chflags -R nouchg /Volumes/{name of your network share}/{name of}.sparsebundle

This may take a little while.

Now type


hdiutil attach -nomount -noverify -noautofsck /Volumes/{name of your network share/{name of}.sparsebundle

You will then see something like

/dev/diskx Apple_partition_scheme
/dev/diskxs1 Apple_partition_map
/dev/diskxs2 Apple_HFSX

Where x is the disk id for the external disk. You are interested in the one labeled Apple_HFSX or Apple_HFS. It might be 2, 3, 4 or higher.

At this point, I have found that the filesystem check is already happening. You can check for activity by tail’ing the fsck_hfs.log


tail -f /var/log/fsck_hfs.log

If fsck is going then in my experience it will be able to repair the sparsebundle. Go away for a few hours and let it chug away.

When it is done, you will either see

‘The Volume was repaired successfully’

or

‘The Volume could not be repaired’

If the latter you can run disk repair again:


fsck_hfs -drfy /dev/diskxs2

Make sure to replace x with whatever number your disk is from the output above.

The letters “drfy” tell the filecheck utility different things. d for ‘Show Debug’ – r for ‘Rebuild Catalog Tree’ – f for ‘Force’ and y for assume ‘yes’ to any prompts.

Now go do something for an hour or two. Come back and


tail -f /var/log/fsck_hfs.log

If all went well, the last output you will see is

‘The Volume was repaired successfully’

Now you need to type

hdiutil detach /dev/diskxs2

You can redo the above for any other Time Machine sparse bundles you have permission to modify while you have the network share attached to your computer.

Final step.

When complete, you need to edit an plist file within the sparsebundle that records the state of the backup. On the top level of the sparsebundle find a file called com.apple.TimeMachine.MachineID.plist. Edit it and remove these two nodes


<key>RecoveryBackupDeclinedDate</key>
<date>{whatever-the-date}</date>

Finally you want to change


<key>VerificationState</key>
<integer>2</integer>

to

<key>VerificationState</key>
<integer>0</integer>

Now you can eject the network share and have Time Machine give it another go. After the (long) verification step, backups should proceed once again.

 

 

Dec 15 2011 – keep getting error message “Error Creating Profile” (as if that would help anyone).  Called support, got folks that could barely talk.  ”Good bye” was not in their vocabulary.

Asked to send a Measurement file to then which I did.  Was told I would get a call by next monday.

We will see.

Tuesday Dec 20:  Wonderful news – I received a reply from x-rite – Oh wait – its a spam Christmas card!  Something I can more time unsubscribing  from – sure made my day.

Want a fast way to paste a path name on a ‘Save As’ or Open dialogue screen?

Problem:  Sometimes I am viewing a directory in one Application such as Finder, but then have to manually enter that path again in another application such as word or pages in order to save to the correct directory.

Solutions: Here is a method of transferring that file path using Cut and Paste:

1) In Finder, select the Directory and Command+C (copy)

2) In the Save dialogue box (of Word for example), press Command-V. That will open a Go to Folder dialog box, with that folder path already pasted into it. When you click on the Go button (or press Return), the Save dialog will navigate directly to that folder viewed from Finder.

Using the Mouse:

- If Finder is open, just drag the Folder Name or even a File to the Save dialogue box (say of Word) and the appropriate pathj information will be entered.

or

- If the file is open already, example Preview, just drag the icon from the Preview title bar to the Save as dialogue box of Word, it loads the path and file name.  You can also edit the name as well and save a different version.

If for some reason you want the full text path, drag the icon from the title bar, hit Command+space (spotlight) and drag the icon to Spotlight.  The full text is entered where you can cut, paste etc.

The Computer industry is adopting new interface standards to connect peripheral devices (hard disks, cameras, memory cards, etc.) in order to cope with increased file sizes from such things as new digital imaging technology, video and audio file sizes. USB 2 connections just won’t cut it any longer, they are too slow.  This post discusses the alternatives and applies to both Apple and Windows technology.

For anyone with large files, the connection to Hard Disks and external devices (such as Cameras or Card Readers) are a bottle neck.  For Photographers (with camera raw or image files such as PSD), making the correct choice can be quite important given the time it takes to move these files from one device to the other, or process them.  Making the wrong connectivity choice can result in long processing times causing some users to stick to smaller JPEGs and the subsequent loss of image quality.  (that’s one reason I am writing this post, I’m the guy who has to print the small JPEG image files)

Most external devices today connect to the computer using USB 2 (or for Apple users – Firewire) both of which are too slow for anything beyond JPEGS. Internal hard disks use SATA formats which are much faster.

Here are the current common standards as of 2011 and my findings:

Interface ->

USB 2

 USB 3        

eSATA (SATA II)

eSATA-6 (SATA III)

Firewire 800

Thunderbolt ***

Speed ->Giga bits per second (Gbps)

0.48

5

3

6

0.786

10

Real Life Throughput (Gbps)

0.25

 2.5 **

0.52 – 1.2

 TBD

0.54 – 0.70

 5.6

Real Life Throughput (MBps)Western Digital 1TB USB 3 Hard Disk 79 Read 83
Real Life Throughput (MBs)Western Digital 4 TB Raid 0

85 Read

106 Write

 63 Read61 Write
Lexar Pro USB 3.0 Dual Slot Card Reader
(MBps)
Scandisk 16gb UDMA card
21 MBs Write, 33 Read  34 Write, 60 Read

* SATA and eSATA are really the same interface, “e” is for external devices.

** Most existing PCs have not been optimized to handle full USB3 speeds

*** formally code named Light Peak

Most internal hard disks use eSATA-2 although newer desktops and high end laptops may run on eSATA-6.  As of Sept. 2011, Apple does not seem to have eSATA-6 working well ON MAC Pro’s although this is expected to change over time.

USB 3 has been adopted by many Windows PC and Peripheral manufactures.  USB3 devices are low cost and given their speed verses cost, a good value. USB 3 is a reasonable alternative for most users however Apple has adopted Thunderbolt in partnership with Intel. (see Wiki article: http://en.wikipedia.org/wiki/Thunderbolt).  USB 3 therefore is unlikely to be a Apple native device standard although some third party manufacturers are introducing adapters for MAC Pro and Mac Book (17 inch) units and Windows PCs.  Windows users will likely be served well with USB 3 since Thunderbolt will likely not be appearing on Windows equipment soon.  Also Thunderbolt chip sets are expected to come down in price in 2012 so don’t expect many Thunderbolt peripherals until then.

So what is an Apple user to do assuming that the current best option is Firewire?  Here are my recommendations…

Interim existing MAC Pro:

Add USB 3 once it is available: RocketU Quad USB 3.0 for Mac  (available in Sept. 2011).  This will provide a 5G interface to future hard disks and camera card readers. Lexar currently manufactures a USB 3 Compact Flash card reader

Use eSATA for external hard disks: Mac Pro workstation eSATA Extender Cable  along with installation instructions.  An eSATA cable would be required to connect the device to the eSATA port on the Mac Pro.

Future Mac Pro:

Ideally, Apple will introduce a new Mac Pro with both native SATA III and Thunderbolt.  Thunderbolt devices are expected to drop in price by mid 2012. By including the eSATA cables above (assuming there is a compatible port on this as of yet unannounced machine) and by adding the USB 3 interface card, all high speed formats would be covered.  This would be an ideal machine and previous components from interim configurations defined above could be reused.

Interim existing Mac Book 

In order for a Mac Book to be connected to a eSATA external hard disk it would require an Express Card /34 slot.  I have ordered an APIOTEK EXTREME Dual eSATA SATA I/II Express Card 34 Adapter for the Apple MacBook Pro. I will post results as I determine them from testing.

Future Mac Book: 

Use eSATA until Thunderbolt peripherals are available at reasonable cost then switch over to Thunderbolt.  A /34 Compact flash card reader or USB interface could also be used to connect to legacy peripherals as defined above.

 

While I was at it, I thought I would optimize WIFI speed.  A 54 Mb connection is theoretically capable of 6.6 MB/s.  I am getting about 3.4 MB/s in my office.

Problem: Can’t see contents of Camera Raw images.

When printing images for some Customers, they provide me with JPEGs rather than Camera Raw image files even though their cameras have camera raw capability.  The reason quoted is that Windows does not display the camera raw file thumbnail when using Windows Explorer and thus the camera raw files are too hard to manage.  JPEGS are used instead.

Solution: For those on Windows XP or Vista, you can download a Camera Raw viewer,  free from Microsoft so that you can see a thumbnail in Windows Explorer.

Download from: http://www.microsoft.com/download/en/details.aspx?id=26829

Note: D7000 not supported by Microsoft as of Jan 6, 2012.  Should be available soon.

Want a fast method of checking what each blend mode in the Layers panel looks like without having to manually select each one?

Use Shift and the “+” key and the next Blend Mode in the list is applied.  Shift “-” to move back though the list.  Note: if the Paint tool is active, the same keys apply the blend to the Paint tool so ensure other tools are active while using the above keys.

Works on a Mac as well.

Tags:

For some time both my Macpro and Macbook would have windows that I could not close or Safari would have tabs that I could not close.

Turns out the problem is very common and frustrating.  The solution is to change the Double Click speed to something rather high in trackpad preferences.

Note: this problem can be reproduced by clicking between the Red and Yellow buttons on the top left of a window.  Those buttons are now non responsive till the window is clicked again – say by moving it using the title bar.

Updated: May 1: after 24 hours use, problem has not recurred.

Tags: , , , , , ,

May 2011 Northumberland Photographic Club presentation including Monitor Brightness test shot.

 We are touring the Marlborough wine country – at the north end of the South Island. NZ’s famous for its ‘young’ Sauvignon Blanc and now we are discovering that although they are still relatively new to wine making, they are also producing some quite fine Chardonnays and older ‘oaked’ Sauvignon Blanc. One of our favorite vineyards has been Cloudy Bay, which is very large, and today we discovered Seresin – a very small organic vineyard, both have wines available in Ont. We then went off to a green mussel farm – a boat tour of the Marlborough sounds that included a glass of wine and fresh steamed mussels eaten with the fingers right in the bay where they are harvested. Weather continues to be wonderful, sunny overhead with clouds at the horizon and turquoise waters.

Wed Feb 23 – Martinborough NZ – North Island

We arrived at our hotel yesterday afternoon to discover the small town quite distressed by the earthquake in Christchurch several hundred km to our south. 

We are currently near the south end of the North Island.  Christchurch is somewhat near the north end of the South Island,  and really not that far away, however we did not feel the earthquake. Needless to say we have been affected by how much this event has had on a small country of 4 million.  Most people here seem really deeply impacted. 

From the press here, we have gathered that Christchurch is not the place to be and they will need a lot more time to fix things up.  I assume the press there has all the details so I won’t elaborate – but the City does seem to be very heavily damaged.  Had the quake happened a few weeks later, we would have been right in heavy damage zone, since we planned on staying directly across from the church that was so heavily damaged.

People here are quite kind; yet they are stoic and life goes on.   

We will be proceeding south to Wellington, crossing over to the South Island in a few days,  going  past Christchurch which is  on the east side of the island while we plan to head down the west side.  So, initially we will not be directly impacted by the quake but Christchurch was our intended departure point back to Auckland in mid March so likely will need to make changes as the trip progresses.

As for our vacation, the country is beautiful and we are enjoying it a lot.  Chris and I have both caught colds and that has slowed us down a bit.   Perhaps we are just getting on, but today – after a wine tour and a tour of olive groves, we just read the papers and stayed in our room which is really quite lovely, as is the town of Marinborough.

The next week will be spent in the wine districts – soaking up the various Sauvignon blanc which have been our NZ wines of choice.  The weather continues to be good, the windows of our hotel are all open and we have a gentle warm breeze and we are in a farming valley surrounded by brown and green mountains. The town is small and sleepy and a dog barks in the distance.

 I have hit the 2000 mark on photo shots and have been slowed down by the weight of the equipment, my cold and the fact that we are moving a lot every other day or so.  Since this is not a photo trip, a lot of shots have passed us by while we just enjoyed looking the country side – and that’s ok.

Hope all is well with everyone back home

Jeff and Chris

« Older entries