On Fri, 2011-12-02 at 14:21 -0200, Rogério Soares wrote:
> Hi Jan,
> 
> capp101:~ # ulimit -v
> 1233040
> 

Try to increase the limit, it should be bigger than the size of the disk
you're trying to mount (or unlimited).

If you don't have enough free memory in your guest you may also need to
set  /proc/sys/vm/overcommit_memory to 1.

And don't be afraid, the memory is not actually consumed by cmsfs-fuse,
it is just needed to pass several checks buried in the memory management
of the Linux kernel.

Jan

> 
> 
> On Fri, Dec 2, 2011 at 1:56 PM, Jan Glauber <j...@linux.vnet.ibm.com> wrote:
> 
> > Hello Rogerio,
> >
> > On Fri, 2011-12-02 at 13:25 -0200, Rogério Soares wrote:
> > > Hello List, someone  got this error before?
> > >
> > > TIA.
> > >
> > > capp101:~ # cmsfs-fuse -t /dev/dasdc /linmon
> > > cmsfs-fuse: mmap failed: Cannot allocate memory
> >
> > That error means cmsfs-fuse fails to create the mmap of the disk into
> > the process's memory.
> >
> > What does 'ulimit -v' show on your machine?
> >
> > Jan
> >
> >
> > ---
> > Linux on System z Kernel developer, LTC Boeblingen
> >
> > IBM Deutschland Entwicklung GmbH
> > Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Herbert
> > Kircher, Sitz der Gesellschaft: Böblingen, Registergericht Amtsgericht
> > Stuttgart, HRB 243294
> >
> > >
> > > /dev/dasdc is a minidisk
> > >
> > > ================
> > >
> > > 'On User direct guest definition:
> > >
> > > LINK LINMON 291 291 RR
> > >
> > >
> > > 'On Linux
> > >
> > > capp101:~ # uname -a
> > > Linux capp101 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200
> > s390x
> > > s390x s390x GNU/Linux
> > >
> > > capp101:~ # cat /etc/SuSE-release
> > > SUSE Linux Enterprise Server 11 (s390x)
> > > VERSION = 11
> > > PATCHLEVEL = 1
> > > capp101:~ #
> > >
> > >
> > > capp101:~ # /usr/bin/cmsfs-fuse -v
> > > cmsfs-fuse: FUSE file system for CMS disks program version
> > > 1.14.0-build-20111201
> > > Copyright IBM Corp. 2010
> > >
> > >
> > >
> > > capp101:~ # lsdasd
> > > Bus-ID     Status      Name      Device  Type  BlkSz  Size      Blocks
> > >
> > ==============================================================================
> > > 0.0.0291   active      dasdc     94:8    ECKD  4096   21121MB   5407020
> > >
> > >
> > > capp101:~ # cmsfs-fuse -t /dev/dasdc /linmon
> > > cmsfs-fuse: mmap failed: Cannot allocate memory
> > >
> > > ----------------------------------------------------------------------
> > > For LINUX-390 subscribe / signoff / archive access instructions,
> > > send email to lists...@vm.marist.edu with the message: INFO LINUX-390
> > or visit
> > > http://www.marist.edu/htbin/wlvindex?LINUX-390
> > > ----------------------------------------------------------------------
> > > For more information on Linux on System z, visit
> > > http://wiki.linuxvm.org/
> > >
> >
> > ----------------------------------------------------------------------
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> > visit
> > http://www.marist.edu/htbin/wlvindex?LINUX-390
> > ----------------------------------------------------------------------
> > For more information on Linux on System z, visit
> > http://wiki.linuxvm.org/
> >
> 
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
> 

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to