mouseloha.blogg.se

How to open a mac os sparsebundle
How to open a mac os sparsebundle




how to open a mac os sparsebundle

Now that I know it is not TrueNAS-specific, maybe I can tweak my searches and hopefully find a solution. If I cannot get it to work I'll need to get a Mac mini and a box of disks instead, which would mean a waste of perfectly fine hardware. Regardless, it is a dealbreaker for what I hoped would be a TrueNAS future for me, as I need the APFS snapshot Time Machine features available on the network. (I cannot recall if I ever got a chance to try it on the failed Drobo that led me down this path, but I do believe I got it to work.) So, it seems, this is not a TrueNAS issue, but perhaps an APFS issue or a non-Apple SMB issue. If I replace "APFS" in the command to create the sparse bundle with "HFS+J", everything works as expected. In both cases, I get the same error when trying to copy to the APFS sparse bundle.

#HOW TO OPEN A MAC OS SPARSEBUNDLE WINDOWS#

I have now tried it on both Kali Linux and Windows 10. APFS sparse bundle hosted on TrueNAS does not work at all.APFS sparse bundle hosted on macOS works as desired.Of course, I tried the Time Machine experiment as well, which also failed. It mounts, and I can copy a varying amount of data to it, but after a while it always fails after some amount of time with the same error message as earlier:Īfter rebooting the laptop, reconnecting to TrueNAS through SMB and remounting the sparse bundle, the files that were supposedly successfully copied are not there. I then copied the very same (empty) APFS sparse bundle to TrueNAS. The initial backup completed without any issues. Sudo tmutil setdestination /Volumes/u4test2 I mounted the bundle from the laptop, and set it as the Time Machine destination. I connected to my normal client iMac (macOS 11.2.2, but updates have been installed on top of older installations since 2017, and there are lots of tweaks for different reasons) through SMB and uploaded a copy of the bundle to the iMac. I created a fresh APFS sparse bundle (as per above) on a clean-installed macOS 11.2 laptop. Where can I find error logs relating to SMB, mounting, volumes and disk images? (I guess primarily on the client, but also on the server if relevant.).Is there an obvious fix for APFS sparse bundles, assuming I am doing something wrong?.I know I have messed around with my SMB settings on the client in the past for other issues, but I cannot remember what I have done. (Sometimes the volume will unmount for no apparent reason, and I cannot figure out where to look in the logs for errors relating to this.) Hdiutil create -size 3000g -type SPARSEBUNDLE -volname "u4volume" -fs HFS+J -imagekey sparse-band-size=262144 -verbose -encryption -stdinpass u4test.sparsebundle The tests complete successfully fairly consistently (although not 100%) if I instead of APFS use HFS: The operation can’t be completed because it isn’t supported.Īll test activities to the volume are successful when it is created and mounted locally. If I create it locally and then copy it to the share I can mount it, but when copying to it I get the following error sooner or later: Hdiutil: create failed - RPC version wrong Newfs_apfs: unable to format /dev/disk4s2: Operation not supported Tx_mgr_free_tx:207: rdisk4s2 Trash unfinished pending tx, xid range = 0x1 - 0x1 Tx_flush:955: rdisk4s2 xid 1 sync/barrier failed: 45 I tried creating it directly on the share, but get the following error:

how to open a mac os sparsebundle

Hdiutil create -size 3000g -type SPARSEBUNDLE -volname "u4volume" -fs APFS -imagekey sparse-band-size=262144 -verbose -encryption -stdinpass u4test.sparsebundle This has worked reasonably well, except for one remaining issue concerning APFS sparse bundles. I have set up SMB using the default share parameters for testing. Perhaps I will move Pi-hole and Home Assistant to it in the future. I intend to use it primarily for serving media, temporary data storage and various types of backups. The configuration is about as vanilla as can be, with only S.M.A.R.T, SMB, ssh and UPS enabled. I have been building, configuring and testing a TrueNAS server (based on i7-2600, 8 GB RAM, a SSD system disk and four SATA data drives) over the last few months, and believe I have something reasonably stable now, although I have not quite finished burn-in testing. If there is, I would appreciate a link to it. My apologies if I have missed something, but I do believe I have performed an exhaustive search on the forums and have not found any information relating to my specific issue.






How to open a mac os sparsebundle