Results 1 to 3 of 3

Thread: Trying to mount NAS (Caddy + HDD) getting mount error(12): Cannot allocate memory

  1. #1
    Join Date
    Feb 2008
    Beans
    15

    Angry Trying to mount NAS (Caddy + HDD) getting mount error(12): Cannot allocate memory

    Hi,

    I have a Network Attached Storage device which is a hard drive + caddy. I can access it fine using smb://192.168.0.2/Storage, I can map a network drive in Windows and I can also mount through gnome. However I want to permanently mount it, I have added this to /etc/fstab

    //192.168.0.2/Storage /media/storage cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=07 77 0 0

    All I get after sudo mount -a is

    mount error(12): Cannot allocate memory

    Driving me a little nuts, is anyone able to help? Most of the past posts focus on a full windows machine being the server but mine is just a caddy + hard drive with a web interface.

    Thanks in advance

    Paul

  2. #2
    Join Date
    Feb 2008
    Beans
    15

    Trying to mount NAS (Caddy + HDD) getting mount error(12): Cannot allocate memor

    *Bump*

  3. #3
    Join Date
    Jul 2010
    Location
    Henley-on-Thames,UK
    Beans
    4
    Distro
    Ubuntu 10.04 Lucid Lynx

    Talking Re: Trying to mount NAS (Caddy + HDD) getting mount error(12): Cannot allocate memor

    This has been annoying me for a while - I finally *really* needed to get this to work (setting up a Firefly media server).

    After a bit of searching, I found that you need to add "nounix" to the options:

    Code:
    sudo mount -t smbfs //host/share /mountpoint -o nounix,iocharset=utf8
    
    //192.168.0.2/Storage /media/storage cifs nounix,guest,rw,iocharset=utf8,file_mode=0777,dir_mode=07 77 0 0
    Original here:
    http://www.mail-archive.com/ubuntu-s.../msg26923.html


Tags for this Thread

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
  •