NFS exporting multiple snapshot directories

Vasily Postnicov shamaz.mazum at
Sat Apr 4 11:42:47 PDT 2015

This is related to this bug:

First you need to mount these PFSes to any mounting point using null file

mount -t null /pfs1/@@0x<asof>

Then try to patch a kernel with attached patch and restart mountd with new
kernel. Make sure, that you export null-fs mounting points rather than PFS

Please let me know if it works

2015-03-31 16:10 GMT+03:00 freeflyer <freeflyer2 at>:

> Hi,
> I've a couple of snapshots directories under /, let's say
>    /pfs1
>    /pfs2
>    /pfs1.snap
>    /pfs2.snap
> I want to export them via NFS.
>    /pfs1      -maproot=nobody
>    /pfs2      -maproot=nobody
>    /pfs1.snap -maproot=nobody,ro
>    /pfs2.snap -maproot=nobody,ro
> Doing 'showmount -e <server>' shows only the 1st snapshot directory
> (plus the pfs directories). Exchanging the order has the same effect:
> only the 1st snapshot listed in /etc/exports is exported.
> Any idea how to fix that?
> Best,
> FF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hammer_ioctl.patch
Type: text/x-patch
Size: 668 bytes
Desc: not available
URL: <>

More information about the Hammer mailing list