I have no hands-on experience with ZFS but have a question. If the file server running ZFS exports the ZFS file system via NFS to clients, based on previous messages on this list, it is not possible for an NFS client to mount this NFS-exported ZFS file system on multiple directories on the NFS client. So, let''s say I create a ZFS clone of some ZFS file system. Is it possible for an NFS client to mount the ZFS file system _and_ the clone without problems? If the clone is underneath the ZFS file system hierarchy, will mounting the ZFS file system I created the clone from allow the NFS client access to the remote ZFS file system and the clone? -- albert chin (china at thewrittenword.com)
Hello Albert, Monday, January 15, 2007, 5:55:23 PM, you wrote: AC> I have no hands-on experience with ZFS but have a question. If the AC> file server running ZFS exports the ZFS file system via NFS to AC> clients, based on previous messages on this list, it is not possible AC> for an NFS client to mount this NFS-exported ZFS file system on AC> multiple directories on the NFS client. AC> So, let''s say I create a ZFS clone of some ZFS file system. Is it AC> possible for an NFS client to mount the ZFS file system _and_ the AC> clone without problems? AC> If the clone is underneath the ZFS file system hierarchy, will AC> mounting the ZFS file system I created the clone from allow the NFS AC> client access to the remote ZFS file system and the clone? You will have to explicitly mount cloned file systems on clients. Other than that it should just work. -- Best regards, Robert mailto:rmilkowski at task.gda.pl http://milek.blogspot.com
On Mon, Jan 15, 2007 at 10:55:23AM -0600, Albert Chin wrote:> I have no hands-on experience with ZFS but have a question. If the > file server running ZFS exports the ZFS file system via NFS to > clients, based on previous messages on this list, it is not possible > for an NFS client to mount this NFS-exported ZFS file system on > multiple directories on the NFS client.At least, I thought I read this somewhere. Is the above possible? I don''t see why it should not be. -- albert chin (china at thewrittenword.com)
Albert Chin wrote:> On Mon, Jan 15, 2007 at 10:55:23AM -0600, Albert Chin wrote: > >>I have no hands-on experience with ZFS but have a question. If the >>file server running ZFS exports the ZFS file system via NFS to >>clients, based on previous messages on this list, it is not possible >>for an NFS client to mount this NFS-exported ZFS file system on >>multiple directories on the NFS client. > > > At least, I thought I read this somewhere. Is the above possible? I > don''t see why it should not be. >Yes, you can mount multiple *filesystems* via NFS. Feel to try it out. Here''s an example (fsh-weakfish is client, fsh-hake is server): fsh-weakfish# showmount -e fsh-hake export list for fsh-hake: /monkey (everyone) /monkey/ape (everyone) /monkey/ape/banana (everyone) fsh-weakfish# mount fsh-hake:/monkey /mnt fsh-weakfish# fsh-weakfish# mount fsh-hake:/monkey/ape /mnt2 fsh-weakfish# Perhaps you are referring to the inability to automatically mount a filesystem? Such that if i mount "/monkey/ape" onto "/mnt", i cannot ''cd'' into "/mnt" and see the contents of a filesystem below "/monkey/ape". fsh-weakfish# ls /mnt2 banana fsh-weakfish# ls /mnt2/banana fsh-weakfish# This is known as "mirror mounting" and is actively being worked on by the NFS folks. eric
On Tue, Jan 16, 2007 at 01:28:04PM -0800, Eric Kustarz wrote:> Albert Chin wrote: > >On Mon, Jan 15, 2007 at 10:55:23AM -0600, Albert Chin wrote: > > > >>I have no hands-on experience with ZFS but have a question. If the > >>file server running ZFS exports the ZFS file system via NFS to > >>clients, based on previous messages on this list, it is not possible > >>for an NFS client to mount this NFS-exported ZFS file system on > >>multiple directories on the NFS client. > > > > > >At least, I thought I read this somewhere. Is the above possible? I > >don''t see why it should not be. > > Yes, you can mount multiple *filesystems* via NFS.And the fact that the file systems on the remote server are ZFS is irrelevant? -- albert chin (china at thewrittenword.com)
Hello Albert, Tuesday, January 16, 2007, 11:26:04 PM, you wrote: AC> On Tue, Jan 16, 2007 at 01:28:04PM -0800, Eric Kustarz wrote:>> Albert Chin wrote: >> >On Mon, Jan 15, 2007 at 10:55:23AM -0600, Albert Chin wrote: >> > >> >>I have no hands-on experience with ZFS but have a question. If the >> >>file server running ZFS exports the ZFS file system via NFS to >> >>clients, based on previous messages on this list, it is not possible >> >>for an NFS client to mount this NFS-exported ZFS file system on >> >>multiple directories on the NFS client. >> > >> > >> >At least, I thought I read this somewhere. Is the above possible? I >> >don''t see why it should not be. >> >> Yes, you can mount multiple *filesystems* via NFS.AC> And the fact that the file systems on the remote server are ZFS is AC> irrelevant? Yep. -- Best regards, Robert mailto:rmilkowski at task.gda.pl http://milek.blogspot.com