Shirt Pocket Discussions

Shirt Pocket Discussions (https://www.shirt-pocket.com/forums/index.php)
-   General (https://www.shirt-pocket.com/forums/forumdisplay.php?f=6)
-   -   sparse bundle error (https://www.shirt-pocket.com/forums/showthread.php?t=5623)

jmwilder 08-30-2009 11:06 PM

sparse bundle error
 
I've upgraded to 2.6.1 and am trying to take advantage of the save to sparse bundle option. I'm running Snow Leopard. Unfortunately, I get the following error when I try to mount:

hdiutil: create failed - Operation not supported

Trying to save instead to a sparse image works fine. I'm backing up to a D-Link NAS (DNS-321) with EXT2 file system. Is the sparse bundle image incompatible with EXT2 or should I look elsewhere for the problem? Any ideas? Thanks.

djc 08-30-2009 11:18 PM

I'm getting a similar error:

Code:

| 08:12:42 PM | Info | ......COMMAND => Preparing MBP
| 08:14:25 PM | Info |      hdiutil: create failed - Operation not supported
| 08:14:25 PM | Error | ****FAILED****: result=256 errno=22 (Unknown error: 0)

Buffalo LS-WSGL/R1 XFS

sjk 08-30-2009 11:36 PM

That's a permissions error, possibly caused by SD! not setting a permission that's compatible with the filesystem you're storing the sparse bundles on. If you run ls -dl /path/to/file.sparsebundle in a Terminal shell and post the output here I can see what OS X thinks the permissions are.

A workaround might be to manually adjust the permission, manually mount the sparse bundle volume, then select the mounted volume as the SD! copy target. If you try that be careful not to reselect the sparse bundle filename as the target again because SD! might recreate it because of the permission problem.

djc 08-31-2009 12:19 AM

can do, however I do not know how to specify the path correctly.

the NAS is named LINKSTATION and the share is called Backup. Not sure what I need to do in terminal to display the information you request for a remote drive. I'll play around and see what I can come up with for now.

sjk 08-31-2009 12:57 AM

I'm not familiar with the NAS naming conventions, but maybe the pathname to the sparse bundle would be something like:

/Volumes/Backup/file.sparsebundle

If you can't figure it out someone else with more direct experience can give you more step-by-step help. In any case I'm sure Shirt Pocket will have a fix for it (if possible) relatively soon.

djc 08-31-2009 01:04 AM

That worked

there is no file in the directly as SD! can't create, but here is the output you asked for:

Code:

drwx------  1 djc  staff  16384 Aug 30 21:10 /volumes/backup
Thanks for your help!

sjk 08-31-2009 02:01 AM

The permissions at that level looks fine.

I doubt it matters for this, but if you run File > Get Info (Command-I) on the /Volume/Backup volume in Finder is "Enable ownership on the volume" under the bottom Sharing & Permissions section checked or unchecked?

Next I'd run find /Volumes/Backup -name '*.sparsebundle' in a Terminal shell to find the .sparsebundle pathname(s), e.g.:

Code:

% find /Volumes/Backup -name '*.sparsebundle'
/Volumes/Backup/eMac/Macintosh HD@lovelight.sparsebundle
/Volumes/Backup/iMac/Media@halo.sparsebundle
/Volumes/Backup/iMac/Users@halo.sparsebundle

After you've found one that's causing SD! trouble you can run ls -dl /Volume/Backup/path/to/file.sparsebundle to view its permissions. And if you open the folder it's in then try opening the actual .sparsebundle (by double-clicking it) you'll get an error if it's a permissions problem (like I suspect).

Sorry I don't have an instant answer/solution. The info I'm asking for helps analyze and understand the cause of the problem before moving further.

dnanian 08-31-2009 02:20 AM

Are you able to create a sparse bundle on that volume with Disk Utility?

djc 08-31-2009 02:21 AM

Quote:

Originally Posted by sjk (Post 26414)
The permissions at that level looks fine.

I doubt it matters for this, but if you run File > Get Info (Command-I) on the /Volume/Backup volume in Finder is "Enable ownership on the volume" under the bottom Sharing & Permissions section checked or unchecked?

I don't see that. This is what is shows in GetInfo:

http://img408.imageshack.us/img408/7...ure1lml.th.png

Quote:

Originally Posted by sjk (Post 26414)
Next I'd run find /Volumes/Backup -name '*.sparsebundle' in a Terminal shell to find the .sparsebundle pathname(s), e.g.:

Code:

% find /Volumes/Backup -name '*.sparsebundle'
/Volumes/Backup/eMac/Macintosh HD@lovelight.sparsebundle
/Volumes/Backup/iMac/Media@halo.sparsebundle
/Volumes/Backup/iMac/Users@halo.sparsebundle

After you've found one that's causing SD! trouble you can run ls -dl /Volume/Backup/path/to/file.sparsebundle to view its permissions. And if you open the folder it's in then try opening the actual .sparsebundle (by double-clicking it) you'll get an error if it's a permissions problem (like I suspect).

Sorry I don't have an instant answer/solution. The info I'm asking for helps analyze and understand the cause of the problem before moving further.

SD! isn't creating any sparsebundles at all, almost as if it doesn't have permission to do so, but it should. The backup folder is empty, short of a trashbox.

djc 08-31-2009 02:24 AM

Quote:

Originally Posted by dnanian (Post 26416)
Are you able to create a sparse bundle on that volume with Disk Utility?

No. Interesting...

http://img33.imageshack.us/img33/817...ure1mct.th.png

dnanian 08-31-2009 02:24 AM

Right. That's the problem. When you fix it so you can create a sparse bundle with Disk Utility, SuperDuper! will work too...

sjk 08-31-2009 02:28 AM

Could it be that volume isn't being shared with enough permission?

dnanian 08-31-2009 02:29 AM

That'd be my guess.

djc 08-31-2009 02:30 AM

Not sure why that is. I can create a sparsebundle on my desktop then drag it to 'Backup' and it copies just fine...

?

sjk 08-31-2009 02:52 AM

Quote:

I can create a sparsebundle on my desktop then drag it to 'Backup' and it copies just fine...
That's because when it's created on Desktop it has enough permission to be copied to /Volumes/Backup, but that volume itself doesn't have enough permission for the sparse bundle to be created directly on it.

If you run this command in a Terminal shell:

sudo touch /Volumes/Backup/deleteme

… my guess is it'll return this error:

touch: /Volumes/Backup/deleteme: Permission denied

I don't know what to suggest so authenticated apps like SD! and Disk Utility will have the access they need to it; sorry.


All times are GMT -4. The time now is 12:29 AM.

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