NFS export of HAMMER slave PFS

Vasily Postnicov shamaz.mazum at gmail.com
Wed Jan 14 11:16:34 PST 2015


2015-01-14 18:57 GMT+03:00 Antonio Huete Jiménez <tuxillo at quantumachine.net>
:

> Hi Vasily,
>
> You're doing it right, there is a bug in mountd. Specifically mountd tries
> to set the export flag on the filesystem by using mountctl(2) or mount(2)
> but it's failing.
>
> Can you please open a bug on the tracker and assign it to me?
>
> I'll check it later.
>
> Cheers,
> Antonio Huete
>
>
>
> Quoting Vasily Postnicov <shamaz.mazum at gmail.com>:
>
>  Hello.
>>
>> I have a slave HAMMER PFS which is mounted at /nbackup. I want to export
>> it
>> via NFS over my local network (it has 3 machines with ip addresses
>> 192.168.10.1-192.168.10.3), so I added this line to /etc/exports
>>
>> /nbackup -ro -network 192.168.10/24
>>
>> then I invoked:
>>
>> service mountd restart
>>
>> and got these lines in /var/log/messages:
>>
>> Jan 14 18:37:24 ressurected mountd[2279]: can't export /nbackup
>> Jan 14 18:37:24 ressurected mountd[2279]: bad exports list line /nbackup
>> -ro -network 192.168.10/24
>>
>> I checked it again with a newly created hammer filesystem (using vnode
>> disk
>> and 20GB zero-filled file) and a slave PFS, containing mirror of /tmp. It
>> gave me the same result. Then I upgraded the PFS to master and mountd
>> accepted it with no errors.
>>
>> So my question is: can I export a slave PFS or I have to upgrade it to
>> master first? I mean only read access, of course. My DragonFly version:
>> v4.1.0.321.gea9a1f-DEVELOPMENT
>>
>>
>> With best regards, Vasily Postnicov
>>
>
>
>
I opened a bug: http://bugs.dragonflybsd.org/issues/2768 but I cannot find
where I can assign it to anybody. Sorry :(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20150114/5830ddab/attachment-0006.html>


More information about the Users mailing list