Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: mount no longer does what it did

  1. #1
    Join Date
    Apr 2008
    Beans
    101
    Distro
    Ubuntu 10.10 Maverick Meerkat

    mount no longer does what it did

    hey,

    after a fresh 9.04 install, my mount command doesn't do what it used to on 8.10.

    i have a NAS and i used to type:

    sudo mount -t nfs 192.168.2.243:/mnt/vader /media/vader

    which would mount a folder on the NAS to a local folder.

    now, when I type that I get:

    mount: wrong fs type, bad option, bad superblock on 192.168.2.243:/mnt/vader,
    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


    any thoughts?

  2. #2
    Join Date
    Aug 2005
    Location
    Los Angeles area
    Beans
    602
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: mount no longer does what it did

    I can't help, but just wanted to say that I'm having similar issues. As for you, it worked fine in 8.10 and broke after installing 9.04.

  3. #3
    Join Date
    Jan 2009
    Location
    UK
    Beans
    2
    Distro
    Ubuntu

    Re: mount no longer does what it did

    Have you tried smbfs? (obviously only works if the NAS is shared with samba... and you'll need the package).

    To mount the shares on my server I type:

    sudo smbmount //<ip>/path/ /path/to/mountpoint

    Hope this helps.

    Washdogg

  4. #4
    Join Date
    Apr 2008
    Beans
    101
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: mount no longer does what it did

    not a bad idea, but not really solving the problem more like skirting around it... shouldn't mount still work?

  5. #5
    Join Date
    Apr 2008
    Beans
    101
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: mount no longer does what it did

    can anyone help with this? i'm still perplexed as to why mount would suddenly stop working after an upgrade. i currently can't mount to any of my drives on the NAS.

  6. #6
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: mount no longer does what it did

    According to the error, it just looks like you might not have the proper tools installed for mounting nfs (they may have gotten removed in your upgrade).

    Try this:
    Code:
    sudo apt-get install portmap nfs-common
    If that doesn't do anything, please post the the output of the following command:
    Code:
    sudo iptables -L

  7. #7
    Join Date
    Apr 2008
    Beans
    101
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: mount no longer does what it did

    omg, thank you! installing those extra packages worked a treat.

    i wish i could have read that error and known what packages were missing too!

    thanks, that's great.

  8. #8
    Join Date
    Oct 2006
    Beans
    26

    Re: mount no longer does what it did

    I'm still stuck back at stage 1. I have been using NFS mounts for
    years with no problems, so I know how to configure and use NFS.
    Last spring I updated Ubuntu, and NFS has not worked since.
    My scripts to mount partitions from other Linux machines stopped
    working. Other systems, still running Debian Linux, and not updated,
    still have nfs working correctly.

    The updated machines all give the same error message:

    root@carmen:~# mount rebecca:/opt /opt-rebecca
    mount: wrong fs type, bad option, bad superblock on rebecca:/opt,
    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

    dmesg doesn't have anything informative to say.

    the suggested apt-get install command above just says that all of
    those packages are already the latest versions -- that is,
    portmap and nfs-common are already the latest versions. Everything
    is up to date.

    So what changed last spring?

    By the way, I'm having this problem with both 32-bit and 64-bit
    versions of Debian/Ubuntu.

    TIA.
    Last edited by orangep; October 4th, 2009 at 05:04 PM. Reason: adding a note about dmesg

  9. #9
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: mount no longer does what it did

    Quote Originally Posted by orangep View Post
    mount: wrong fs type, bad option, bad superblock on rebecca:/opt,
    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 probably means that you don't have all the necessary packages installed. That or you've written the fstab line incorrectly. Make sure you've installed all the packages according to the 4th link in my sig, or just see my post above.

    If you still get the error message, please post your current /etc/fstab line.

  10. #10
    Join Date
    Oct 2006
    Beans
    26

    Re: mount no longer does what it did

    Bingo! Even though I was sure that all was installed, it wasn't.
    It turns out that the new CD distribution does not install everything
    that you need for nfs, not any more. Linux used to...

    So the new laptop NFS wasn't working because portmap and other things
    were missing.

    But what is really strange is that the main monster, a 64-bit dual-core
    Athlon, is also fixed. Both NFS and Samba have started working again.
    All that I can guess is that an upgrade sometime between Spring and now
    fixed it, and I had not retested the NFS or Samba.

    Well anyway, thanks.

Page 1 of 2 12 LastLast

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
  •