Mount disappearing from Finder

Moderators: jhartley, MSR734, nola

Mount disappearing from Finder

Post by jwilliams108 » Sat Feb 02, 2013 6:22 am

Hi,

I have my Documents folder as a Zevo mount. It appears in the Finder initially as a folder, but the icon updates to a disk icon. When Documents is a folder, I have no issue viewing the contents in the Finder, but when it changes to a disk, Documents appears empty. I can see all of the files fine from the terminal, but they don't appear in the Finder. Any idea at all what is going on here? I hope I've described it well enough.

Regards,
Jim
jwilliams108 Offline


 
Posts: 11
Joined: Sat Sep 15, 2012 5:53 pm

More details please

Post by grahamperrin » Sat Feb 02, 2013 9:58 pm

Assuming that your ~/Documents is a root file system (not a child), output please from the following command:

Code: Select all
zfs get all Documents
grahamperrin Offline

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

Re: Mount disappearing from Finder

Post by jwilliams108 » Sun Feb 03, 2013 5:24 pm

Thanks for the reply - ~/Documents is a child. The structure is:

Storage (the storage pool)
-- Users (child)
---- user1 (child)
------ Documents (child)
------ Desktop (child)
---- user2 (child)
...etc.

I had strange issues with Desktop being a child system as well (weird permission problems, couldn't execute any programs from it, etc.), so I eventually destroyed it and just used the user1 child. Maybe I should do the same for Documents... I'm not in front of the machine right now, but I'll post the zfs get all for /Users when I am.
jwilliams108 Offline


 
Posts: 11
Joined: Sat Sep 15, 2012 5:53 pm

Looking forward to properties

Post by grahamperrin » Mon Feb 04, 2013 2:40 am

OK … a long shot, the first thing we might consider is the value of the normalization property.

Another long shot, if privileges seem weird:

  • boot in safe mode, check the permissions of the mount point
grahamperrin Offline

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

Re: Mount disappearing from Finder

Post by jwilliams108 » Mon Feb 04, 2013 4:53 pm

Thanks - normalization was set to none, but I did notice casesensitivity was set to sensitive. So, I decided to backup everything up and recreate the child system with casesensitivity=insensitive. As well, I've abandoned the idea of separate child systems for Documents and Desktop, etc. and just placed everything under one child per user. Hopefully this helps - I'll post back if anything weird continues to happen. Thanks again.
jwilliams108 Offline


 
Posts: 11
Joined: Sat Sep 15, 2012 5:53 pm

Normalisation

Post by grahamperrin » Wed Feb 06, 2013 3:17 pm

jwilliams108 wrote:Thanks - normalization was set to none ….


As I understand things: with anything other than formD, weird things may happen.

NFD: normalization=formD (normalisation form D)
grahamperrin Offline

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

Re: Mount disappearing from Finder

Post by jwilliams108 » Thu Feb 07, 2013 7:12 pm

Ah, ok. Isn't there something in the man page or on a post here that formD is the default? I didn't specify any normalization setting, but it does say 'none' in my zfs get all.
jwilliams108 Offline


 
Posts: 11
Joined: Sat Sep 15, 2012 5:53 pm

Link

Post by grahamperrin » Fri Feb 08, 2013 1:01 pm

jwilliams108 wrote:… something in the man page or on a post here that formD is the default …


Yes, please see the link in my previous post ;-)
grahamperrin Offline

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

Investigating normalization=none

Post by grahamperrin » Fri Feb 08, 2013 1:14 pm

jwilliams108 wrote:… I didn't specify any normalization setting, but it does say 'none' in my zfs get all.


With ZEVO Community Edition 1.1.1 I can't reproduce that issue:

Code: Select all
macbookpro08-centrim:~ gjp22$ sudo zpool create -o ashift=12 -O casesensitivity=insensitive ZEVO-CE-1.1.1-example /dev/disk14
macbookpro08-centrim:~ gjp22$ zfs create -o casesensitivity=insensitive ZEVO-CE-1.1.1-example/child
cannot mount '/Volumes/ZEVO-CE-1.1.1-example/child': failed to create mountpoint
filesystem successfully created, but not mounted
macbookpro08-centrim:~ gjp22$ zfs get normalization ZEVO-CE-1.1.1-example
NAME                   PROPERTY       VALUE          SOURCE
ZEVO-CE-1.1.1-example  normalization  formD          -
macbookpro08-centrim:~ gjp22$ zfs get normalization ZEVO-CE-1.1.1-example/child
NAME                         PROPERTY       VALUE          SOURCE
ZEVO-CE-1.1.1-example/child  normalization  formD          -
macbookpro08-centrim:~ gjp22$ zpool export ZEVO-CE-1.1.1-example
macbookpro08-centrim:~ gjp22$ sudo zpool import ZEVO-CE-1.1.1-example
Password:
macbookpro08-centrim:~ gjp22$ mount | grep ZEVO-CE-1.1.1-example
/dev/disk11 on /Volumes/ZEVO-CE-1.1.1-example (zfs, local, journaled)
/dev/disk11s1 on /Volumes/ZEVO-CE-1.1.1-example/child (zfs, local, journaled)
macbookpro08-centrim:~ gjp22$ sudo zpool destroy ZEVO-CE-1.1.1-example
macbookpro08-centrim:~ gjp22$ date
Fri  8 Feb 2013 18:10:32 GMT


Please paste, as code, output from the following command:

Code: Select all
zpool history | grep create
grahamperrin Offline

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

Re: Mount disappearing from Finder

Post by jwilliams108 » Sat Feb 09, 2013 4:36 pm

Interesting... here are the relevant items:
Code: Select all
2011-10-08.18:46:35 zpool create Storage mirror /dev/disk3s2 /dev/disk4s2 mirror /dev/disk1s2 /dev/disk2s2
2013-02-03.12:53:28 zfs create -o mountpoint=/Users -o casesensitivity=insensitive Storage/Users

Code: Select all
zfs get normalization Storage/Users
NAME           PROPERTY       VALUE          SOURCE
Storage/Users  normalization  none           -

If I set it explicitly, it appears:
Code: Select all
zfs create -o casesensitivity=insensitive -o normalization=formD Storage/Test

Code: Select all
zfs get normalization Storage/Test
NAME          PROPERTY       VALUE          SOURCE
Storage/Test  normalization  formD          -

If it helps, the zpool was created back in the Ten's Complement beta days. Perhaps things have changed since?

Thanks again for your help.
jwilliams108 Offline


 
Posts: 11
Joined: Sat Sep 15, 2012 5:53 pm

Next

Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 1 guest

cron