Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 2 [3] 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: NFS problems, Permission denied< Next Oldest | Next Newest >
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: June 16 2008,09:16 QUOTE

I just remembered tmpfs cannot be exported by NFS. Not too sure about unionfs either.
So, create a 4MB ramdisk with ext2, try to export that, it should work.
(dd if=/dev/zero of=/dev/ram2 bs=1M count=4; mke2fs -m0 /dev/ram2)


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: June 16 2008,09:18 QUOTE

Or export the cdrom.

Sidenote: Wait, is that's all that is required to make a ram disk in linux? I needed a way of storing a continuous written to file without writing it to a harddrive/flash.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: June 16 2008,10:57 QUOTE

Quote
Sidenote: Wait, is that's all that is required to make a ram disk in linux? I needed a way of storing a continuous written to file without writing it to a harddrive/flash.

Yes. Although the max size is defined when compiling the kernel and is usually 4MB, and the max number of ramdisks is also defined compile-time, the default is 16. Most people use tmpfs instead, since it's newer, faster, and can be resized on the fly, but old-fashioned ramdisks have their uses.


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: June 17 2008,02:22 QUOTE

Quote (curaga @ June 15 2008,23:16)
I just remembered tmpfs cannot be exported by NFS. Not too sure about unionfs either.
So, create a 4MB ramdisk with ext2, try to export that, it should work.
(dd if=/dev/zero of=/dev/ram2 bs=1M count=4; mke2fs -m0 /dev/ram2)

Looks like that is the problem. Creating the ramdisk & mounting it to /mnt/r2 & then exporting that allowed it to be mounted back to the same machine.

I think this needs a wiki page to explain. I'll put it on my list of pages to do, along with the DMIX/umix one requested elsewhere.

Thanks for the help.
Back to top
Profile PM 
Jason W Offline





Group: Members
Posts: 260
Joined: Nov. 2006
Posted: June 17 2008,02:56 QUOTE

andrewb,
 I never tried to export directories that are in unionfs/tmpfs, only hard drive directories.  I will update the info file in nfs-kernel-server.dsl with what you put in the wiki.  Thanks.
Back to top
Profile PM 
16 replies since June 12 2008,13:35 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 2 [3] 4 >/
reply to topic new topic new poll
Quick Reply: NFS problems

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code