Some non-empty folders appear empty or missing in Finder

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

Moderators: jhartley, MSR734, nola

Some non-empty folders appear empty or missing in Finder

Post by jnoxon » Sun Jan 13, 2013 4:29 pm

I've no idea if this is a ZEVO issue or not, but I've never seen non-ZEVO volumes exhibit this behavior.

My Data pool has an iTunes subvolume on it. My iTunes data lives there. Everything is accessible from the command line, and iTunes works, but if I navigate there in Finder, it appears completely empty.

Here, it get stranger:

Command-Shift-G in Finder, I can tell it to open /Volumes/Data/iTunes/Music, and it opens up and appears empty.

If I do the same trick with a directory one level deeper, such as /Volumes/Data/iTunes/Music/Various, Finder says "The folder can't be found." (I'm staring at it right now in Terminal.)

If I try to get iTunes to reveal anything in Finder, nothing happens.

I didn't have this issue in the past, so I'm thinking about downgrading ZEVO back to the last TensComplement beta, but I thought I'd check here first. Thanks!
jnoxon Offline


 
Posts: 14
Joined: Tue Sep 18, 2012 9:53 am

Mount point

Post by grahamperrin » Sun Jan 13, 2013 4:52 pm

A mount point conflict, maybe?
grahamperrin Offline

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

Re: Some non-empty folders appear empty or missing in Finder

Post by jnoxon » Sun Jan 13, 2013 4:58 pm

I don't think so. I just forced Finder to relaunch and it didn't make any difference. (Frequently the zpool is not imported until after I'm logged on and iTunes is launched.)

Code: Select all
/dev/disk4s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk5s2 on /Volumes/Time Machine (hfs, local, journaled)
/dev/disk5s3 on /Volumes/Nightly Backup (hfs, local, journaled)
/dev/disk10 on /Volumes/Data (zfs, local, journaled, noatime)
/dev/disk10s1 on /Volumes/Data/Security (zfs, local, journaled, noatime)
/dev/disk10s2 on /Volumes/Data/iTunes (zfs, local, journaled, noatime)
/dev/disk8s2 on /Volumes/CrashPlan (hfs, local, journaled)


Is there anything specific you think I should check? Thanks
jnoxon Offline


 
Posts: 14
Joined: Tue Sep 18, 2012 9:53 am

Mount point

Post by grahamperrin » Sun Jan 13, 2013 6:15 pm

If there's a mount point conflict, a relaunch of Finder will not work around.

Export the pool then:

Code: Select all
ls -al /Volumes/Data/iTunes


If there's anything, even a .DS_Store
  • consider it a conflict …
grahamperrin Offline

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

Re: Some non-empty folders appear empty or missing in Finder

Post by jnoxon » Sun Jan 13, 2013 8:39 pm

This brings up an interesting change I made recently :D

Since iTunes was frequently launching prior to the pool being imported, it tended to create a bunch of files at the mountpoint. I recently fixed that by unmounting Data/iTunes, and stripping myself of write access to the mountpoint (including clearing the ACLs). That worked very effectively. Perhaps it's causing some issue here?

Code: Select all
beast:~ jeff$ zfs unmount Data/iTunes
beast:~ jeff$ cd /Volumes/Data/iTunes/
-bash: cd: /Volumes/Data/iTunes/: Permission denied
beast:~ jeff$ sudo bash
Password:
bash-3.2# cd /Volumes/Data/iTunes/
bash-3.2# ls -al
total 64
d---------   2 root  admin   2 Dec  1 14:29 .
drwxr-xr-x+ 21 root  admin  23 Jan 13 18:51 ..
jnoxon Offline


 
Posts: 14
Joined: Tue Sep 18, 2012 9:53 am

Re: Some non-empty folders appear empty or missing in Finder

Post by jnoxon » Sun Jan 13, 2013 8:53 pm

I gave myself write access to the mountpoint, re-mounted the filesystem, and voila, Finder works normally. I'll chalk this up as a Finder bug.

What's a better workaround for the actual problem, I wonder?
jnoxon Offline


 
Posts: 14
Joined: Tue Sep 18, 2012 9:53 am

root

Post by grahamperrin » Wed Jan 16, 2013 8:48 pm

When the file system was created, was sudo used?
grahamperrin Offline

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

Re: Some non-empty folders appear empty or missing in Finder

Post by jnoxon » Wed Jan 16, 2013 10:41 pm

I have no idea. Why?
jnoxon Offline


 
Posts: 14
Joined: Tue Sep 18, 2012 9:53 am

Re: Some non-empty folders appear empty or missing in Finder

Post by scasady » Thu Jan 17, 2013 1:23 am

folders and files can be invisible to finder if they have special characters in the name as many music files do but still show up to command line utilities. might be part of the problem.
scasady Offline


 
Posts: 45
Joined: Sat Sep 15, 2012 8:00 am

Re: Some non-empty folders appear empty or missing in Finder

Post by jnoxon » Thu Jan 17, 2013 3:19 am

Finder has lots of bugs, always has.
jnoxon Offline


 
Posts: 14
Joined: Tue Sep 18, 2012 9:53 am

Next

Return to Troubleshooting

Who is online

Users browsing this forum: bileyqrkq, ilovezfs and 0 guests

cron