1

I'm trying to create a sparse bundle image from Disk Utility directly on my NAS (through a mounted smb volume):

DiskUtil options

I then get the following error after a few seconds:

Error message

Creating a sparseimage the same way works perfectly. I however wanted to go to a sparse bundle as the file is afterwards synchronized with Google Drive and sparsebundle are seen as folders and are then more sync-friendly.

I'm on 10.10.1.

Info about the mounted volume:

Volume info

  • Does your NAS support AFP? If so, try mounting an AFP share and create the sparsebundle there. – Trane Francks Jan 25 '15 at 4:40
  • 1
    @TraneFrancks Yes my NAS supports AFP. I enabled it, connected through AFP and was able to create the sparsebundle! It seems you can create an answer with this so I can accept it. Didn't know sparsebundle was linked to the AFP protocol. Is it only for creation or will I now have to always connect to this volume through AFP? – LudoMC Jan 25 '15 at 17:20
  • Cheers. Glad to see it worked out for you. – Trane Francks Jan 26 '15 at 9:08
1

To use sparsebundles and Time Machine backups, a NAS must support AFP and one must mount the share using the AFP protocol. AFP supports metadata transport that is not carried via SMB shares. CIF/SMB should be used with Windows-based systems. AFP should be used with Apple systems whenever possible.

While you might be able to create a sparsebundle and use it under SMB, I can see no reason for doing so. When you're using OS X, you're best served by using AFP.

  • 2
    I went for SMB2 as, from Mavericks on, Apple moved from AFP to SMB. Seems AFP stays there just for old Macs and TimeMachine. You can find this here. "SMB2 is the new default protocol for sharing files in OS X Mavericks" – LudoMC Jan 26 '15 at 12:21
  • Interesting. There's certainly a big difference between SMB 1.x and SMB2. Thanks for the link and the up-to-date information. – Trane Francks Jan 27 '15 at 3:28
  • Yes, but what is strange is that my NAS is SMB2 compatible, which means SMB2 doesn't support sparsebundle, nor Versions as I have to also mount as AFP to have it enabled on external Volumes. Weird... – LudoMC Jan 27 '15 at 10:52
  • Within the sparsebundle, things should be fine. It's my feeling that if you needed to create the sparsebundle using AFP, you should also also mount the filesystem in the same fashion. The big question here is whether there are bugs in the SMB2 implementation on your NAS. It's worth repeating, though, that if the idea is to do a Time Machine backup, SMB2 is not supported; you need to use AFP for Time Machine. – Trane Francks Jan 28 '15 at 11:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .