gcode-mirror / maczfs

Automatically exported from code.google.com/p/maczfs
Other
0 stars 0 forks source link

Unable to share zRaid via SMB on Lion? #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempting to share a directory on the zRaid via SMB to the SMB guest 
account.
2. Folder is visible on Windows Network, but not accessible.
3. Duplicate setup for a directory on a normal Mac HFS drive works fine.

Any tips (I'm new to maczfs!) 

Original issue reported on code.google.com by petes...@gmail.com on 9 Jul 2011 at 3:22

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have this issue, as well.  A couple things I've noticed:

If I enable SMB sharing for a user, I can connect to my system drive from a 
windows box and navigate to /Volumes/ZFS_Pool and that works.
If I share a ZFS volume with VMware Fusion, a windows guest can see it without 
problems.

I think this has something to do with Lion's new cifs implementation...

Hopefully there's an easy solution. 

Original comment by mcoe...@gmail.com on 15 Jul 2011 at 6:50

GoogleCodeExporter commented 9 years ago
I'm also unable to share out a ZFS folder via AFP. It won't even show up 
remotely even though it's setup identically to how I had it in Snow Leopard.

Original comment by jason.as...@gmail.com on 21 Jul 2011 at 9:35

GoogleCodeExporter commented 9 years ago
Same issue here.  Not sharing with either SMB or AFP even though it is checked. 
 Worked in Snow Leopard.

As a sort of emergency workaround, I was able to create a WebDAV share by 
hacking around with httpd.conf and mounting remotely using http:// instead of 
afp:// or cifs:// -- but not really a solution.

Original comment by jason.fi...@gmail.com on 26 Jul 2011 at 11:26

GoogleCodeExporter commented 9 years ago
Yeah I can't share out my ZFS mirror via afp.  It allows the volume to be added 
to sharing pref but will not show up if connected even as administrator.  
Definitely puts a stop to my using it as a shared filesystem with integrity. 

Original comment by totallyG...@gmail.com on 2 Aug 2011 at 5:22

GoogleCodeExporter commented 9 years ago
There are some people installing samba3 via port to fix other samba-related 
issues in Lion.  Perhaps it will also be more lenient toward the zpool volume 
link style, and manual smb.conf is a plus in my book.  Will update if I get a 
chance to try it..

Original comment by jason.fi...@gmail.com on 6 Aug 2011 at 3:08

GoogleCodeExporter commented 9 years ago
I got the same prblem. I can't share a zfs Volume from my Lion mac with either 
AFP or SMB. It simply does not show in the AFP "Browser" and when I try to 
mount it as an SMB Volume I'm told: the original item cannot be found.

Original comment by kung....@gmx.de on 14 Aug 2011 at 6:00

GoogleCodeExporter commented 9 years ago
Another work around is to use NFS, which works reasonably well (depending on 
either your security needs or the setup of your network) although obviously 
making NFS work for windows clients can be... fun.

Original comment by patri...@gmail.com on 22 Aug 2011 at 10:24

GoogleCodeExporter commented 9 years ago
Just chiming in with a "me too". I can share from Lion via NFS, but 
unfortunately, Time Machine won't recognize an NFS volume, so it doesn't help 
me. I'll probably need to switch back to Snow Leopard on my fileserver to get 
things working again.

Original comment by jasonwtu...@gmail.com on 23 Aug 2011 at 6:09

GoogleCodeExporter commented 9 years ago
I think I'm going to be downgrading my server back to SL too, because NFS just 
isn't a viable option for the users involved.

I kept hoping MacZFS or z410 or Lion would fix it before September, but I think 
it's going to be a bit still and the kludges required aren't worth the effort 
to maintain.

Original comment by jason.as...@gmail.com on 28 Aug 2011 at 1:54

GoogleCodeExporter commented 9 years ago
Question to all who have had this problem:

Do *NON* ZFS shares (afp, smb) work?  Is this a ZFS problem or a Lion problem?

Developers: What info do you need to fix this?

Also:  Does it make a difference whether you use apple's implementation of SMB 
or the Samba version?

General observation:  Production machines run the 2nd latest major version of 
the OS.  E.g.  I ran win2K until Vista came out.  Then I upgraded to WinXP.  I 
may run windows 7 once windows 8 comes out.  And don't put new versions on 
client machines until the first big patch comes out.

Original comment by SGBotsf...@gmail.com on 28 Aug 2011 at 10:41

GoogleCodeExporter commented 9 years ago
ZFS shared via NFS works.
ZFS shared via AFP does not work.
Mac OS Extended FS shared via AFP works.

I don't know if its a problem with ZFS or Lion, but there is some problem when 
you combine them that causes problems for AFP.

I've successfully shared ZFS via AFP on Leopard and Snow Leopard.

I haven't tried SMB.

__Jason

Original comment by jasonwtu...@gmail.com on 30 Aug 2011 at 3:12

GoogleCodeExporter commented 9 years ago
I have setup a Lion Server (10.7.1) on VMWare Fusion 4.

total 5 VDisk added to the Guest,
1 for OS
1 as HFS+
3 as ZFS raidz

SMB sharing on OS disk or HFS+ disk work, but not RAIDZ
WebDAV work on RAIDZ volume.

I have check the permission and I cannot notice of any different between HFS+ 
and ZFS volume, so i think that is ZFS issue 

Original comment by zero...@gmail.com on 24 Sep 2011 at 8:26

GoogleCodeExporter commented 9 years ago
This is a lion issue.  You are no longer able to share anything "external or 
removable" other than hfs formatted drives.  That doesn't mean there is no way 
to make it work (though I am not aware of one) but it isn't really a bug.  Lots 
of mentions around the net, hopefully a future version of lion will fix it (but 
I doubt it.)

You can, however, create sparsebundles that are hfs+ and use those as shared 
drives.  Unfortunately this isn't a perfect situation since rebooting will 
cause the share to break until you open them back up in finder again.  The best 
answer I came up with was using the above sparsebundle for time machine and 
then using samba3 via macports to share the rest.

I have to open up the bundle to kick off time machine for the rest of my 
computers, but files are available for regular sharing without interruption.

Original comment by scot.kig...@gmail.com on 26 Sep 2011 at 1:29

GoogleCodeExporter commented 9 years ago
Thanks for clarify. SO i think SMB3 via macports is the workaround now.

Original comment by zero...@gmail.com on 27 Sep 2011 at 1:20

GoogleCodeExporter commented 9 years ago
Why not declare ZFS as an internal drive?  Or add an entry like this to the 
Info.plist the way SATA/eSATA drivers may?

<key>Physical Interconnect Location</key>
<string>Internal/External</string>

Original comment by jason.fi...@gmail.com on 27 Sep 2011 at 8:44

GoogleCodeExporter commented 9 years ago
Has there been any update on this issue?

Original comment by mattbi...@gmail.com on 10 Dec 2011 at 7:05

GoogleCodeExporter commented 9 years ago
From the Z410 world, it was discovered that replacing the AppleFileServer.app 
bundle in Lion with the most recent one from Snow Leopard made it possible to 
share non-HFS+ filesystems.

Samba from macports also works.

Original comment by jason.as...@gmail.com on 10 Dec 2011 at 9:16

GoogleCodeExporter commented 9 years ago
An alternative solution which I've just hacked together. Patch the 
FSGetVolumeInfo call in AppleFileServer to make all filesystems look like they 
are HFS+, tricking Apple's new check.

Works for my ZFS pool when shared across AFP, YMMV, I'd be interested if this 
gets it working for anyone else.

https://github.com/joshado/liberate-applefileserver

This is entirely experimental, so don't let it go near any non-backed-up data!! 
That said, I'm now using it :)

Original comment by thomas.h...@gmail.com on 17 Dec 2011 at 2:14

GoogleCodeExporter commented 9 years ago
I'm on 10.7.4 still trying to get

> Samba from macports also works.

No go for me. I've been running macports for years and samba on other OSs. No 
luck
on Lion.

> An alternative solution which I've just hacked together. Patch the 
FSGetVolumeInfo call in AppleFileServer to make all filesystems look like they 
are HFS+, tricking > Apple's new check.

Tried this. No luck either.

> From the Z410 world, it was discovered that replacing the AppleFileServer.app 
bundle in Lion with the most recent one from Snow Leopard made it possible to 
share non-HFS+ filesystems.

I couldn't get this to work. But, then again, I'm not certain what the precise 
version is that I should be using. If somebody is able to share zfs filesystems 
from 10.7.3, could you please send be the bundle or let me know how I can 
determine which one in my TimeMachine history is the correct one?

-xbytor@gmail.com

Original comment by xby...@gmail.com on 21 Feb 2012 at 4:16

GoogleCodeExporter commented 9 years ago
Finally got this working. I bit the bullet and tried SMBUp, a nice little GUI 
wrapper for using macports samba3 to replace the Lion crap from Apple. It 
didn't work immediately, but it is working now.

Original comment by xby...@gmail.com on 21 Feb 2012 at 5:14

GoogleCodeExporter commented 9 years ago
Well I've just set all this working on 8 systems with 5 pools by utilizing the 
instructions at

https://github.com/joshado/liberate-applefileserver

One must have AFP active under Sharing>File Sharing>Options>AFP (checked)

Pools instantly appear from connected machines across network.

I have 10.6.x (3 different x variations), 10.7.2. 10.7.3 across iMac's, Mac 
Mini's (2005-2007, 2010), Mac Mini's (2011) and a 2007 Mac Pro.

Big thumbs up for this fella.

Original comment by jasonbe...@belecmartin.com on 27 Feb 2012 at 2:44

GoogleCodeExporter commented 9 years ago
Going to mark this as invalid, because it's a bug in Apple's file server and 
not MacZFS. However, will add the link to the wiki page.

Original comment by alex.ble...@gmail.com on 7 Mar 2012 at 12:11