NFS exporting multiple snapshot directories

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


This is related to this bug:

http://bugs.dragonflybsd.org/issues/2768

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

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
softlinks.

Please let me know if it works

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

> 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: <http://lists.dragonflybsd.org/pipermail/hammer/attachments/20150404/d10ca935/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hammer_ioctl.patch
Type: text/x-patch
Size: 668 bytes
Desc: not available
URL: <http://lists.dragonflybsd.org/pipermail/hammer/attachments/20150404/d10ca935/attachment-0011.bin>


More information about the Hammer mailing list