Re: [zfs-discuss] ZFS file system confusion

2010-03-25 Thread Brandon High
On Thu, Mar 25, 2010 at 3:58 AM, Robert Thurlow wrote: > Linux has had it for a longer time. Is this not what you > see on current Linux? > All of my linux clients are using nfs3. CentOS 5 had trouble with nfs4, and the ancient version of debian I'm running doesn't support it at all. -B -- B

Re: [zfs-discuss] ZFS file system confusion

2010-03-25 Thread Robert Thurlow
Damon Atkins wrote: NFSv4 has a concept of a root of the overall exported filesystem (Pseudofilesystem). FileHandle 0 in terms of Linux it is setting fsid=0 when exporting. Which would explain why someone said Linux (NFSv4) automounts an exported filesystem under another exported filesystem

Re: [zfs-discuss] ZFS file system confusion

2010-03-25 Thread Damon Atkins
NFSv4 has a concept of a root of the overall exported filesystem (Pseudofilesystem). FileHandle 0 in terms of Linux it is setting fsid=0 when exporting. Which would explain why someone said Linux (NFSv4) automounts an exported filesystem under another exported filesystem ie mount servername:/

Re: [zfs-discuss] ZFS file system confusion

2010-03-25 Thread Robert Thurlow
Stefan Walk wrote: On debian linux (lenny), the nfs4 client automatically mounts subshares, but the nfs3 client doesn't (May not be right in all cases, just my experience). NFSv3 has no way to do this in the protocol, so this is as designed (and the same as current Solaris/OpenSolaris). Rob

Re: [zfs-discuss] ZFS file system confusion

2010-03-25 Thread Stefan Walk
On 25 Mar 2010, at 11:58, Robert Thurlow wrote: Brandon High wrote: If you mount server:/nfs on another host, it will not include server:/nfs/foo1 or server:/nfs/foo2. Some nfs clients (notably Solaris's) will attempt to mount the foo1 & foo2 datasets automatically, so it looks like you'

Re: [zfs-discuss] ZFS file system confusion

2010-03-25 Thread Robert Thurlow
Brandon High wrote: If you mount server:/nfs on another host, it will not include server:/nfs/foo1 or server:/nfs/foo2. Some nfs clients (notably Solaris's) will attempt to mount the foo1 & foo2 datasets automatically, so it looks like you've exported everything under server:/nfs. Linux clien

Re: [zfs-discuss] ZFS file system confusion

2010-03-25 Thread Robert Thurlow
Chris Dunbar wrote: Let's say I create the ZFS file system tank/nfs and share that over NFS. Then I create the ZFS file systems tank/nfs/foo1 and tank/nfs/foo2. I want to manage snapshots independently for foo1 and foo2, but I would like to be able to access both from the single NFS share for ta

Re: [zfs-discuss] ZFS file system confusion

2010-03-24 Thread Brandon High
On Wed, Mar 24, 2010 at 6:39 PM, Chris Dunbar wrote: > Thank you for the explanation. It looks like I will have to share out each > file system. I was trying to keep the number of shares manageable, but it > sounds like that won't work. > Thanks to inheritance, it's easier than you think when yo

Re: [zfs-discuss] ZFS file system confusion

2010-03-24 Thread Chris Dunbar
Brandon, Thank you for the explanation. It looks like I will have to share out each file system. I was trying to keep the number of shares manageable, but it sounds like that won't work. Regards, Chris On Mar 24, 2010, at 9:36 PM, Brandon High wrote: > 2010/3/24 Chris Dunbar > I have boxed m

Re: [zfs-discuss] ZFS file system confusion

2010-03-24 Thread Brandon High
2010/3/24 Chris Dunbar > I have boxed myself into a mental corner and need some help getting out. I > am confused about working with ZFS file systems. Here is a simple example of > what has me confused: Let's say I create the ZFS file system tank/nfs and > share that over NFS. Then I create the Z