Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
.... when I try mounting, I get an error message along the lines of "wrong fs type or badblocks" etc - is Ubuntu's client software not compatible with CentOS? What ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Mar 2013
    Posts
    492

    Ubuntu client not connecting to CentOS 6.3 server with NFS


    .... when I try mounting, I get an error message along the lines of "wrong fs type or badblocks" etc - is Ubuntu's client software not compatible with CentOS? What do I do?


    Thanks.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,755
    How are you trying to mount the exported directory of the server on the Ubuntu client? Please show the mount command as you tried to use it, along with the error output.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux User
    Join Date
    Mar 2013
    Posts
    492
    Sorry for the super late reply. This is what I get:
    mount: wrong fs type, bad option, bad superblock on 192.168.1.4:/share,
    missing codepage or helper program, or other error
    (for several filesystems (e.g. nfs, cifs) you might
    need a /sbin/mount.<type> helper program)
    In some cases useful info is found in syslog - try
    dmesg | tail or so

    This is my /etc/exports:
    /share 192.168.1.3(rw,sync)


    and showmount -e gives this error message:
    clnt_create: RPC: Unknown host



    thanks for your help, I'm at my wits end.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User
    Join Date
    Mar 2013
    Posts
    492
    oh by the way, i turned off my firewall with:
    service iptables stop

  6. #5
    Linux User
    Join Date
    Mar 2013
    Posts
    492
    UPDATE: I just tried with a Sabayon Live disc, and IT WORKS!!!!!

    Fscking Ubuntu!

    I even tried with a live DVD of ubuntu studio the latest, and it STILL messed up. Btw, I was trying to install showmount on Ubuntu and noticed that it required "portmap" - could that be it?
    can't believe it doesn't ship with the system!

  7. #6
    Linux Guru
    Join Date
    Dec 2013
    Location
    Victoria, B.C. Canada
    Posts
    1,660
    Portmap is used for RPC - there would be no reason to install it if you don't intend to use it. I think there was a time when NFS was installed automatically but since there are security concerns around RPC some distros may no longer be automatically adding it. Many people won't use it anyway.

    If you haven't already been through it here's the Ubuntu NFS setup doc: https://help.ubuntu.com/community/SettingUpNFSHowTo

  8. #7
    Linux User
    Join Date
    Mar 2013
    Posts
    492
    Can you explain a little of what exactly portmap is, and how it interacts with RPC or whatever?

  9. #8
    Linux User
    Join Date
    Mar 2013
    Posts
    492
    ...also, what exactly are LDAP and NIS?

    I will Google, but before that I would just like to know what they are....

  10. #9
    Linux Guru
    Join Date
    Dec 2013
    Location
    Victoria, B.C. Canada
    Posts
    1,660
    RPC stands for Remote Procedure Call - there are many different versions and uses of it out there. Portmapper runs on a known port and then maps requests to other protocols to ports to be used by the remote procedures. NFS is one of the RPC services that is mapped by portmapper.

  11. #10
    Linux Guru
    Join Date
    Dec 2013
    Location
    Victoria, B.C. Canada
    Posts
    1,660
    Quote Originally Posted by resetreset View Post
    ...also, what exactly are LDAP and NIS?

    I will Google, but before that I would just like to know what they are....
    LDAP is a front end to a database service. It provides key values in the form of directory structure. NIS is often implemented that way - it provides a configuration service.

Page 1 of 2 1 2 LastLast

Posting Permissions

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