6 Replies Latest reply: Jul 10, 2013 12:12 AM by PBANHOLZER RSS

Mount a CIFS share on Unix server?

netappmagic Cyclist
Currently Being Moderated

A volume would have to be exported from a filer, and then be mounted on a Unix (Linux) server. However, if we install a service for NFS on a Window server, it could be mounted on Windows as well.

 

My question is, is there any way similar to mount NFS share on window, I can mount a CIFS share on a Linux server? If there is, how do I do that? any documented steps?

 

Thanks in advance for your help!

  • Re: Mount a CIFS share on Unix server?
    sharmadevender Sprinter
    Currently Being Moderated

    Use NFS client for windows..

  • Re: Mount a CIFS share on Unix server?
    sharmadevender Sprinter
    Currently Being Moderated

    Here are the steps.

     

    1.) Check for cifs-util package.

     

    [root@dev-linux ~]# rpm -qa | grep -i cifs-util

     

    cifs-utils-5.4-1.fc17.x86_64

     

    if cifs-util package doesnot exist, install it.

     

    2.) create a cifs share on NetApp appliance.

     

    > cifs shares -add share1 /vol/test

    > cifs shares

    share1       /vol/test
                            everyone / Full Control

    3.) Mount share1 to linux.

     

    [root@dev-linux ~]# mount -t cifs 192.168.234.5:/share1 /mnt -o username=administrator
    Password:


    once you enter this command it will ask you for administrator password {created during cifs setup}.

     

    4.) Validate mount point

    [root@dev-linux /]# df -h /mnt
    Filesystem             Size  Used Avail Use% Mounted on
    192.168.234.5:/share1  809M  138M  672M  18% /mnt

     

    Hope it will help

     

    -DEV

    • Re: Mount a CIFS share on Unix server?
      netappmagic Cyclist
      Currently Being Moderated

      Hi DEV,

       

      your message seems very informational. However, I am having problems to install the rpm package. Have you encountered the same error? maybe you can quickly point out where is the problem is?

       

      # rpm -ivh /tmp/cifs-utils-5.4-1.fc17.x86_64.rpm

      warning: /tmp/cifs-utils-5.4-1.fc17.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 1aca3465

      error: Failed dependencies:

              keyutils is needed by cifs-utils-5.4-1.fc17.x86_64

              libc.so.6(GLIBC_2.14)(64bit) is needed by cifs-utils-5.4-1.fc17.x86_64

              libcap-ng.so.0()(64bit) is needed by cifs-utils-5.4-1.fc17.x86_64

              libtalloc.so.2()(64bit) is needed by cifs-utils-5.4-1.fc17.x86_64

              libtalloc.so.2(TALLOC_2.0.2)(64bit) is needed by cifs-utils-5.4-1.fc17.x86_64

              libwbclient.so.0()(64bit) is needed by cifs-utils-5.4-1.fc17.x86_64

              rpmlib(FileDigests) <= 4.6.0-1 is needed by cifs-utils-5.4-1.fc17.x86_64

              rpmlib(PayloadIsXz) <= 5.2-1 is needed by cifs-utils-5.4-1.fc17.x86_64

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points