Results 1 to 6 of 6

Thread: NAS not showing up under Linux

  1. #1
    Join Date
    Feb 2007
    Location
    Denmark, Aalborg
    Beans
    670
    Distro
    Ubuntu

    Question NAS not showing up under Linux

    Hi

    I've have a D-link 320 NAS setup up as a network drive under Windows. My Mac automatically found and mounted the drive in Finder. But under Linux I can't see the drive!

    Should I mount the drive?
    Do I need Samba?
    Is there a terminal command for displaying if it is connected?

    The linux box runs XBMC(buntu)

    //MadsRH
    Last edited by MadsRH; August 7th, 2012 at 11:57 PM.

  2. #2
    Join Date
    Feb 2007
    Location
    Denmark, Aalborg
    Beans
    670
    Distro
    Ubuntu

    Question Re: NAS not showing up under Linux

    Bump

    Is there really no one that can help me?

  3. #3
    Join Date
    Apr 2012
    Beans
    6,760

    Re: NAS not showing up under Linux

    if you are doing this via SAMBA / CIFS you can do

    Code:
    smbclient -L server-name
    or

    Code:
    smbclient -L server-ip
    on the client machine to see a list of samba shares from server. Or if it is NFS, then try

    Code:
    showmount -e server-ip

  4. #4
    Join Date
    Feb 2007
    Location
    Denmark, Aalborg
    Beans
    670
    Distro
    Ubuntu

    Re: NAS not showing up under Linux

    Exactly what I was looking for - I'll give it a try right away, thanks

  5. #5
    Join Date
    Feb 2007
    Location
    Denmark, Aalborg
    Beans
    670
    Distro
    Ubuntu

    Re: NAS not showing up under Linux

    I've tried to install samba and samba4 and smbtree - What a mess! Tried to remove/reinstall it again, but now I'm getting

    Errors were encountered while processing:
    samba4
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    With the showmount command I can see the drive now, but still can't access it
    Last edited by MadsRH; August 9th, 2012 at 12:16 AM.

  6. #6
    Join Date
    Apr 2012
    Beans
    6,760

    Re: NAS not showing up under Linux

    Well if showmount is seeing the share(s) you should be able to mount them that way if you are stuck with samba (it's a bit more unixy anyway)

    For any public shares it should be as simple as making a mount point and then mounting as server:/share e.g.

    Code:
    $ showmount -e 192.168.1.127
    Export list for 192.168.1.127:
    /c/home        *
    /c/media       *
    /c/public      *
    /c/backup      *
    /USB/USB_HDD_1 *
     $
    $ sudo mkdir -p /mnt/nas-01/public
    [sudo] password for steeldriver: 
    $ sudo mount -t nfs 192.168.1.127:/public /mnt/nas-01/public
    $
    Hope this helps

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
  •