Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Netapp: toasters

How well does Mixed mode qtrees work?

 

 

Netapp toasters RSS feed   Index | Next | Previous | View Threaded


jeremy.page at gilbarco

May 9, 2008, 7:45 AM

Post #1 of 7 (362 views)
Permalink
How well does Mixed mode qtrees work?

I know that "back in the day" there where some good reasons not to use
mixed mode qtrees if at all possible. We've got folks accessing their
home directories via NFS and CIFS depending on which of their
workstations they are using so it would be very nice if I could use
mixed mode. Is it realistic to do this in a production environment? What
are the drawbacks?



This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.


ddunham at taos

May 9, 2008, 8:59 AM

Post #2 of 7 (346 views)
Permalink
Re: How well does Mixed mode qtrees work? [In reply to]

On Fri, May 09, 2008 at 07:45:39AM -0700, Page, Jeremy wrote:
> I know that "back in the day" there where some good reasons not to use
> mixed mode qtrees if at all possible. We've got folks accessing their
> home directories via NFS and CIFS depending on which of their
> workstations they are using so it would be very nice if I could use
> mixed mode.

What advantage are you looking for over how things work now?

> Is it realistic to do this in a production environment?

It's certainly possible. But as you say, there are reasons not to.
I've only used it in some very limited situations.

> What are the drawbacks?

Users generally aren't comfortable with understanding how it works.
It's much easier to say "these files have unix perms" or "windows
acls". Then the oddities with accessing them on the foreign system
don't seem strange.

The problem is that even though the qtree is mixed, the individual files
are not. Especially because you mention folks accessing the same files
(home directory) on both systems, you'll likely run into this.

If you do a chmod or something like that to a file, it's turned into a
unix permission structure and any ACL on the file is lost. That's why
it's really important to understand what you expect from 'mixed'.

--
Darren Dunham ddunham[at]taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >


kparker2 at nc

May 9, 2008, 9:25 AM

Post #3 of 7 (346 views)
Permalink
RE: How well does Mixed mode qtrees work? [In reply to]

What you are seeking to do, is do-able however...if you're seeking to
fulfill a requirement that both NFS and CIFS clients have access...you can
still do this with either NTFS or UNIX style security. Can be NTFS security
for an NFS client, or UNIX security and gain access from CIFS client.

Do a search on NOW for "multiprotocol access" or somesuch...should find tons
of docs.

Without mixed mode, clients will get the ACL that is there...if UNIX style
security, CIFS clients can access resources as long as they're allowed
according to the ACL. Similarly, NFS clients access NTFS style security
resources. You just need to get your usermapping correctly...CIFS clients
must map to a UNIX user and vice-versa - depending on which protocol you
decide on.

All mixed mode buys you is the ability to "set ACL's from either client",
assuming they have rights to do so. Once you set the ACL in mixed mode, the
ACL is either NTFS or UNIX and not "translated" to the client. The ACL will
always be whatever the last client set it as, like tmac said.

G'luck!

Best regards,
~~~~~~~~~~~~~~~~
Kevin Parker
Mobile: 919.606.8737
http://theparkerz.com
~~~~~~~~~~~~~~~~

-----Original Message-----
From: owner-toasters[at]mathworks.com [mailto:owner-toasters[at]mathworks.com] On
Behalf Of tmac
Sent: Friday, May 09, 2008 11:31 AM
To: Page, Jeremy
Cc: Toasters
Subject: Re: How well does Mixed mode qtrees work?

The big problem is still there...

the last one to set permissions wins...

i.e. CIFS ACL wipes NFS perms
NFS perms wipes CIFS ACLs

--tmac

On Fri, May 9, 2008 at 10:45 AM, Page, Jeremy <jeremy.page[at]gilbarco.com>
wrote:
> I know that "back in the day" there where some good reasons not to use
> mixed mode qtrees if at all possible. We've got folks accessing their
> home directories via NFS and CIFS depending on which of their
> workstations they are using so it would be very nice if I could use
> mixed mode. Is it realistic to do this in a production environment? What
are the drawbacks?
>
> This message (including any attachments) contains confidential and/or
> proprietary information intended only for the addressee.
> Any unauthorized disclosure, copying, distribution or reliance on the
> contents of this information is strictly prohibited and may constitute
> a violation of law. If you are not the intended recipient, please
> notify the sender immediately by responding to this e-mail, and delete
> the message from your system. If you have any questions about this
> e-mail please notify the sender immediately.
>



--
--tmac

RedHat Certified Engineer #804006984323821 (RHEL4) RedHat Certified Engineer
#805007643429572 (RHEL5)

Principal Consultant


dleeds at edmunds

May 9, 2008, 9:36 AM

Post #4 of 7 (346 views)
Permalink
RE: How well does Mixed mode qtrees work? [In reply to]

in this case, same user on windows and unix, would the following not be the best approach?

set vol permissions style as ntfs, then create an /etc/usermap.cfg to map unix to windows user?

we do this in a limited scenario for some applications so that the users can manipulate data from their windows workstations but the unix application server sees all those files and can access them as the correct uid/gid

just a thought.

--
Daniel Leeds
Manager, Storage Operations
Edmunds, Inc.
1620 26th Street, Suite 400 South
Santa Monica, CA 90404

310-309-4999 desk
310-430-0536 cell



-----Original Message-----
From: owner-toasters[at]mathworks.com on behalf of Kevin Parker
Sent: Fri 5/9/2008 9:25 AM
To: 'tmac'; 'Page, Jeremy'
Cc: 'Toasters'
Subject: RE: How well does Mixed mode qtrees work?

What you are seeking to do, is do-able however...if you're seeking to
fulfill a requirement that both NFS and CIFS clients have access...you can
still do this with either NTFS or UNIX style security. Can be NTFS security
for an NFS client, or UNIX security and gain access from CIFS client.

Do a search on NOW for "multiprotocol access" or somesuch...should find tons
of docs.

Without mixed mode, clients will get the ACL that is there...if UNIX style
security, CIFS clients can access resources as long as they're allowed
according to the ACL. Similarly, NFS clients access NTFS style security
resources. You just need to get your usermapping correctly...CIFS clients
must map to a UNIX user and vice-versa - depending on which protocol you
decide on.

All mixed mode buys you is the ability to "set ACL's from either client",
assuming they have rights to do so. Once you set the ACL in mixed mode, the
ACL is either NTFS or UNIX and not "translated" to the client. The ACL will
always be whatever the last client set it as, like tmac said.

G'luck!

Best regards,
~~~~~~~~~~~~~~~~
Kevin Parker
Mobile: 919.606.8737
http://theparkerz.com
~~~~~~~~~~~~~~~~

-----Original Message-----
From: owner-toasters[at]mathworks.com [mailto:owner-toasters[at]mathworks.com] On
Behalf Of tmac
Sent: Friday, May 09, 2008 11:31 AM
To: Page, Jeremy
Cc: Toasters
Subject: Re: How well does Mixed mode qtrees work?

The big problem is still there...

the last one to set permissions wins...

i.e. CIFS ACL wipes NFS perms
NFS perms wipes CIFS ACLs

--tmac

On Fri, May 9, 2008 at 10:45 AM, Page, Jeremy <jeremy.page[at]gilbarco.com>
wrote:
> I know that "back in the day" there where some good reasons not to use
> mixed mode qtrees if at all possible. We've got folks accessing their
> home directories via NFS and CIFS depending on which of their
> workstations they are using so it would be very nice if I could use
> mixed mode. Is it realistic to do this in a production environment? What
are the drawbacks?
>
> This message (including any attachments) contains confidential and/or
> proprietary information intended only for the addressee.
> Any unauthorized disclosure, copying, distribution or reliance on the
> contents of this information is strictly prohibited and may constitute
> a violation of law. If you are not the intended recipient, please
> notify the sender immediately by responding to this e-mail, and delete
> the message from your system. If you have any questions about this
> e-mail please notify the sender immediately.
>



--
--tmac

RedHat Certified Engineer #804006984323821 (RHEL4) RedHat Certified Engineer
#805007643429572 (RHEL5)

Principal Consultant


jeremy.page at gilbarco

May 9, 2008, 10:47 AM

Post #5 of 7 (346 views)
Permalink
RE: How well does Mixed mode qtrees work? [In reply to]

A lot of good replies. The problem that I've been running into is that
if someone access a file via Windows any Unix users have problems with
chmod.



I can't use Unix perms because there are places where I need more
granularity then it permits. It looks like I'll just have to maintain a
separate location for my NIS folks to use as their home directories and
they'll just have to deal with the less comprehensive access control.

________________________________

From: Leeds, Daniel [mailto:dleeds[at]edmunds.com]
Sent: Friday, May 09, 2008 12:36 PM
To: Kevin Parker; tmac; Page, Jeremy
Cc: Toasters
Subject: RE: How well does Mixed mode qtrees work?





in this case, same user on windows and unix, would the following not be
the best approach?

set vol permissions style as ntfs, then create an /etc/usermap.cfg to
map unix to windows user?

we do this in a limited scenario for some applications so that the users
can manipulate data from their windows workstations but the unix
application server sees all those files and can access them as the
correct uid/gid

just a thought.

--
Daniel Leeds
Manager, Storage Operations
Edmunds, Inc.
1620 26th Street, Suite 400 South
Santa Monica, CA 90404

310-309-4999 desk
310-430-0536 cell



-----Original Message-----
From: owner-toasters[at]mathworks.com on behalf of Kevin Parker
Sent: Fri 5/9/2008 9:25 AM
To: 'tmac'; 'Page, Jeremy'
Cc: 'Toasters'
Subject: RE: How well does Mixed mode qtrees work?

What you are seeking to do, is do-able however...if you're seeking to
fulfill a requirement that both NFS and CIFS clients have access...you
can
still do this with either NTFS or UNIX style security. Can be NTFS
security
for an NFS client, or UNIX security and gain access from CIFS client.

Do a search on NOW for "multiprotocol access" or somesuch...should find
tons
of docs.

Without mixed mode, clients will get the ACL that is there...if UNIX
style
security, CIFS clients can access resources as long as they're allowed
according to the ACL. Similarly, NFS clients access NTFS style security
resources. You just need to get your usermapping correctly...CIFS
clients
must map to a UNIX user and vice-versa - depending on which protocol you
decide on.

All mixed mode buys you is the ability to "set ACL's from either
client",
assuming they have rights to do so. Once you set the ACL in mixed mode,
the
ACL is either NTFS or UNIX and not "translated" to the client. The ACL
will
always be whatever the last client set it as, like tmac said.

G'luck!

Best regards,
~~~~~~~~~~~~~~~~
Kevin Parker
Mobile: 919.606.8737
http://theparkerz.com
~~~~~~~~~~~~~~~~

-----Original Message-----
From: owner-toasters[at]mathworks.com [mailto:owner-toasters[at]mathworks.com]
On
Behalf Of tmac
Sent: Friday, May 09, 2008 11:31 AM
To: Page, Jeremy
Cc: Toasters
Subject: Re: How well does Mixed mode qtrees work?

The big problem is still there...

the last one to set permissions wins...

i.e. CIFS ACL wipes NFS perms
NFS perms wipes CIFS ACLs

--tmac

On Fri, May 9, 2008 at 10:45 AM, Page, Jeremy <jeremy.page[at]gilbarco.com>
wrote:
> I know that "back in the day" there where some good reasons not to use
> mixed mode qtrees if at all possible. We've got folks accessing their
> home directories via NFS and CIFS depending on which of their
> workstations they are using so it would be very nice if I could use
> mixed mode. Is it realistic to do this in a production environment?
What
are the drawbacks?
>
> This message (including any attachments) contains confidential and/or
> proprietary information intended only for the addressee.
> Any unauthorized disclosure, copying, distribution or reliance on the
> contents of this information is strictly prohibited and may constitute
> a violation of law. If you are not the intended recipient, please
> notify the sender immediately by responding to this e-mail, and delete
> the message from your system. If you have any questions about this
> e-mail please notify the sender immediately.
>



--
--tmac

RedHat Certified Engineer #804006984323821 (RHEL4) RedHat Certified
Engineer
#805007643429572 (RHEL5)

Principal Consultant





This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.


tmacmd at gmail

May 9, 2008, 12:10 PM

Post #6 of 7 (339 views)
Permalink
Re: How well does Mixed mode qtrees work? [In reply to]

I was under the impression, you could use mount_smbfs to mount a CIFS
share from a netapp and then
turn around and use the smb commands to manipulate the ACL's.

Never tried it, though in theory, it should work.

--tmac

On Fri, May 9, 2008 at 1:47 PM, Page, Jeremy <jeremy.page[at]gilbarco.com> wrote:
> A lot of good replies. The problem that I've been running into is that if
> someone access a file via Windows any Unix users have problems with chmod.
>
>
>
> I can't use Unix perms because there are places where I need more
> granularity then it permits. It looks like I'll just have to maintain a
> separate location for my NIS folks to use as their home directories and
> they'll just have to deal with the less comprehensive access control.
>
> ________________________________
>
> From: Leeds, Daniel [mailto:dleeds[at]edmunds.com]
> Sent: Friday, May 09, 2008 12:36 PM
> To: Kevin Parker; tmac; Page, Jeremy
> Cc: Toasters
> Subject: RE: How well does Mixed mode qtrees work?
>
>
>
>
>
> in this case, same user on windows and unix, would the following not be the
> best approach?
>
> set vol permissions style as ntfs, then create an /etc/usermap.cfg to map
> unix to windows user?
>
> we do this in a limited scenario for some applications so that the users can
> manipulate data from their windows workstations but the unix application
> server sees all those files and can access them as the correct uid/gid
>
> just a thought.
>
> --
> Daniel Leeds
> Manager, Storage Operations
> Edmunds, Inc.
> 1620 26th Street, Suite 400 South
> Santa Monica, CA 90404
>
> 310-309-4999 desk
> 310-430-0536 cell
>
>
>
> -----Original Message-----
> From: owner-toasters[at]mathworks.com on behalf of Kevin Parker
> Sent: Fri 5/9/2008 9:25 AM
> To: 'tmac'; 'Page, Jeremy'
> Cc: 'Toasters'
> Subject: RE: How well does Mixed mode qtrees work?
>
> What you are seeking to do, is do-able however...if you're seeking to
> fulfill a requirement that both NFS and CIFS clients have access...you can
> still do this with either NTFS or UNIX style security. Can be NTFS security
> for an NFS client, or UNIX security and gain access from CIFS client.
>
> Do a search on NOW for "multiprotocol access" or somesuch...should find tons
> of docs.
>
> Without mixed mode, clients will get the ACL that is there...if UNIX style
> security, CIFS clients can access resources as long as they're allowed
> according to the ACL. Similarly, NFS clients access NTFS style security
> resources. You just need to get your usermapping correctly...CIFS clients
> must map to a UNIX user and vice-versa - depending on which protocol you
> decide on.
>
> All mixed mode buys you is the ability to "set ACL's from either client",
> assuming they have rights to do so. Once you set the ACL in mixed mode, the
> ACL is either NTFS or UNIX and not "translated" to the client. The ACL will
> always be whatever the last client set it as, like tmac said.
>
> G'luck!
>
> Best regards,
> ~~~~~~~~~~~~~~~~
> Kevin Parker
> Mobile: 919.606.8737
> http://theparkerz.com
> ~~~~~~~~~~~~~~~~
>
> -----Original Message-----
> From: owner-toasters[at]mathworks.com [mailto:owner-toasters[at]mathworks.com] On
> Behalf Of tmac
> Sent: Friday, May 09, 2008 11:31 AM
> To: Page, Jeremy
> Cc: Toasters
> Subject: Re: How well does Mixed mode qtrees work?
>
> The big problem is still there...
>
> the last one to set permissions wins...
>
> i.e. CIFS ACL wipes NFS perms
> NFS perms wipes CIFS ACLs
>
> --tmac
>
> On Fri, May 9, 2008 at 10:45 AM, Page, Jeremy <jeremy.page[at]gilbarco.com>
> wrote:
>> I know that "back in the day" there where some good reasons not to use
>> mixed mode qtrees if at all possible. We've got folks accessing their
>> home directories via NFS and CIFS depending on which of their
>> workstations they are using so it would be very nice if I could use
>> mixed mode. Is it realistic to do this in a production environment? What
> are the drawbacks?
>>
>> This message (including any attachments) contains confidential and/or
>> proprietary information intended only for the addressee.
>> Any unauthorized disclosure, copying, distribution or reliance on the
>> contents of this information is strictly prohibited and may constitute
>> a violation of law. If you are not the intended recipient, please
>> notify the sender immediately by responding to this e-mail, and delete
>> the message from your system. If you have any questions about this
>> e-mail please notify the sender immediately.
>>
>
>
>
> --
> --tmac
>
> RedHat Certified Engineer #804006984323821 (RHEL4) RedHat Certified Engineer
> #805007643429572 (RHEL5)
>
> Principal Consultant
>
> This message (including any attachments) contains confidential
> and/or proprietary information intended only for the addressee.
> Any unauthorized disclosure, copying, distribution or reliance on
> the contents of this information is strictly prohibited and may
> constitute a violation of law. If you are not the intended
> recipient, please notify the sender immediately by responding to
> this e-mail, and delete the message from your system. If you
> have any questions about this e-mail please notify the sender
> immediately.
>



--
--tmac

RedHat Certified Engineer #804006984323821 (RHEL4)
RedHat Certified Engineer #805007643429572 (RHEL5)

Principal Consultant


Stetson.Webster at netapp

May 9, 2008, 3:39 PM

Post #7 of 7 (336 views)
Permalink
RE: How well does Mixed mode qtrees work? [In reply to]

Here is how I would do this (assuming that all the user ID's are the
same between Windows and NIS):

1.
Simply opt for an NTFS qtree since this is the granularity you
need. This is also the most common even for mixed environments.
2.
Allow usermap.cfg to equate the Windows/NIS usernames. The
default settings should suffice if the names are the same.

Sometimes you have to play around with the suggestion here:

Unix group permissions on directory not enforced on CIFS users:
http://now.netapp.com/Knowledgebase/solutionarea.asp?id=kb16326

Also see the 'Troubleshooter' here:
http://now.netapp.com/NOW/knowledge/docs/olio/guides/ontap_troubleshooti
ng

Good luck .............


Stetson M. Webster
Onsite Professional Services Engineer
PS - North Amer. - East

NetApp
919.250.0052 Mobile
Stetson.Webster[at]netapp.com
www.netapp.com <http://www.netapp.com/>




________________________________

From: Page, Jeremy [mailto:jeremy.page[at]gilbarco.com]
Sent: Friday, May 09, 2008 1:48 PM
To: Toasters
Subject: RE: How well does Mixed mode qtrees work?



A lot of good replies. The problem that I've been running into is that
if someone access a file via Windows any Unix users have problems with
chmod.



I can't use Unix perms because there are places where I need more
granularity then it permits. It looks like I'll just have to maintain a
separate location for my NIS folks to use as their home directories and
they'll just have to deal with the less comprehensive access control.

________________________________

From: Leeds, Daniel [mailto:dleeds[at]edmunds.com]
Sent: Friday, May 09, 2008 12:36 PM
To: Kevin Parker; tmac; Page, Jeremy
Cc: Toasters
Subject: RE: How well does Mixed mode qtrees work?





in this case, same user on windows and unix, would the following not be
the best approach?

set vol permissions style as ntfs, then create an /etc/usermap.cfg to
map unix to windows user?

we do this in a limited scenario for some applications so that the users
can manipulate data from their windows workstations but the unix
application server sees all those files and can access them as the
correct uid/gid

just a thought.

--
Daniel Leeds
Manager, Storage Operations
Edmunds, Inc.
1620 26th Street, Suite 400 South
Santa Monica, CA 90404

310-309-4999 desk
310-430-0536 cell



-----Original Message-----
From: owner-toasters[at]mathworks.com on behalf of Kevin Parker
Sent: Fri 5/9/2008 9:25 AM
To: 'tmac'; 'Page, Jeremy'
Cc: 'Toasters'
Subject: RE: How well does Mixed mode qtrees work?

What you are seeking to do, is do-able however...if you're seeking to
fulfill a requirement that both NFS and CIFS clients have access...you
can
still do this with either NTFS or UNIX style security. Can be NTFS
security
for an NFS client, or UNIX security and gain access from CIFS client.

Do a search on NOW for "multiprotocol access" or somesuch...should find
tons
of docs.

Without mixed mode, clients will get the ACL that is there...if UNIX
style
security, CIFS clients can access resources as long as they're allowed
according to the ACL. Similarly, NFS clients access NTFS style security
resources. You just need to get your usermapping correctly...CIFS
clients
must map to a UNIX user and vice-versa - depending on which protocol you
decide on.

All mixed mode buys you is the ability to "set ACL's from either
client",
assuming they have rights to do so. Once you set the ACL in mixed mode,
the
ACL is either NTFS or UNIX and not "translated" to the client. The ACL
will
always be whatever the last client set it as, like tmac said.

G'luck!

Best regards,
~~~~~~~~~~~~~~~~
Kevin Parker
Mobile: 919.606.8737
http://theparkerz.com
~~~~~~~~~~~~~~~~

-----Original Message-----
From: owner-toasters[at]mathworks.com [mailto:owner-toasters[at]mathworks.com]
On
Behalf Of tmac
Sent: Friday, May 09, 2008 11:31 AM
To: Page, Jeremy
Cc: Toasters
Subject: Re: How well does Mixed mode qtrees work?

The big problem is still there...

the last one to set permissions wins...

i.e. CIFS ACL wipes NFS perms
NFS perms wipes CIFS ACLs

--tmac

On Fri, May 9, 2008 at 10:45 AM, Page, Jeremy <jeremy.page[at]gilbarco.com>
wrote:
> I know that "back in the day" there where some good reasons not to use
> mixed mode qtrees if at all possible. We've got folks accessing their
> home directories via NFS and CIFS depending on which of their
> workstations they are using so it would be very nice if I could use
> mixed mode. Is it realistic to do this in a production environment?
What
are the drawbacks?
>
> This message (including any attachments) contains confidential and/or
> proprietary information intended only for the addressee.
> Any unauthorized disclosure, copying, distribution or reliance on the
> contents of this information is strictly prohibited and may constitute
> a violation of law. If you are not the intended recipient, please
> notify the sender immediately by responding to this e-mail, and delete
> the message from your system. If you have any questions about this
> e-mail please notify the sender immediately.
>



--
--tmac

RedHat Certified Engineer #804006984323821 (RHEL4) RedHat Certified
Engineer
#805007643429572 (RHEL5)

Principal Consultant



This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.
Attachments: attd5091.bmp (8.55 KB)

Netapp toasters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.