You are not logged in.

#1 2010-05-30 07:54:03

SiegeMachine
Member
Registered: 2009-03-26
Posts: 157

smbnetfs manual mount shares returns 'can't allocate memory'

So I have Samba running on my linux computer so that I could access the files on it from my other windows computer.  This is all fine and dandy and works.  Now when I have another computer thats on Linux and I'm trying to connect to the host machine with

sudo mount -t cifs //192.168.0.142/IPC$ /mnt/networkshare/ -o user=siegemachine,password=xxxx,workgroup=HOME,ip=192.168.0.142

I get

mount error(12): Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

The only thing I've found by searching is that if the host is a windows file that you can change the packet size or something within the registry but since its being hosted by a linux computer... I'm not exactly sure what I should check first.

Also, when I cd into the smbnetfs folder in /mnt/smbnet I can see my workgroup (HOME) and when I go into that I see the hostname of my linux computer upstairs.  Now, going into that directory and typing ls reveals nothing though.

Offline

#2 2010-05-31 07:07:38

SiegeMachine
Member
Registered: 2009-03-26
Posts: 157

Re: smbnetfs manual mount shares returns 'can't allocate memory'

If the harddrive of the computer I'm trying to mount the share on is too small for the size of the share will that cause this error, or does mounting a share only mean you are able to access it and doesn't actually have anything to do with your hard drive per se?

Offline

#3 2010-06-01 02:38:23

parintachin
Member
Registered: 2009-05-25
Posts: 72

Re: smbnetfs manual mount shares returns 'can't allocate memory'

your harddrive is irrelevant could be bad ram just a guess you could try memtest

Offline

#4 2010-06-03 03:08:40

SiegeMachine
Member
Registered: 2009-03-26
Posts: 157

Re: smbnetfs manual mount shares returns 'can't allocate memory'

Memtest was fine, wasn't a ram issue.  I read something about packet size settings somewhere else but it only works if the host was from Windows but its a samba host that I'm trying to access.

Offline

#5 2010-06-07 01:07:26

SiegeMachine
Member
Registered: 2009-03-26
Posts: 157

Re: smbnetfs manual mount shares returns 'can't allocate memory'

My laptop on windows can see the samba host but on linux I'm still getting this error

Offline

#6 2010-06-07 06:39:59

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: smbnetfs manual mount shares returns 'can't allocate memory'

You've never said what version of Win you're using; however, if it's Win 7 then you'll have to hack the registry and/or the local security policy settings. There are various tutorials on the net to learn how to do this.  If you are on Win 7 I strongly suggest you google for

"windows 7" +samba

Offline

#7 2010-06-08 09:20:03

SiegeMachine
Member
Registered: 2009-03-26
Posts: 157

Re: smbnetfs manual mount shares returns 'can't allocate memory'

What if its Samba to samba on 2 linux comps?

Offline

Board footer

Powered by FluxBB