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
tank/nfs. Here are my questions:
1. Can I in fact access foo1 and foo2 through the NFS share of tank/nfs or do
I need to create separate NFS shares for each of them?
They will be separate shares, but you should be able to avoid
having to touch this with ZFS inheritance, as long as the
subshares should all be shared the same way as the parent.
2. Is there any difference in interacting with foo1 and foo2 through the
tank/nfs share versus interacting with them directly? I don't even know if
that question makes sense, but it's at the heart of my confusion - nesting
file systems.
Since they're separate-but-related shares, the client needs
code to detect and handle mounting of the subshares, ideally
without the client user do anything. If you are using modern
Nevada or OpenSolaris, this is done, but Solaris 10 does not
do it.
3. If I make a snapshot of tank/nfs, does it include the data in foo1 and
foo2 or are they excluded since they are separate ZFS file systems?
They're separate, but "zfs snapshot -r" will do them all at
once.
Rob T
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss