Search with FileBuddy and Spotlight

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

Moderators: jhartley, MSR734, nola

Search with FileBuddy and Spotlight

Post by professor » Thu May 09, 2013 4:42 am

Hi. I have a problem here where I can't search for files in a zpool.

As I understood there is a problem with spotlight and zfs. That considered I have used FileBuddy to search for files. But even FileBuddy doesn't find files on a zpool or within filesystems on that pool.

What am I doing wrong?

Professor©
professor Offline


 
Posts: 7
Joined: Sat Apr 20, 2013 10:25 am

Re: Search with FileBuddy and Spotlight

Post by grahamperrin » Sat May 11, 2013 11:40 am

professor wrote:… a problem with spotlight and zfs. …


ZEVO supports searchfs. MacZFS does not.

My uses of Spotlight with ZFS file systems, including child file systems, are problem-free with ZEVO. Your uses should be equally problem-free.

Please paste, as code, outputs from these two commands, run in Terminal:

sw_vers

mdutil -asv

– and name one of the file systems with which Spotlight finds difficulty.
grahamperrin Offline

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

Re: Search with FileBuddy and Spotlight

Post by professor » Sun May 12, 2013 2:59 pm

mac-mini:~ user$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.8.3
BuildVersion: 12D78

/:
Indexing enabled.
Scan base time: 2013-05-01 18:53:02 +0200 (961466 seconds ago), reasoning: 'ScanShadow'
/.MobileBackups:
No index.
/Volumes/Backup:
Indexing enabled.
/Volumes/Ohne Titel 1:
Indexing enabled.
/Volumes/Storage:
Indexing enabled.
/Volumes/Temporary:
Indexing enabled.
mac-mini:~ user$

I have problems with the pools Storage. I can't search with spotlight nor Filebuddy on the zpool Storage.
professor Offline


 
Posts: 7
Joined: Sat Apr 20, 2013 10:25 am

search with Spotlight

Post by grahamperrin » Tue May 14, 2013 1:34 am

professor wrote:… can't search with spotlight …


Please describe the symptom in more detail.

What happens when you use Spotlight within a Finder window, to search just the one file system?

In the screenshots below, for example, the search is performed on a ZFS file system named zhandy at the root of a pool with the same name:

2013-05-14 07-29-10 screenshot.png
2013-05-14 07-29-10 screenshot.png (73.85 KiB) Viewed 148 times


2013-05-14 07-29-20 screenshot.png
2013-05-14 07-29-20 screenshot.png (63.02 KiB) Viewed 148 times


… please do the same with your file system named Storage; search for a file name that exists in that system.

Also please paste, as code, output from the following command:

Code: Select all
zfs list


Hint: to paste as code, use the full editor.
grahamperrin Offline

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

Re: Search with FileBuddy and Spotlight

Post by professor » Fri May 17, 2013 3:09 pm

Hi. Here is my list of zpools (Backup, Storage, Temporary) and file systems.

NAME USED AVAIL REFER MOUNTPOINT
Backup 191Gi 1,16Ti 530Ki /Volumes/Backup
Backup/TimeMachine 191Gi 1,16Ti 191Gi /Volumes/Backup/TimeMachine
Storage 691Gi 1,12Ti 482Ki /Volumes/Storage
Storage/Filmarchiv 262Gi 1,12Ti 262Gi /Volumes/Storage/Filmarchiv
Storage/Softwarearchiv 428Gi 1,12Ti 428Gi /Volumes/Storage/Softwarearchiv
Temporary 43,6Gi 413Gi 43,6Gi /Volumes/Temporary

I got Spotlight working by now. But I experience other problems: The system won't boot as long as the zpools disks are connected. I have to connect the disks with zfs after the system has booted. Also: Browsing a zfs pool, that is opening a folder with many files, takes really long.
Attachments
Bildschirmfoto 2013-05-17 um 22.05.23.jpg
Bildschirmfoto 2013-05-17 um 22.05.23.jpg (79.35 KiB) Viewed 140 times
professor Offline


 
Posts: 7
Joined: Sat Apr 20, 2013 10:25 am

Re: Search with FileBuddy and Spotlight

Post by professor » Fri May 17, 2013 3:17 pm

Ok, I have to add this:

Spotlight and Filebuddy seemed to work I have to clarify. I searched in a filesystem with many archives with ending names of .dmg for ".dmg" at the end. The result is quite strange. FileBuddy finds anything but not files with ".dmg" at the end for instance: files with ending of .bmap instead. Spotlight finds files with ".dmg" at the end of the filename, but simply not enough. There should be more than 150, but spotlight only shows 65.

I also note a hang during boot, as I said earlier: The system won't boot with zpool disks attached via USB. Only when I turn them on later after boot, the system comes up with finder and then I can connect the zpool disks.
professor Offline


 
Posts: 7
Joined: Sat Apr 20, 2013 10:25 am

Re: Search with FileBuddy and Spotlight

Post by professor » Sat May 18, 2013 9:40 am

Ok, I give up on ZFS for the following reasons:

I get I/O errors on one ZPOOL on the second internal SATA drive of my mac mini server. No problem here if formatted HFS+.

During boot the process hangs, I can't boot as long as ZFS drives are connected.

Mirrored ZPOOL takes ages to resilver and is unusable during resilvering.

All in all the promised performance degrades at least on USB. Copying takes signifiantly longer.

Thanks for your support, but this is not ready yet to be stable in a production system on a mac. I wait until a better version comes out, probably with boot support.
professor Offline


 
Posts: 7
Joined: Sat Apr 20, 2013 10:25 am

Re: Search with FileBuddy and Spotlight

Post by grahamperrin » Sat May 18, 2013 1:56 pm

I'm sorry to read that you're giving up.

At a glance, in your case I'd suspect an issue (or combination of issues) with hardware.

Appearance of goodness with HFS Plus is not a guarantee of all-round goodness. Use of ZFS (not ZEVO in particular) is likely to expose some types of underlying issue.

If you return, a plea: no more than one issue per topic.
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, ilovezfs and 0 guests

cron