Skip navigation

Issue with OS X Lion Server and NAS drive

1527 Views 4 Replies Latest reply: Mar 29, 2012 2:48 AM by John Lockwood RSS
Dips5565 Calculating status...
Currently Being Moderated
Mar 27, 2012 5:26 AM

Hi guys,

 

I have an Iomega NAS Drive connected to a Mac running OS X Lion Server via an iSCSI connection. (Connected by another individual).

 

There are users who are both on Windows and Mac platforms. At the moment both platforms connect to the shared area which is the Mac OS X Server. In the folder view you see the Mac drives as well as the NAS. Users then access the data as they need to.

 

Is this a known way of sharing data via a NAS on a cross platform? (Mac and PC)

 

If yes, how do I fix the permissions issue? A user will successfully connect the share but the next day it will be disconnected and you cannot reconnect unless you remove the mapping and recreate it. (Note the username and password is generic. All users use the same credentials).

 

How can I fix this and what would you guys recommend for a better setup?

 

Thank you in advance.

 

Dips5565

Mac Pro
  • John Lockwood Level 5 Level 5 (5,075 points)
    Currently Being Moderated
    Mar 28, 2012 12:19 PM (in response to Dips5565)

    A NAS is a self-contained server in its own right. Typically Windows users connect directly to the NAS via SMB protocol and Macs via AFP protocol although in theory Macs can connect via SMB as well. The NAS device can either define its own interna list of login names and passwords or it can be connected to a Windows Active Directory system.

     

    It is also possible to in theory have (in this case) a Mac server connected to the NAS, and for the Mac server to 're-share' it to the clients. In this case the Mac and Windows clients would connect to the Mac server and not directly to the NAS. In this case the login names would be defined on the Mac server. The Mac server can act as both an AFP and SMB server.

     

    Many NAS devices had problems initially when Lion was released as Lion introduced changes to the AFP protocol. Most if not all have upgraded their software to fix this but I don't know about Iomega. However if you are connecting to the Lion Server from a Mac client this would not affect you. There was also some issues initially with Lion having a new implementation of SMB, this meant some problems connecting to Windows machines, newer Lion updates have much improved this so make sure you have upgraded your server to 10.7.3.

     

    What you should be doing is -

     

    1. Have the Mac server setup with user accounts for each user
    2. Have the Mac server connect to the NAS via iSCSI
    3. Have the Mac server re-share the NAS volume via both SMB and AFP
    4. Have the clients login to the Mac server using their individual user accounts and make sure they are not trying to connect to the NAS directly. You may find it helpful to turn AFP and SMB off on the NAS to stop this.

     

    What iSCSI initiator are you using on the Mac server? Again when Lion first came out there were problems, make sure you have upgraded to a Lion compatible version.

  • wingnut1979 Level 1 Level 1 (60 points)
    Currently Being Moderated
    Mar 29, 2012 2:39 AM (in response to Dips5565)

    yes that would work fine

  • John Lockwood Level 5 Level 5 (5,075 points)
    Currently Being Moderated
    Mar 29, 2012 2:48 AM (in response to Dips5565)

    The Iomega NAS can be bound to AD, this would then let you use the Windows logins to login to the NAS. However if curently they are all using the same single account to login then they should all have the same permissions and be able to access the files with no problems. If the connection is being lost and needing to be restablished then that is not a permissions issue but more likely a problem with the iSCSI setup. If the connection is reliable but permissions are going wrong then that is something else and since you are using just one account I am note sure what the cause is.

     

    A possible ideal approach would be for both the Mac server and the NAS to be bound to the AD, then clients can login and everything will be using the same accounts.

     

    Other than that, I would look at the NAS setup itself and see what the overall permissions are,see if there is an option to set the default to be Read/Write. Also try making sure that at least a single account matching the one you are using to login to the Mac server exists and is identical spelling and password. The clients will be logging in to the Mac server with that, and the Mac server will then be using that to assign ownership on the NAS, however if it does not exist on the NAS possibly this then results in a non-working ownership. If the NAS and Mac server were all using AD this would of course not happen.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.