Skip to contentSkip to conversation

Can a bcachefs filesystem be exported via NFS?

DISCUSSION Martin McClure 3 participants 3 messages Jun 6, 2016 – Jun 16, 2016 bcache (block layer cache)

lore
Share & tools
lore
#0 lore raw

Can a bcachefs filesystem be exported via NFS?

I have a bcachefs filesystem mounted on /meteor4. When I try to export it, I get:

---

root@meteor:~# service nfs-kernel-server restart
 * Stopping NFS kernel daemon   [ OK ]
 * Unexporting directories for NFS kernel daemon...      [ OK ]
 * Exporting directories for NFS kernel daemon...
exportfs: /meteor4 does not support NFS export
---

and the system log says:

Jun  6 14:11:28 meteor rpc.mountd[31541]: /meteor3 and /meteor4 have

same filehandle for *, using first

Not sure what this is about. /meteor3 is a vanilla ext4 partition.

If I try to access /meteor4 from another machine via NFS, Meteor's log shows this:

Jun  6 14:15:10 meteor rpc.mountd[31541]: Cannot export /meteor4,

possibly unsupported filesystem or fsid= required

So I'm guessing it's not yet supported, but wanted to check in case I'm doing something wrong.

Thanks,

-Martin

#1 lore raw
Quoted 20 lines · Martin McClure

Can a bcachefs filesystem be exported via NFS?

I have a bcachefs filesystem mounted on /meteor4. When I try to export it, I get:

---

root@meteor:~# service nfs-kernel-server restart
 * Stopping NFS kernel daemon   [ OK ]
 * Unexporting directories for NFS kernel daemon...      [ OK ]
 * Exporting directories for NFS kernel daemon...
exportfs: /meteor4 does not support NFS export
---

and the system log says:

Jun  6 14:11:28 meteor rpc.mountd[31541]: /meteor3 and /meteor4 have

same filehandle for *, using first

Not sure what this is about. /meteor3 is a vanilla ext4 partition.

Quoted 8 lines

If I try to access /meteor4 from another machine via NFS, Meteor's log shows this:

Jun  6 14:15:10 meteor rpc.mountd[31541]: Cannot export /meteor4,

possibly unsupported filesystem or fsid= required

So I'm guessing it's not yet supported, but wanted to check in case I'm doing something wrong.

Thanks for noticing - yeah, not supported yet. And it's going to need an on disk format change for i_generation, erg. Excuse me while I go punch myself...

#2 lore raw
Quoted 6 lines · Kent Overstreet
Quoted 2 lines · Martin McClure

Can a bcachefs filesystem be exported via NFS?
doing something wrong.

Thanks for noticing - yeah, not supported yet. And it's going to need an on disk format change for i_generation, erg.

If the on-disk format is going to change, is it possible to make bcacheN inodes compatible with files? It would be great to export files arbitrarily as block devices.

--
Eric Wheeler

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html