Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-02-2008, 02:08 AM
mcamou mcamou is offline
Registered User
 
Join Date: Jun 2008
Posts: 7
Bad backup using 2.5!!!!!!

Hi,

I used to use SuperDuper! to defragment my hard drive, it's much faster to do an incremental backup, then boot from the backup drive and restore than to do a defragment using most tools out there.

Not any more.

I did that yesterday and left the restore running overnight. Today I find an "Operation not permitted encountered while setting HFS meta data for <filename> of type: 8\n" error. The first time it was a SyncServices file so I reset my Sync settings (it's on an account for which I don't use iSync). The second time it was a file on a different account, so I went to the terminal, sudo'ed and tried to do an rm. I got an "exec format error: rm" message.

Doing an ls -l of /bin I get a few very very weird files (I'm transcribing since I'm on my spare box):

-r-xr-xr-x@ 55690 root wheel 0 Jan 3 17:28 link
-r-xr-xr-x@ 55690 root wheel 0 Jan 3 17:28 ln
-r-xr-xr-x@ 16243 root wheel 0 Jan 3 17:28 pax
-r-xr-xr-x@ 55695 root wheel 0 Jan 3 17:28 rm
-r-xr-xr-x@ 55695 root wheel 0 Jan 3 17:28 unlink

In the directory that contains the second offending file, all the files have length 0, huge numbers for the nlinks and the owner is a number around 1799000 (different for all of them).

In the end, my backup is completely useless. I am left without a usable machine, without a usable backup and with the only option of reinstalling from scratch and restoring from Time Machine (Thank God for TM!!!). I will definitely never use SuperDuper! again and regret having paid for the product.

However, I *WOULD* like to know what happened. Any ideas?
Reply With Quote
  #2  
Old 06-02-2008, 08:49 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
That's certainly extremely strange. I'm certain you can restore the non-OS portion of the backup by clean installing Leopard to your internal drive and then migrating from the backup copy.

Can you give me a bit of background regarding the destination drive? Was it a Smart Update over a Tiger volume, have you had any failures on it -- have you 'defragmented' Leopard before successfully?

There were some rather significant changes made in the Leopard file system. There could be a problem in Leopard itself... but it's quite hard to diagnose this kind of thing without a case I can reproduce at this end.

We've seen an occasional manifestation of this particular error (the "type 8" message), but in the vast majority of cases (I've only seen one other with a single file on the destination) the bizarre files with unusual attributes, ownership and link counts have been on the source drive, with similar to what you've described...
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 06-02-2008, 12:58 PM
mcamou mcamou is offline
Registered User
 
Join Date: Jun 2008
Posts: 7
I *have* previously done this. This was an incremental backup, Leopard to Leopard (Tiger was not involved), the earlier backup was done about a month ago. My OS X installation was up to date in both cases (i.e., when doing the latest incremental I was running 10.5.3). Perhaps Apple changed something recently?

The way I did it is: close down all of my user programs to ensure nothing modified the disk, do the SD incremental backup, reboot from the backup, do a full backup from the backup disk to the original. In all cases I told SD to do a Repair Permissions first. I am running SD 2.5 v84 on OS X 10.5.3 on a Core Duo 17" MacBook Pro (the first gen of MBP's) using an external 250GB LaCie Porsche firewire drive.

I am currently restoring from my latest Time Machine backup, since I can't trust the SD backup now. Some of the corrupted files were in my home directory, others within third-party applications I'd installed and I really am in no mood to start looking for which files were corrupted and which weren't.

I will keep my SD backup for a few days to see if it's useful in finding out what happened.
Reply With Quote
  #4  
Old 06-02-2008, 01:09 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
You didn't mention any corrupted files in your Home folder, so that's a bit surprising. It really sounds to me like your directory structure was quite badly damaged on either the source, the destination or both -- but it's really hard to say what.

Honestly, I don't think this was an error in the SuperDuper! copy itself. We're not going to create bizarre hardlinks unless we're literally getting files that are indicating that they're pointing to the same inode as the original -- and in your case, there are *so many* of those that it'd be exceptionally bizarre that things would happen through some sort of logic error. But -- as I said -- there were significant changes made to Leopard itself to support Time Machine and other aspects of the OS -- it's possible that something went wrong there, or some values were returned to *us* that caused hard links to be created -- but even then, given the 0 length of the file, it seems that the hard links are to *nothing*, which isn't really even possible to do... unless the simulated hard link system (which is implemented rather unusually in HFS+) somehow got corrupted on source or destination...

What types of changes/incorrect files did you see in your Home folder?
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 06-02-2008, 02:52 PM
mcamou mcamou is offline
Registered User
 
Join Date: Jun 2008
Posts: 7
The files I mentioned with the weird owner (around 1799000-1800000) were all the files in a directory under my home. They are files I'd previously copied from a Linux system, 4-5 directory levels down from my home. The thing is, whether it was Leopard or SD or whatever, I'm left with a bad backup. Even if those were the only 2 errors (/bin and the other directory), I cannot be sure without an extensive (and time-consuming) trip through the filesystem.
Reply With Quote
  #6  
Old 06-02-2008, 03:00 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
I understand. I wonder if they were stored with that weird owner originally when copied from Linux -- or whether some attribute copied with them caused subsequent OS copy calls to return incorrect values...
__________________
--Dave Nanian
Reply With Quote
  #7  
Old 06-02-2008, 03:18 PM
mcamou mcamou is offline
Registered User
 
Join Date: Jun 2008
Posts: 7
The files were copied from Linux a couple of years ago and have been OK ever since. I've looked at my Time Machine backup and they are OK there. What I'd like is a way of finding the corrupted files to see how widespread it is.

Last edited by mcamou; 06-02-2008 at 03:24 PM.
Reply With Quote
  #8  
Old 06-02-2008, 03:40 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Well, you can certainly try to use find to locate files with unusual ownership in your Home folder.

It really does sound like your file directory structure on the backup drive took a hit. Anything unusual happen at a hardware level with this drive? What make/model/connection of drive is it, and what else was connected at the time?
__________________
--Dave Nanian
Reply With Quote
  #9  
Old 06-02-2008, 03:43 PM
mcamou mcamou is offline
Registered User
 
Join Date: Jun 2008
Posts: 7
No hardware problems that I know of, no power outages or something like it. It's a LaCie Porsche on Firewire, there was nothing else on the Firewire bus at the time. On the USB side I had my Time Machine drive and a trackball. As soon as I'm finished doing my restore I'll check if there's anything else weird in the drive. BTW, thanks for your quick response and your help!
Reply With Quote
  #10  
Old 06-02-2008, 03:46 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
No forced shutdowns? Anything unusual when you (recently, I assume) updated to 10.5.3?
__________________
--Dave Nanian
Reply With Quote
  #11  
Old 06-02-2008, 05:28 PM
mcamou mcamou is offline
Registered User
 
Join Date: Jun 2008
Posts: 7
Nothing at all! That's what makes it so bizarre. I just did a

# find . -type f -size 0 -links +3 -ls | tee ~/Desktop/weird_files.txt

on my backup volume. There are 22935 files in there. Aside from the /bin files I already mentioned, there are lots of files in /opt/local (from MacPorts), lots of stuff inside my home dir in Library/Application Support/SyncServices/Local/DataReferences, the aforementioned files I'd copied over from Linux, some binaries in /usr/bin and some files in /usr/man. No pattern at all that I can detect. Is there a way of attaching a file or should I just cut-and-paste it in a Reply? Or will it do no good?
Reply With Quote
  #12  
Old 06-02-2008, 05:56 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Send me the file to the support email address.
__________________
--Dave Nanian
Reply With Quote
  #13  
Old 06-02-2008, 06:02 PM
mcamou mcamou is offline
Registered User
 
Join Date: Jun 2008
Posts: 7
Just did, hope you can get something out of it!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server drive won't mount after backup rhennosy General 1 11-09-2007 03:49 PM
Backup failure on a certain file bmat General 3 09-25-2007 09:06 AM
How to verify a Scheduled Backup? tuqqer General 3 12-06-2005 06:50 PM
(Zero-length) File caused SuperDuper to abort backup alancfrancis General 7 08-31-2005 10:42 AM
Smart Backup Error bill s General 20 02-04-2005 09:46 AM


All times are GMT -4. The time now is 11:51 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.