From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Staubach Subject: Re: NFS export of TMPFS Date: Fri, 01 Dec 2006 16:52:07 -0500 Message-ID: <4570A407.6020007@redhat.com> References: <4570A2C1.3060707@ornl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1GqGIo-0004Jg-Dx for nfs@lists.sourceforge.net; Fri, 01 Dec 2006 13:52:14 -0800 Received: from mx1.redhat.com ([66.187.233.31]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GqGIo-00065C-Jl for nfs@lists.sourceforge.net; Fri, 01 Dec 2006 13:52:15 -0800 To: Weikuan Yu In-Reply-To: <4570A2C1.3060707@ornl.gov> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net 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