Results 1 to 4 of 4

Thread: mount windows share: "Cannot allocate memory"

  1. #1
    Join Date
    Mar 2010
    Beans
    2

    mount windows share: "Cannot allocate memory"

    Hello Ubuntu users,

    I'm trying to connect to a Windows XP share from my Ubuntu 9.10 server. I thought this would be rather simple - maybe you can show me it is??

    On the Windows XP side, I have created a local user "ubuntu" and given the user Full Control of the share. (btw: the XP machine is a member of a domain)

    This is how I'm connecting from Ubuntu:
    sudo mount -t cifs //192.168.2.153/websrv01_logs /media/bio171_websrv01_logs -v -o username=ubuntu

    and this is the error I get back:
    mount.cifs kernel mount options: unc=//192.168.2.153\websrv01_logs,ver=1,rw,username=ubun tu,ip=192.168.2.153,pass=********
    mount error(12): Cannot allocate memory
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

    I see this when running dmesg:
    CIFS VFS: cifs_read_super: get root inode failed

    Help, please!

  2. #2
    Join Date
    Mar 2010
    Beans
    2

    Re: mount windows share: "Cannot allocate memory"

    It's funny how things go, but within hours of posting this question, I stumbled upon the solution. And believe me, I spent a lot of time trying to find answers before posting...

    The solution: right click the shared folder on Windows and open the Properties dialog. The two tabs of interest are Sharing and Security. I had to grant the local user access on BOTH tabs. Initially, I had only done this on the Sharing tab. It's unfortunate the error message - "cannot allocate memory" - was not more helpful.

    Hope this helps someone...

  3. #3
    Join Date
    Nov 2007
    Beans
    7

    Re: mount windows share: "Cannot allocate memory"

    Thank you, it worked perfectly.

  4. #4
    Join Date
    Jun 2011
    Beans
    1

    Smile Re: mount windows share: "Cannot allocate memory"

    Thank you cparham! You save a lot of my time.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •