10.7: mounting .sparsebundle over AFP

Hello World,
I seem to be having difficulties mounting any sort of .sparsebundle image files through an AFP network connection on my MBP OS X 10.7.3. I have tried mounting a .sparsebundle image file as an admin user and as the sudo user without any luck.
When I run the command below, the image disk, '/Volumes/TestImageVol', seems to mount and shows up on the desktop BUT less then a second later unmounts/disappears. No warning, no nothing!
bash-3.2# hdiutil attach /Volumes/TestExtHDD/TestImage.sparsebundle/
/dev/disk1                    Apple_partition_scheme        
/dev/disk1s1                  Apple_partition_map            
/dev/disk1s2                  Apple_HFS                                /Volumes/TestImageVol
bash-3.2#
I can mount other image files (.DMG) just fine from the exact same location as the .sparsebundle files using the terminal command, hdiutil. I can also copy the .sparsebundle files from the AFP network drive to my MBP's local HDD and then mount them using the hdiutil command.
The AFP network is running off an older PowerMac G4 OS X 10.4.11 which has a 2TB external HDD connected to it called, "TestExtHDD". The external HDD is holding all the disk images that I am hopping to mount over an AFP network in the near future.
Here are the deets about the .sparsebundle file:
- Create on Mac OS X 10.7.3 using Disk Utility v12.1
- Filename: TestImage.sparsebundle
- Volume Name: TestImageVol
- Vol Size: 40MB
- Format: Mac OS Extended (Journaled)
- Encryption: none
- Partiions: Single Partition - GUID Partition Map
- Image Format: Sparse Bundle Disk Image
World, any thoughts on why this is happening for only .sparsebundle files?
PS. Yes I do connect to the AFP network share ("afp://user:pass@domainname/TestExtHDD" --> "/Volumes/TestExtHDD") before I try mounting any image files and yes I have plenty of space on both my AFP server and my MBP HDDs.
Thanks,
Sam

AFP (Apple Filing Protocol ) is ideal – it's provided by netatalk, and can be used by things such as Time Machine.
Reference
Time Machine Network Interface Specification (TMNIS): Time Machine Server Requirements

Similar Messages

  • Why can I no longer mount shares over AFP?

    Pre-Mavericks, I had two MBP's backing up to an iMac with a 2TB shared USB drive.  It worked flawlessly.
    Then, after all machines were upgraded, this stopped (I know shares now prefer SMB2, and TM only uses AFP -  seems a little counter-intuitive.  I have a 2TB disk, and I'm not going to go spend another 400 GBP on one that has an Apple logo).
    Shortly after the Mavericks upgrade, I could open Safari OR use "Connect to server..." in Finder and type in: afp://iMac.local and mount the share fine (automation removed, tyvm - but it still functioned).
    For the past 6 - 8 weeks, however, that no longer works either, nor does mount_afp. I get chronic 1069 errors no matter what I try.
    I even have old entries where via Browse the paths were "afp://iMac._afpovertcp._tcp.local", but now selecting this only results in a timeout.
    If I select either "smb://iMac._smb._tcp.local", or type in "cifs://iMac.local", then I get a list of the avaiable shared file systems, and things work (but OF COURSE, I cannot use TimeMachine for backups).
    I even tried fiddling with the "sharing" command to enable AFP only for the Backup share, but lo and behold, even after that, I can only attempt to map with "smb://", and I can only mount the share via SMB (as evidenced by the output of "df").  I thought if SMB weren't available, then my understanding was that Mavericks was supposed to fall back to AFP.  I guess not...
    It's like there has been a systematic crippling/removal of AFP, which is fine if you fix TimeMachine. I had to RMA the iMac once, and it was incredibly convenient to be able to tell the OS when booting that I wanted to restore from backup.  It worked seamlessly.  But I don't want to have to disconnect the USB drive and go to each machine individually.  I'm really curious how peoples' TimeCapsules still work?  OR if everything would still be working fine had I not gone to Mavericks on the iMac.
    Does anyone have an explanation?  Is it just GONE??

    any ideas?

  • Run applescript mounting volume over afp

    don't know if it is possible, but is there a way that when my users mount a certain volume i can have an applescript (that is located on the volume or elsewhere) run?

    is it posible that your user mount the afp volumes per applescript?

  • Unusually access over AFP since 10.4.6

    Hello,
    since we upgraded our clients and our XServe to OS 10.4.6, there is unusually much more access to the shared folder of the XServe. I checked it with fs_usage on the clients and on the server. On the clients you can see, if the shared folder is connected, the Finder is doing much access to this folder (but all applications are closed) and this never stops.
    On the server it looks like a permanent scan of the folders over AFP.
    The shared folder on the server is an XSAN-Volume and now the performance of AFP goes completely down
    Has someone an idea, what the Finder of the clients is doing now and how I can stop this?
    Mac OS X (10.4.6)
    XServe   Mac OS X (10.4.6)  

    Nice, a .DS_Store file was the reason! I have deleted all .DS_Store files on the shared Volume and now it works fine!
    Now, I will disable the .DS_Store files on Networkvolumes. Therefor I found this:
    http://forum.onmac.net/archive/index.php/t-334.html
    Thanks - Jan
    Mac OS X (10.4.6)

  • File copy over AFP / SMB very slow on Mavericks

    Hi guys.
    I have a retina macbook pro (early 2013) and a mac mini (late 2012).
    Both are running 10.9.1. The mac mini has OS X server installed and 2 USB 3.0 harddisks attached to it in RAID0.
    I have a Thunderbolt display hooked up to my MBP. I have a 1gbit wired network between the two machines.
    Now comes the problem: file copy from the USB 3.0 RAID array to the macbook pro over AFP or SMB is slow, I only get around 8 MB/sec.
    First I thought it was a wiring issue (I created my own ethernet cables). However, I tried copying the file via SCP (i.e. SSH) and then I get 50 MB/sec. Still not close to the maximum for gigabit, but at least a lot higher than 8 MB/sec.
    I tried googling if anybody else has the same issue, but couldn't really find definitive answers.
    I have tried everything with both jumbo frames of and on. Both give the same results.
    What's even stranger is if I connect my MBP over 5 GHz to my airport instead of wired, I get 20 MB/sec over AFP....
    As far as I know the problem did not arise in the pre-Mavericks time.
    Does anybody have any suggestions or solutions? 8 MB/sec is not really that nice

    Have you checked your ethernet speed/duplex settings on the ethernet port and XP machine?

  • Sharing Volumes over AFP

    I have several Macs. One of which has several firewire drives attached. From other macs on the network, when I browse the Network and authenticate myself I see all of the mounted volumes. So the Mac automatically shares all of its mounted volumes via AFP.
    I recently purchased a firewire CF card reader. And expect that when I insert a card, it gets mounted on the desktop, and is also made available via afp. But that is not the case. For some reason the firewire card is not being shared via AFP. Why is this the case? How can I get it to be exported via AFP like all my other firewire drives?

    Sharepoints will allow you to do it easily...
    http://www.hornware.com/sharepoints/
    Might also be the Get Info>Ignore Ownership checkbox... dunno on that one.

  • Finder + ACLs over AFP Mounted Remote Volume

    Hey Guys!
    My Finder is not able to display ACLs on files coming from an AFP mounted volume. The ACLs are there -- ``ls -lef'' displays them correctly. If there some obvious thing here that I'm missing?
    regards,
    P

    Yes, sort of. Whenever you're doing an "opportunistic mount" where the server and client are not joined to the same directory domain, permissions masking will take place. When masking is in effect, it maps access from the currently logged-in user (session owner) on the client to the server share point based on the name and password entered after choosing Go > Connect to Server.
    When dealing with masked permissions, this will be the case:
    * On the client-side, the Finder Info windows may or may not correctly show all ACLs and POSIX permissions of items on the share point. They may simply display effective access - e.g. "you can only read" - without further detail. This depends on the protocol. Typically AFP share points will show correct server-side ACLs and POSIX permissions.
    * On the client-side, listing (ls) the contents of the share point via Terminal will indicate that the session owner has full control and is the "POSIX owner" with others' access at zero (0700). These are the masked permissions, not the real ones.
    * On the server, permissions listed via ls in Terminal or Server Admin's File Sharing section will be the correct ones.
    --Gerrit

  • Mount encrypted DMG and share as a shared filesystem over afp

    I am trying to share the hfs+ filesystem that resides on an encrypted .dmg file.   When trying to share the filesystem the only one that can mount this system is the person that mounted it on the localsytem.   Is there a limitation on mounting .dmg and sharing the filesystem or is there a trick that i don't know.   The end result should be a work group with an encrypted share.
    Thanks

    Try creating a disk image on your Desktop. If you have the same problem with it, do as follows.
    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Disk Utility Won't Mount SparseBundle

    I am experimenting with SuperDuper clones and Time Machine, both of which have created .SparseBundle images of system drives.
    If I boot from Leopard Install Disc and run Disk Utility (which I would have to do if the system drive failed completely), , I can't restore from the sparsebundle -- it has to be mounted first. But if I go File>Open Disk Image, the Sparsebundle is grey and I can't do anything with it.
    Now, I've tried Disk Utility from a regular working system, and I have the same problem. Except in this case, I can drag the sparsebundle into the sidebar of Disk Utility, and all I have to do is double-click it and it mounts, allowing me to restore (i assume, I haven't actually tried it yet.)
    How am I supposed to restore from a sparsebundle (which SuperDuper recommends for 10.5, 10.6 users)? SuperDuper's user guide skims right over this point.
    Why can't Disk Utility mount the sparebundle image, when I know that it can, if only I'm able to drag it?
    Sigh
    Thanks.

    Use the option, restore from a TM image. AFAIK, that's how you do it w/TM. I've not used SD! in years, so you should ask at ShirtPocket. BTW, I highly doubt they're recommending images over bootable backups, which you can test without restoring, but I've been wrong before.

  • Creating DMGs mountable over AFP

    Hi there,
    I`m wondering how to create a DMG file, that is mountable via AFP over the Internet.
    Here is the situation.
    We have our own server with network drives shared over FTP / AFP.
    From multiple locations we access the server (Mac OS X Leopard Server) to get data from it via AFP (mount drives in Finder).
    One of the drives stores our software.
    And when there`s a software that is not freeware, we got used to make a DMG file from the App (or installer) + text file with serial number and sometimes other stuff like manual in PDF.
    When I take for instance Toast 9 from Roxio and put their DMG on the server, I can mount it without copying the whole 230 MB file to my computer. Only via internet. And it gets mounted within seconds. Even on my 4 Mbit/s internet connection.
    But when I create compressed DMG file without encryption in Disk Utility (I use the option to create new disk image from folder) and put such a DMG on the network drive, it takes really long to mount it. It seems to me like with such a DMG the Finder needs to cache it somehow, i.e. Finder needs to copy the file first to my computer and then mount it.
    It can be seen also through Activity Monitor and the Network Traffic tab, that system is transferring some data with full speed of my internet connection.
    Can somebody give me an advice, how to create a DMG file, that can be mounted via internet, without the need of being first cached locally?
    Thanks a lot...

    Google the search terms "encrypted NAS" and see if anything there is of any help to you.

  • Rsync over afp

    I'm trying to rsync from a source remote folder to a local folder:
    rsync -a afp://192.168.1.101/Documents/matty-test ./
    I get the following error:
    ssh: Error resolving hostname afp: nodename nor servname provided, or not known
    Not sure what ssh has to do with all of this

    rsync -a afp://192.168.1.101/Documents/matty-test ./
    rsync knows 2 network protocols. Its own for communicating with a remote rsyncd daemon, and ssh for secure remote communications.
    When you specify a colon (:) in a path, it assumes this is the remote.system.address:/path/to/remote/file/or/directory. It also assumes you are using either its own rsync or ssh network protocols.
    rsync does not know about Apple file sharing, it does not know about Windows CIFS/SMB, it does not know about FTP, etc...
    rsync over ssh is a rather powerful tool, especially if you exchange ssh keys so you do not need to provide a login password.
    But if you want to use rsync with an AppleShare volume, then mount the AppleShare volume first and then just use rsync as if everything is local, letting the lower layers of the Mac OS X file system handle the network traffic.
    Also you might want to look into the rsync -E option when working with Mac OS X files.
    And as has been mentioned, this question is better posted in the *Mac OS X Technologies* -> Unix forum. You are more likely to find Unix knowledgeable discussions there.
    <http://discussions.apple.com/forum.jspa?forumID=735>

  • Unable to authenticate from 10.5 client to 10.5 Server to mount SMB or AFP

    We have been banging our heads for some time now and have no idea what is going on. Here's the scenario:
    We have a 10.5.6 Server bound to an Active Directory Domain
    The Server's role is: Connected to a Directory System
    We have ensured that Active Directory/All Domains has been added in the Authentication Pane of Directory Services
    We have made sure that single-sign on has been enabled by running dsconfigad -enablesso
    We have verified that SMB and AD are using the same password
    The shares are actually being re-shared from mounts added through XSan.
    This has worked in 10.4.
    Now, when a client tries to mount the smb share using domain credentials they get an error that they are unable to authenticate.
    If an attempt is made to authenticate from a command line the error reads:
    server rejected the connection: Authentication error
    The smb logs fill with error -14090 [eDSAuthFailed] on each authentication type attempt meaning it tries kerberos and fails, NTLMv2 and fails, NTLMv1 and fails.
    We really need to figure this one out. Anyone have any more ideas?

    It does, in fact, fail the SHA-1 test, but how could that be? What could cause the download to be corrupt over and over and over? I've downloaded it both wirelessly and by wired connection, on both the MacBook itself and on a PowerMac G5.
    MacOSXUpd10.5.6.dmg SHA comes back as e35035609abb3a0ac231d4d4cd8954a8d07d950e
    accepted SHA is 684f67524a92b4314a4bdd52498fb3b6af8f9ded
    MacOSXUpdCombo10.5.6 SHA comes back as 045e51a74376521931e563c64fa79ed5c1529d79
    accepted SHA is 09de4ac2c5591ab75d51ef37dc70f9e5630150d4
    i doubt that info really helps anything, though
    Redownloading both AGAIN... we'll see what happens.
    Message was edited by: chiefanalogist

  • Mount TC using AFP on Linux

    Hi there,
    Can anyone tell me if it's possible to [auto]mount my newly purchased TC on Linux (any RedHat based system) using AFP? I can mount the using samba like this:
    +mount.cifs //10.0.11.10/Data /your-mount-point -o password=YourPassWord+
    but I rather like it using AFP. I'm running NetaTalk on the Linux box and afpd is already configured.Any comment/direction from any one? Thanks in advance though. Cheers!!!

    Isn't any one using Linux at all? Cheers!!!

  • Unable to Connect to Mounted Volumes via AFP; Local Network

    Server's name is Boing. If I try: Connect to Server: afp://Boing.local I'm given a list of possible volumes. However, this list only includes my home directory and every user's Public Folder. I am an admin user:
    uid=516(mnewman) gid=516(mnewman) groups=516(mnewman),101(com.apple.sharepoint.group.1),105(com.apple.sharepoint. group.3),103(com.apple.accessscreensharing),98(_lpadmin),102(com.apple.access_ssh),81(_appserveradm),79(appserverusr),80(admin),20(staff),106(com.apple.sharepoint.group.4),104(com.appl e.sharepoint.group.2)
    I should have access to all mounted volumes:
    drwxrwxr-t 56 root admin - 1972 May 17 13:39 /Volumes/Banana
    drwxrwxr-x 13 mnewman mnewman - 510 Jan 14 09:17 /Volumes/Farang
    lrwxr-xr-x 1 root admin - 1 May 21 10:46 /Volumes/Fuji -> /
    drwxrwxr-x 12 mnewman mnewman - 476 Apr 20 08:29 /Volumes/Guava
    drwxrwxr-t 17 root admin - 646 May 17 13:39 /Volumes/Lime
    If I ssh into Boing, I can get to everything.
    If a different admin user connects to Boing via afp she can get to everything.
    What has happened to my account that permits me afp access only to public shares?

    Amazing:
    I used Apple's Workgroup Manager to add a short name (mgnewman) to my account.
    Using that short name I can now connect to Boing using the Finder's Go->Connect To Server...
    and, all the mounted volumes are shown.
    Workgroup Manager shows "mnewman" as my default short name. But, it doesn't work right
    for afp connections either through the GUI or command line. But, my newly added short user
    name works just fine. (Oddly, my Dot Mac e-mail address, also shown as a short user name in
    Workgroup Manager, also works....)
    I suspect that the Directory Services database is somehow corrupt.
    Is there a way to rebuild it?

  • Adding documents over afp server.

    I am working on a script to generate a book from a text file. The indesign files are on an afp mount, which has been mounted and the permissions seem to be correct. I can have indesign open the document without any problem.
    Using the following line of applescript adds a document to a book if the document is on the local machine but doesn't seem to work if the document is on the server.
    set someContent to make new book content given full name:"afpseverMount:myDoc.indd"
    Any idea why? Possible solutions?
    Thanks,
    Joseph

    On 18/1/08 9:20 AM, "Joseph Oxborrow" <[email protected]> wrote:<br /><br />> Script editor complains if there isn't a colon and won't compile.<br /><br />That's because it should be:<br /><br />    set someContent to make new book content with properties {full<br />name:myDoc}<br /><br /><br />-- <br />Shane Stanley <[email protected]><br />AppleScript Pro Florida, Feb 2008 <a href=http://scriptingmatters.com/aspro>

Maybe you are looking for