ZFS snapshot volumes sometimes visible at the Computer level

This forum is to find answers to problems you may be having with ZEVO Community Edition.

Moderators: jhartley, MSR734, nola

ZFS snapshot volumes sometimes visible at the Computer level

Post by grahamperrin » Sun Mar 17, 2013 7:28 am

ZEVO Community Edition 1.1.1 on OS X 10.8.3.

Earlier today whilst two snapshots were mounted, they were visible at the Computer level in Finder. The volumes bore the ZFS snapshot icon – like this (but smaller, in column view):

ZFSSnapshotIcon.png
ZFSSnapshotIcon.png (20.06 KiB) Viewed 93 times


Now when I mount snapshots, they don't appear at that level. I tried both with and without a preference to view hidden files in Finder.

Question

What determines whether mounted snapshots appear as volumes at the Computer level?

Postscript

In system.log I found four messages from Finder:

Code: Select all
2013-03-17 11:10:05.226 Finder[11021]: ISGetIconFamilyFromStorage: seed mismatch for 24d3005a, actual seed is 901b6638
   1   OSServices                          0x00007fff9444e720 _ZL26ISGetIconFamilyFromStoragejPP17CIconStorageArrayPj + 140
   2   OSServices                          0x00007fff9447ce5b _ISIsStorageOnTheVolume + 23
   3   OSServices                          0x00007fff944a7506 _ISIsAnyOfImageStoragesOnTheVolume + 47
   4   LaunchServices                      0x00007fff8e64c313 _ZN13CIconRefEntry23DataChangedAfterUnmountEs + 13
   5   LaunchServices                      0x00007fff8e64b4a8 _ZN13CIconRefArray13UnmountVolumeEs + 82
   6   LaunchServices                      0x00007fff8e64c2fc _ZL21MountNotificationHookP15VolumeNoticeBlk + 39
   7   CarbonCore                          0x00007fff909a38d7 _Z29_FSVolumeNotificationCallbacksPK10__CFStringPKvPv + 282
   8   CarbonCore                          0x00007fff9096fe3e _FSVolumeObserverCallback + 165
   9   CoreFoundation                      0x00007fff8cd4be40 __CFMachPortPerform + 288
   10  CoreFoundation                      0x00007fff8cd4bd09 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
   11  CoreFoundation                      0x00007fff8cd4ba49 __CFRunLoopDoSource1 + 153
   12  CoreFoundation                      0x00007fff8cd7ec02 __CFRunLoopRun + 1826
   13  CoreFoundation                      0x00007fff8cd7e0e2 CFRunLoopRunSpecific + 290
   14  HIToolbox                           0x00007fff9177feb4 RunCurrentEventLoopInMode + 209
   15  HIToolbox                           0x00007fff9177fc52 ReceiveNextEventCommon + 356
   16  HIToolbox                           0x00007fff9177fae3 BlockUntilNextEventMatchingListInMode + 62
   17  AppKit                              0x00007fff8f700563 _DPSNextEvent + 685
   18  AppKit                              0x00007fff8f6ffe22 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
   19  AppKit                              0x00007fff8f6f71d3 -[NSApplication run] + 517
   20  AppKit                              0x00007fff8f69bc06 NSApplicationMain + 869
   21  Finder                              0x0000000107e1bb86 Finder + 23430
   22  libdyld.dylib                       0x00007fff94eb37e1 start + 0
2013-03-17 11:10:05.228 Finder[11021]: ISGetIconFamilyFromStorage: seed mismatch for 2f70005b, actual seed is b5f14908
   1   OSServices                          0x00007fff9444e720 _ZL26ISGetIconFamilyFromStoragejPP17CIconStorageArrayPj + 140
   2   OSServices                          0x00007fff9447ce5b _ISIsStorageOnTheVolume + 23
   3   OSServices                          0x00007fff944a7506 _ISIsAnyOfImageStoragesOnTheVolume + 47
   4   LaunchServices                      0x00007fff8e64c313 _ZN13CIconRefEntry23DataChangedAfterUnmountEs + 13
   5   LaunchServices                      0x00007fff8e64b4a8 _ZN13CIconRefArray13UnmountVolumeEs + 82
   6   LaunchServices                      0x00007fff8e64c2fc _ZL21MountNotificationHookP15VolumeNoticeBlk + 39
   7   CarbonCore                          0x00007fff909a38d7 _Z29_FSVolumeNotificationCallbacksPK10__CFStringPKvPv + 282
   8   CarbonCore                          0x00007fff9096fe3e _FSVolumeObserverCallback + 165
   9   CoreFoundation                      0x00007fff8cd4be40 __CFMachPortPerform + 288
   10  CoreFoundation                      0x00007fff8cd4bd09 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
   11  CoreFoundation                      0x00007fff8cd4ba49 __CFRunLoopDoSource1 + 153
   12  CoreFoundation                      0x00007fff8cd7ec02 __CFRunLoopRun + 1826
   13  CoreFoundation                      0x00007fff8cd7e0e2 CFRunLoopRunSpecific + 290
   14  HIToolbox                           0x00007fff9177feb4 RunCurrentEventLoopInMode + 209
   15  HIToolbox                           0x00007fff9177fc52 ReceiveNextEventCommon + 356
   16  HIToolbox                           0x00007fff9177fae3 BlockUntilNextEventMatchingListInMode + 62
   17  AppKit                              0x00007fff8f700563 _DPSNextEvent + 685
   18  AppKit                              0x00007fff8f6ffe22 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
   19  AppKit                              0x00007fff8f6f71d3 -[NSApplication run] + 517
   20  AppKit                              0x00007fff8f69bc06 NSApplicationMain + 869
   21  Finder                              0x0000000107e1bb86 Finder + 23430
   22  libdyld.dylib                       0x00007fff94eb37e1 start + 0
2013-03-17 11:10:05.392 Finder[11021]: ISGetIconFamilyFromStorage: seed mismatch for 2f70005b, actual seed is b5f14908
   1   OSServices                          0x00007fff9444e720 _ZL26ISGetIconFamilyFromStoragejPP17CIconStorageArrayPj + 140
   2   OSServices                          0x00007fff9444e8c8 _ISReleaseStorageRefInternal + 33
   3   OSServices                          0x00007fff9444e88e _ISReleaseStorageRefWithCache + 40
   4   OSServices                          0x00007fff9444e7cb _ZL25ISReleaseImageRefInternalP16OpaqueISImageRefPPK9__CFArray + 72
   5   OSServices                          0x00007fff9444e75e _ISReleaseImageRef + 49
   6   LaunchServices                      0x00007fff8e6320b9 _ZN13CIconRefEntry13SetImageLayerEP16OpaqueISImageRef + 27
   7   LaunchServices                      0x00007fff8e632084 _ZN13CIconRefEntry6UnloadEv + 20
   8   LaunchServices                      0x00007fff8e62f138 _ZL22ReleaseIconRefInternalP13OpaqueIconRef + 49
   9   LaunchServices                      0x00007fff8e62f0f4 ReleaseIconRef + 33
   10  LaunchServices                      0x00007fff8e610c74 __LSSharedFileListItemDeallocate + 32
   11  CoreFoundation                      0x00007fff8cd523df CFRelease + 511
   12  DesktopServicesPriv                 0x00007fff95574635 _ZN4TRefIP29OpaqueLSSharedFileListItemRef20TRetainReleasePolicyIS1_EED2Ev + 17
   13  DesktopServicesPriv                 0x00007fff955732ae _ZN13TFileListItem18RemovePtrReferenceEv + 42
   14  DesktopServicesPriv                 0x00007fff9555bcb1 _ZN11TCountedPtrI13TFileListItemED2Ev + 17
   15  DesktopServicesPriv                 0x00007fff95563118 _ZN15TFSInfoOverflowD2Ev + 62
   16  DesktopServicesPriv                 0x00007fff955411dd _ZN7TFSInfoD2Ev + 27
   17  DesktopServicesPriv                 0x00007fff95543970 _ZN7TFSInfo18RemovePtrReferenceEv + 42
   18  DesktopServicesPriv                 0x00007fff95541f15 _ZN11TCountedPtrI7TFSInfoED2Ev + 17
   19  DesktopServicesPriv                 0x00007fff9555e623 _ZN5TNode19SynchronizeChildrenEjR16TNodeEventPtrSet + 6211
   20  DesktopServicesPriv                 0x00007fff9555a181 _ZN5TNode10HandleSyncEj + 2629
   21  DesktopServicesPriv                 0x00007fff9556d948 _ZN5TNode10HandleSyncERK11TCountedPtrI9TNodeTaskERK8TNodePtr + 42
   22  DesktopServicesPriv                 0x00007fff95549f4b _ZN5TNode17HandleNodeRequestERK11TCountedPtrI9TNodeTaskERKS0_I17TVolumeSyncThreadE + 757
   23  DesktopServicesPriv                 0x00007fff955bd11f __block_global_1 + 82
   24  DesktopServicesPriv                 0x00007fff95549c00 _Z18ExceptionSafeBlockU13block_pointerFvvE + 12
   25  DesktopServicesPriv                 0x00007fff95549ba1 __PostNodeTaskRequest_block_invoke_0 + 91
   26  libdispatch.dylib                   0x00007fff9441bf01 _dispatch_call_block_and_release + 15
   27  libdispatch.dylib                   0x00007fff944180b6 _dispatch_client_callout + 8
   28  libdispatch.dylib                   0x00007fff9441947f _dispatch_queue_drain + 235
   29  libdispatch.dylib                   0x00007fff944192f1 _dispatch_queue_invoke + 52
   30  libdispatch.dylib                   0x00007fff944191c3 _dispatch_worker_thread2 + 249
   31  libsystem_c.dylib                   0x00007fff9771cd0b _pthread_wqthread + 404
   32  libsystem_c.dylib                   0x00007fff977071d1 start_wqthread + 13
2013-03-17 11:10:05.599 Finder[11021]: ISGetIconFamilyFromStorage: seed mismatch for 24d3005a, actual seed is 901b6638
   1   OSServices                          0x00007fff9444e720 _ZL26ISGetIconFamilyFromStoragejPP17CIconStorageArrayPj + 140
   2   OSServices                          0x00007fff9444e8c8 _ISReleaseStorageRefInternal + 33
   3   OSServices                          0x00007fff9444e88e _ISReleaseStorageRefWithCache + 40
   4   OSServices                          0x00007fff9444e7cb _ZL25ISReleaseImageRefInternalP16OpaqueISImageRefPPK9__CFArray + 72
   5   OSServices                          0x00007fff9444e75e _ISReleaseImageRef + 49
   6   LaunchServices                      0x00007fff8e6320b9 _ZN13CIconRefEntry13SetImageLayerEP16OpaqueISImageRef + 27
   7   LaunchServices                      0x00007fff8e632084 _ZN13CIconRefEntry6UnloadEv + 20
   8   LaunchServices                      0x00007fff8e62f138 _ZL22ReleaseIconRefInternalP13OpaqueIconRef + 49
   9   LaunchServices                      0x00007fff8e62f0f4 ReleaseIconRef + 33
   10  LaunchServices                      0x00007fff8e610c74 __LSSharedFileListItemDeallocate + 32
   11  CoreFoundation                      0x00007fff8cd523df CFRelease + 511
   12  DesktopServicesPriv                 0x00007fff95574635 _ZN4TRefIP29OpaqueLSSharedFileListItemRef20TRetainReleasePolicyIS1_EED2Ev + 17
   13  DesktopServicesPriv                 0x00007fff955732ae _ZN13TFileListItem18RemovePtrReferenceEv + 42
   14  DesktopServicesPriv                 0x00007fff9555bcb1 _ZN11TCountedPtrI13TFileListItemED2Ev + 17
   15  DesktopServicesPriv                 0x00007fff95563118 _ZN15TFSInfoOverflowD2Ev + 62
   16  DesktopServicesPriv                 0x00007fff955411dd _ZN7TFSInfoD2Ev + 27
   17  DesktopServicesPriv                 0x00007fff95543970 _ZN7TFSInfo18RemovePtrReferenceEv + 42
   18  DesktopServicesPriv                 0x00007fff95541f15 _ZN11TCountedPtrI7TFSInfoED2Ev + 17
   19  DesktopServicesPriv                 0x00007fff95578e26 _ZN5TNodeD2Ev + 416
   20  DesktopServicesPriv                 0x00007fff95578c38 -[FINode dealloc] + 28
   21  DesktopServicesPriv                 0x00007fff95578c16 -[FINode releaseUnderMonitor] + 40
   22  DesktopServicesPriv                 0x00007fff95550526 NodeDisposeNodeRef + 119
   23  Finder                              0x0000000107ffc59e Finder + 1992094
   24  libobjc.A.dylib                     0x00007fff8c289fcc _ZL27object_cxxDestructFromClassP11objc_objectP10objc_class + 100
   25  libobjc.A.dylib                     0x00007fff8c283922 objc_destructInstance + 91
   26  libobjc.A.dylib                     0x00007fff8c283fa0 object_dispose + 22
   27  AppKit                              0x00007fff8f7fd23c -[NSCell dealloc] + 478
   28  AppKit                              0x00007fff8f7fd054 -[NSTextFieldCell dealloc] + 315
   29  AppKit                              0x00007fff8f5b045f -[NSImageTextFieldCell dealloc] + 67
   30  Finder                              0x0000000107e75334 Finder + 389940
   31  CoreFoundation                      0x00007fff8cd5228a CFRelease + 170
   32  CoreFoundation                      0x00007fff8cd79655 -[__NSArrayM dealloc] + 229
   33  CoreFoundation                      0x00007fff8cd5228a CFRelease + 170
   34  CoreFoundation                      0x00007fff8cd79655 -[__NSArrayM dealloc] + 229
   35  Finder                              0x0000000107e73967 Finder + 383335
   36  Finder                              0x00000001080a2d06 Finder + 2673926
   37  Finder                              0x00000001080a2da8 Finder + 2674088
   38  Finder                              0x0000000107f27a0f Finder + 1120783
   39  CoreFoundation                      0x00007fff8cd8eeda _CFXNotificationPost + 2554
   40  Foundation                          0x00007fff8b7d0e26 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
   41  Finder                              0x0000000107e2ceae Finder + 93870
   42  Finder                              0x0000000107e32303 Finder + 115459
   43  Finder                              0x0000000107e32246 Finder + 115270
   44  DesktopServicesPriv                 0x00007fff955b97d9 __block_global_1 + 29
   45  DesktopServicesPriv                 0x00007fff95549c00 _Z18ExceptionSafeBlockU13block_pointerFvvE + 12
   46  DesktopServicesPriv                 0x00007fff9556da22 __WakeUp_block_invoke_0 + 72
   47  libdispatch.dylib                   0x00007fff9441bf01 _dispatch_call_block_and_release + 15
   48  libdispatch.dylib                   0x00007fff944180b6 _dispatch_client_callout + 8
   49  libdispatch.dylib                   0x00007fff9441d0c8 _dispatch_main_queue_callback_4CF + 275
   50  CoreFoundation                      0x00007fff8cd7eb4c __CFRunLoopRun + 1644
   51  CoreFoundation                      0x00007fff8cd7e0e2 CFRunLoopRunSpecific + 290
   52  HIToolbox                           0x00007fff9177feb4 RunCurrentEventLoopInMode + 209
   53  HIToolbox                           0x00007fff9177fc52 ReceiveNextEventCommon + 356
   54  HIToolbox                           0x00007fff9177fae3 BlockUntilNextEventMatchingListInMode + 62
   55  AppKit                              0x00007fff8f700563 _DPSNextEvent + 685
   56  AppKit                              0x00007fff8f6ffe22 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
   57  AppKit                              0x00007fff8f6f71d3 -[NSApplication run] + 517
   58  AppKit                              0x00007fff8f69bc06 NSApplicationMain + 869
   59  Finder                              0x0000000107e1bb86 Finder + 23430
   60  libdyld.dylib                       0x00007fff94eb37e1 start + 0
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: ZFS snapshot volumes sometimes visible at the Computer l

Post by raattgift » Mon Mar 18, 2013 12:51 pm

I'm guessing you've mounted a snapshot dynamically by using the snapdir=visible dataset property.

mount | grep @

should say something like

...@2013-03-18-174415 on /.../.zfs/snapshot/2013-03-18-174415 (zfs, local, read-only, automounted, noatime, nobrowse)

the relevant attribute is "nobrowse", which ought to be set.

Otherwise, kindly explain how you "mounted" a snapshot.
raattgift Offline


 
Posts: 98
Joined: Mon Sep 24, 2012 11:18 pm

Re: ZFS snapshot volumes sometimes visible at the Computer l

Post by grahamperrin » Mon Mar 18, 2013 9:53 pm

Thanks for this.

Yes, snapdir=visible and I usually mount by clicking in Finder, column view. So for example something like this:

2013-03-19 02-15-25 screenshot.png
2013-03-19 02-15-25 screenshot.png (92 KiB) Viewed 84 times


Now

As you expect,

Code: Select all
macbookpro08-centrim:~ gjp22$ mount | grep @
gjp22@2013-03-18-162707 on /Volumes/gjp22/.zfs/snapshot/2013-03-18-162707 (zfs, local, read-only, automounted, noatime, nobrowse)
gjp22@2013-03-18-152708 on /Volumes/gjp22/.zfs/snapshot/2013-03-18-152708 (zfs, local, read-only, automounted, noatime, nobrowse)


Previously

If a mount without nobrowse was the cause of a snapshot appearing at the Computer level in Finder, then I wonder how the mount happened in that way.

At the time, I wasn't paying great attention to things around ZEVO. (I was probably focused on a bug unrelated to ZEVO.) I do recall seeing the green snapshot icons, relatively large … knowing my Finder habits, I can't imagine seeing those icons at that size anywhere other than at the Computer level.

For a mount of a ZFS snapshot that is initiated by a click in column view in Finder, I wonder whether an obscure (or difficult to reproduce) bug in the OS might occasionally cause a mount to differ from what's expected.

Note to self: 250018992
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom


Return to Troubleshooting

Who is online

Users browsing this forum: bileyqrkq and 0 guests

cron