Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

rpc.mountd fails for NFS share using BTRFS #366

Closed
adri opened this issue Apr 19, 2015 · 1 comment
Closed

rpc.mountd fails for NFS share using BTRFS #366

adri opened this issue Apr 19, 2015 · 1 comment
Labels

Comments

@adri
Copy link

adri commented Apr 19, 2015

First of all thank you for your awesome work! I really appreciate using vagrant-lxc.

This issue is actually a question. I wonder if BTRFS supports NFS, I couldn't find any useful information about it and wondered if you had a tipp.

  1. I've setup a Ubuntu 14.04 VM (parallels/ubuntu-14.04), installed LXC and formatted the / system with BTRFS.
  2. In this VM I'm running a VM based on fgrehm/trusty64-lxc.

Everything seems to boot up well except when I enable the NFS shared folder. I followed the FAQ and according to this I've changed /etc/apparmor.d/lxc/lxc-default to:

profile lxc-container-default flags=(attach_disconnected,mediate_deleted) {
  #include <abstractions/lxc/container-base>

  # the container may never be allowed to mount devpts.  If it does, it
  # will remount the host's devpts.  We could allow it to do it with
  # the newinstance option (but, right now, we don't).
#  deny mount fstype=devpts,

  mount fstype=nfs,
  mount fstype=nfs4,
  mount fstype=rpc_pipefs,
}

When booting up the VM I receive this message

exportfs: /vagrant/vms/vagrant-providers-symfony does not support NFS export
==> default: Mounting NFS shared folders...
SNIP!
mount -o 'vers=3,udp' 10.0.3.1:'/vagrant/vms/vagrant-providers-symfony' /mnt/vagrant-QX58m0GAW2Wn
SNIP!
mount.nfs: access denied by server while mounting 10.0.3.1:/vagrant/vms/vagrant-providers-symfony

On the "host" /var/log/syslog shows the following entries.

Apr 19 16:59:51 vagrant rpc.mountd[1241]: authenticated mount request from 10.0.3.185:952 for /vagrant/vms/vagrant-providers-symfony (/vagrant/vms/vagrant-providers-symfony)
Apr 19 16:59:51 vagrant rpc.mountd[1241]: qword_eol: fflush failed: errno 22 (Invalid argument)
Apr 19 16:59:51 vagrant rpc.mountd[1241]: Cannot export /vagrant/vms/vagrant-providers-symfony, possibly unsupported filesystem or fsid= required

Do you have an idea how I could get the shared folder to work properly? Preferably with using NFS.
Thanks again!

@adri adri changed the title rpc.mountd fails when for NFS share using BTRFS rpc.mountd fails for NFS share using BTRFS Apr 19, 2015
@fgrehm fgrehm added the ignored label Nov 17, 2022
@fgrehm
Copy link
Owner

fgrehm commented Nov 17, 2022

Hey, sorry for the silence here but this project is looking for maintainers 😅

As per #499, I've added the ignored label and will close this issue. Thanks for the interest in the project and LMK if you want to step up and take ownership of this project on that other issue 👋

@fgrehm fgrehm closed this as completed Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants