Arctic Moose
Cadet
- Joined
- Jan 13, 2021
- Messages
- 9
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. If there is, I would appreciate a link to it. Thanks!
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. The configuration is about as vanilla as can be, with only S.M.A.R.T, SMB, ssh and UPS enabled.
I intend to use it primarily for serving media, temporary data storage and various types of backups. Perhaps I will move Pi-hole and Home Assistant to it in the future.
I have set up SMB using the default share parameters for testing. This has worked reasonably well, except for one remaining issue concerning APFS sparse bundles.
Server: TrueNAS 12.2-RELEASE-p3
Client: Intel macOS 11.2.2
I have tried creating the image using:
I tried creating it directly on the share, but get the following error:
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:
All test activities to the volume are successful when it is created and mounted locally.
The tests complete successfully fairly consistently (although not 100%) if I instead of APFS use HFS:
(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.)
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. Here's my output from smbutil:
My two major questions are:
Thanks!
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. The configuration is about as vanilla as can be, with only S.M.A.R.T, SMB, ssh and UPS enabled.
I intend to use it primarily for serving media, temporary data storage and various types of backups. Perhaps I will move Pi-hole and Home Assistant to it in the future.
I have set up SMB using the default share parameters for testing. This has worked reasonably well, except for one remaining issue concerning APFS sparse bundles.
Server: TrueNAS 12.2-RELEASE-p3
Client: Intel macOS 11.2.2
I have tried creating the image using:
hdiutil create -size 3000g -type SPARSEBUNDLE -volname "u4volume" -fs APFS -imagekey sparse-band-size=262144 -verbose -encryption -stdinpass u4test.sparsebundle
I tried creating it directly on the share, but get the following error:
Formatting…
tx_flush:955: rdisk4s2 xid 1 sync/barrier failed: 45
tx_mgr_free_tx:207: rdisk4s2 Trash unfinished pending tx, xid range = 0x1 - 0x1
newfs_apfs: unable to format /dev/disk4s2: Operation not supported
Finishing…
DIHLDiskImageCreate() returned 73
hdiutil: create: returning 73
hdiutil: create failed - RPC version wrong
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:
The operation can’t be completed because it isn’t supported.
All test activities to the volume are successful when it is created and mounted locally.
The tests complete successfully fairly consistently (although not 100%) if I instead of APFS use HFS:
hdiutil create -size 3000g -type SPARSEBUNDLE -volname "u4volume" -fs HFS+J -imagekey sparse-band-size=262144 -verbose -encryption -stdinpass u4test.sparsebundle
(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.)
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. Here's my output from smbutil:
==================================================================================================
SHARE ATTRIBUTE TYPE VALUE
==================================================================================================
dada4
SERVER_NAME 10.0.0.20
USER_ID 502
SMB_NEGOTIATE SMBV_NEG_SMB1_ENABLED
SMB_NEGOTIATE SMBV_NEG_SMB2_ENABLED
SMB_NEGOTIATE SMBV_NEG_SMB3_ENABLED
SMB_VERSION SMB_3.02
SMB_SHARE_TYPE DISK
SIGNING_SUPPORTED TRUE
EXTENDED_SECURITY_SUPPORTED TRUE
UNIX_SUPPORT TRUE
LARGE_FILE_SUPPORTED TRUE
OS_X_SERVER TRUE
FILE_IDS_SUPPORTED TRUE
DFS_SUPPORTED TRUE
FILE_LEASING_SUPPORTED TRUE
MULTI_CREDIT_SUPPORTED TRUE
ENCRYPTION_SUPPORTED TRUE
--------------------------------------------------------------------------------------------------
My two major questions are:
- Is there an obvious fix for APFS sparse bundles, assuming I am doing something wrong?
- 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.)
Thanks!