[NILFS users] Mount memory allocation error
kihara at osrg.net
Thu Jul 3 20:46:48 JST 2008
At Thu, 03 Jul 2008 20:30:27 +0900 (JST),
Ryusuke Konishi wrote:
> Hi Peter,
> On Thu, 3 Jul 2008 12:19:53 +0200, "Peter Smith" wrote:
> > Hi,
> > I recently upgraded my memory from 2G to 4G and this made it necessary to
> > change my kernel
> > from
> > 184.108.40.206-31-default
> > to
> > 220.127.116.11-31-bigsmp
> > Now I cannot mount nilfs2 partitions.
> > I get the error message: mount.nilf2: ... ... Cannot allocate memory
> > My environment is
> > OpenSuse 10.3
> > nilfs 2.02
> > nilfs-utils 2.04
> > Yes, I did recompile/install nilfs and nilfs-utils while using the bigsmp
> > kernel.
> > When I switch back to the default kernel mount.nilfs2 works normally,
> > as does everything else.(but of course I don't have access to the full 4G
> > memory)
> > Your help would be greatly appreciated
> > Peter
> Thank you for reporting this.
> We are now trying to catch the problem.
> BTW, did you try our binary package for OpenSuse?
> It is available on http://www.nilfs.org/pub/opensuse/.
> Does it incur the same problem?
I had tested with our environment and no error occured.
Could you please try our binary packages, and more information
of your environment if error occurs?
% uname -r
% rpm -q nilfs-kmp-bigsmp nilfs-utils
% head /proc/meminfo
MemTotal: 4150384 kB
MemFree: 3811844 kB
Buffers: 16608 kB
Cached: 254852 kB
SwapCached: 0 kB
Active: 119736 kB
Inactive: 180004 kB
HighTotal: 3276528 kB
HighFree: 2982592 kB
LowTotal: 873856 kB
% head /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU 5130 @ 2.00GHz
stepping : 6
cpu MHz : 2000.251
cache size : 4096 KB
physical id : 0
siblings : 2
% dd if=/dev/zero of=nilfs2.vol bs=1048576 seek=1024 count=0
0+0 records in
0+0 records out
0 bytes (0 B) copied, 1.4095e-05 s, 0.0 kB/s
% mkfs -t nilfs2 nilfs2.vol
mkfs.nilfs2 ver 2.0
Start writing file system initial data to the device
Blocksize:4096 Device:nilfs2.vol Device Size:1073741824
File system initialization succeeded !!
% sudo mount -t nilfs2 -o loop nilfs2.vol /a
% df /a
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/loop0 1048572 16380 966656 2% /a
NILFS Team, NTT Labs.
More information about the users