Linux NFS development
 help / color / mirror / Atom feed
From: Peter Staubach <staubach@redhat.com>
To: Weikuan Yu <wyu@ornl.gov>
Cc: nfs@lists.sourceforge.net
Subject: Re: NFS export of TMPFS
Date: Fri, 01 Dec 2006 16:52:07 -0500	[thread overview]
Message-ID: <4570A407.6020007@redhat.com> (raw)
In-Reply-To: <4570A2C1.3060707@ornl.gov>

Weikuan Yu wrote:
> Hi,
>
> I am trying to export a memory-based file system via NFS. However, I am 
> not able to do with either ramfs or tmpfs. Here is the reported error. 
> Is there a protection in NFS server to prevent this?
>
> I also tried to use ramdisk. That worked, however, I am not able to 
> create a ramdisk of more than 1G. I need to create a ramdisk that is 2G 
> or more. Any insights on this.
>
> I will be happy if I can get solutions for either of the approaches. Or 
> is there any other alternatives?
>
> Thanks,
> Weikuan
>
> [root@yoda1 ~]# mount -t tmpfs none /nfs
> [root@yoda1 ~]# df -h /nfs
> Filesystem            Size  Used Avail Use% Mounted on
> none                  506M     0  506M   0% /nfs
> [root@yoda1 ~]# ssh node0002
> -bash-3.00# mount 192.168.1.254:/nfs /nfs
> mount: 192.168.1.254:/nfs failed, reason given by server: Permission denied

You might try exportfs(8)'ing the file system before trying to mount it...

       ps

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2006-12-01 21:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-01 21:46 NFS export of TMPFS Weikuan Yu
2006-12-01 21:52 ` Peter Staubach [this message]
2006-12-01 21:56   ` Weikuan Yu
2006-12-01 21:58     ` Peter Staubach
2006-12-01 22:36       ` Weikuan Yu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4570A407.6020007@redhat.com \
    --to=staubach@redhat.com \
    --cc=nfs@lists.sourceforge.net \
    --cc=wyu@ornl.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox