Skip to contentSkip to conversation

can UBIFS be NFS exported

DISCUSSION Norbert van Bolhuis 3 participants 4 messages Nov 5, 2009 – Nov 7, 2009 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

just to make sure. UBIFS can not be NFS exported, is this correct ?

(I need NFS in our distributed system. The server uses UBIFS.
But there is a ISO9660 image on our UBIFS and fortunately ISO(Z)FS can be NFS exported, so it's not a problem)

#1 lore raw

----- Original Message -----
From: "Norbert van Bolhuis" <[email protected]>
To: <[email protected]>
Sent: Thursday, November 05, 2009 7:47 PM
Subject: can UBIFS be NFS exported

Quoted 2 lines

just to make sure. UBIFS can not be NFS exported, is this correct ?

Can you clarify on this ? I am able to use NFS as rootfs and mount ubifs over the OneNAND .

Quoted 6 lines

(I need NFS in our distributed system. The server uses UBIFS.
But there is a ISO9660 image on our UBIFS and fortunately ISO(Z)FS can be NFS exported, so it's not a problem)

Regards,
Sarath.

Quoted 3 lines

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

#2 lore raw
Quoted 7 lines · Tadimarri Sarath Babu

----- Original Message -----
From: "Norbert van Bolhuis" <[email protected]>
To: <[email protected]>
Sent: Thursday, November 05, 2009 7:47 PM
Subject: can UBIFS be NFS exported

Quoted 6 lines
Quoted 1 line

just to make sure. UBIFS can not be NFS exported, is this correct ?

Can you clarify on this ? I am able to use NFS as rootfs and mount ubifs over the OneNAND .

Quoted 4 lines

(I need NFS in our distributed system. The server uses UBIFS.
But there is a ISO9660 image on our UBIFS and fortunately ISO(Z)FS can be NFS exported, so it's not a problem)

I'm talking about the kernel nfsd ability to export UBIFS. This would allow remote systems to NFS mount a UBIFS directory.

for this UBIFS should implement what's described in Documentation/filesystems/Exporting. I don't see it for UBIFS.

For JFFS2 for example I see a jffs2_export_ops in fs/jffs2/super.c.

A user-space NFS server (e.g. unfs3) could probably export UBIFS.

In your case I think you're not exporting UBIFS but just use NFS for your rootfs.

#3 lore raw
In reply to Norbert van Bolhuis
Quoted 5 lines · Norbert van Bolhuis

just to make sure. UBIFS can not be NFS exported, is this correct ?

(I need NFS in our distributed system. The server uses UBIFS.
But there is a ISO9660 image on our UBIFS and fortunately ISO(Z)FS can be NFS exported, so it's not a problem)

Hi, not, it does not support NFS and you would need to implement the support. Hake a look here:

http://www.linux-mtd.infradead.org/faq/ubifs.html#L_nfs

(Rload the page, because I've just updated it)

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Артём Битюцкий)