FOG Project

    • Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Fatal Error: Failed to Mount File System

    FOG Problems
    3
    15
    3428
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Tony Chauncey last edited by

      I’ve been using fog for several months now. It’s worked fine. I have fog 1.2.0 on Ubuntu 14.04, which is a VirtualBox VM running on Windows Server 2008. Nothing has changed on the physical server or in my fog setup (including storage location), but I did allow some updates a few days ago on the fog (Ubuntu) server. Now, when I try to upload or download an image, I get the error in the image. All of my images are Windows 7 Pro or Enterprise. I’ve tried several things from this forum, but nothing has been successful.

      So far, I’ve tried:

      touch .mntcheck
      chmod -R 777
      reinstalled fog over the top

      Any help is appreciated in advance.

      [url=“/_imported_xf_attachments/1/1754_IMG_0864.JPG?:”]IMG_0864.JPG[/url]

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator last edited by

        Alright forget about the firewall things I wrote… Switches can be so mean! :mad:
        Thanks a lot for reporting back. It’s good to know, so maybe I can point to this earlier next time if someone is having a kind of similar issue!!

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator last edited by

          Looks pretty good! You were able to mount and list the NFS share. So why should other clients not be able to? Have you tried to run a FOG task again lately?
          The only thing I could think of are intermediate firewalls. Looking at your IP addresses I am pretty sure there is not much in between. So maybe it’s a firewall on your FOG server?! Run this command and post the output here:
          [CODE]sudo iptables -L -n -v[/CODE]

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • T
            Tony Chauncey last edited by

            Ok. Thank you for your help, Uncle Frank. I fixed this issue. It wasn’t a FOG issue at all. I had changed out a switch on my network a few days ago and it was the issue. I’m not sure why it’s an issue. I changed an old 24-port Cisco switch with a new 8-port Cisco switch. I never thought the switch would be an issue so I hadn’t thought to change it back until this morning. It’s not a VLAN issue (both switches are flat). Anyway, thank you again for your help.

            1 Reply Last reply Reply Quote 0
            • T
              Tony Chauncey last edited by

              It looks like I put unmount instead of umount in these results. It did unmount fine after I used the right command.

              It seems to be working, I think. Any other ideas?

              1 Reply Last reply Reply Quote 0
              • T
                Tony Chauncey last edited by

                Here is the result of the mount command (after I installed nfs-common on the client):

                administrator@NagiosUbuntu:~$ sudo mkdir -p /mnt/nfstest && sudo mount -v 10.233.8.4:/images /mnt/nfstest
                mount: no type was given - I’ll assume nfs because of the colon
                mount.nfs: timeout set for Mon Mar 9 12:27:06 2015
                mount.nfs: trying text-based options ‘vers=4,addr=10.233.8.4,clientaddr=10.233.8.5’
                administrator@NagiosUbuntu:~$ sudo ls -al /mnt/nfstest
                total 44
                drwxrwxrwx 11 1001 root 4096 Feb 12 15:21 .
                drwxr-xr-x 3 root root 4096 Mar 7 20:41 …
                drwxrwxrwx 2 1001 root 4096 Jul 25 2014 Administrators22July2014
                drwxrwxrwx 2 1001 root 4096 Feb 12 15:21 dev
                drwxrwxrwx 2 1001 root 4096 Aug 25 2014 HS88
                drwxrwxrwx 2 1001 root 4096 Jul 24 2014 HSComputerLabs
                drwxrwxrwx 2 root root 4096 Feb 12 14:39 HSLT4
                drwxrwxrwx 2 1001 root 4096 Sep 17 19:23 LongFellow01
                -rwxrwxrwx 1 1001 root 0 Mar 6 15:17 .mntcheck
                drwxrwxrwx 2 1001 root 4096 Jul 21 2014 MSLab14July2014
                drwxrwxrwx 2 root root 4096 Jan 15 16:45 postdownloadscripts
                drwxrwxrwx 2 1001 root 4096 Jul 25 2014 TeacherImage
                administrator@NagiosUbuntu:~$ sudo unmount /mnt/nfstest
                sudo: unmount: command not found

                1 Reply Last reply Reply Quote 0
                • T
                  Tony Chauncey last edited by

                  Ok. Here is the result of the the netstat command:

                  administrator@FOGServer:~$ sudo netstat -antup | grep 111
                  tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 451/rpcbind
                  tcp6 0 0 :::111 :::* LISTEN 451/rpcbind
                  tcp6 0 0 10.233.8.4:80 10.114.8.111:59260 FIN_WAIT2 -
                  tcp6 0 0 10.233.8.4:80 10.233.8.76:51117 FIN_WAIT2 -
                  udp 0 0 0.0.0.0:111 0.0.0.0:* 451/rpcbind
                  udp6 0 0 :::111 :::* 451/rpcbind

                  Looks right, I think?

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator last edited by

                    Please make sure you have ‘nfs-common’ (debian/ubuntu see the other posts for package names in centos) installed on [B]the client[/B] from which you want to check the NFS connection!

                    Portmap is called ‘rpcbind’ in Ubuntu/Debian. Use netstat to see if it is running on [B]the server[/B]:
                    [CODE]sudo netstat -antup | grep 111
                    tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1901/rpcbind
                    tcp6 0 0 :::111 :::* LISTEN 1901/rpcbind
                    udp 0 0 0.0.0.0:111 0.0.0.0:* 1901/rpcbind
                    udp6 0 0 :::111 :::* 1901/rpcbind[/CODE]

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tony Chauncey last edited by

                      In continuing to search the web for more information on this, I keep running into things about a service named portmap. My fog server doesn’t have that service. Should it? I’m sure you can tell, but I’m certainly not a Linux/Ubuntu expert.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tony Chauncey last edited by

                        mkdir command executed fine. However, the mount command had this output:

                        [INDENT=1]administrator@NagiosUbuntu:~$ sudo mount -v 10.233.8.4:/images /mnt/nfstest[/INDENT]
                        [INDENT=1]mount: no type was given - I’ll assume nfs because of the colon[/INDENT]
                        [INDENT=1]mount: wrong fs type, bad option, bad superblock on 10.233.8.4:/images,[/INDENT]
                        [INDENT=1] missing codepage or helper program, or other error[/INDENT]
                        [INDENT=1] (for several filesystems (e.g. nfs, cifs) you might[/INDENT]
                        [INDENT=1] need a /sbin/mount.<type> helper program)[/INDENT]
                        [INDENT=1] In some cases useful info is found in syslog - try[/INDENT]
                        [INDENT=1] dmesg | tail or so[/INDENT]
                        I checked the nfs-common package. It’s already installed. I installed the cifs-utils package. It installed fine. I restarted the server and got the same ouptut for this command.
                        Thanks, Frank, for your help. Any other ideas?

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator last edited by

                          Maybe try mounting the NFS share from a different computer to see if this works… Others had broken their NFS shares lately too, see here for example: [url]http://fogproject.org/forum/threads/problem-with-permission-denied-after-fog-server-restart.12503/#post-43257[/url]

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tony Chauncey last edited by

                            Thank you for your reply. I tried your suggestions about the nfs service to no avail. It was running and restarted fine, but no change. I also restarted the physical machine, but no luck there either. I can’t see anything setup wrong.

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tony Chauncey last edited by

                              Here is the foginstall.log

                              [url=“/_imported_xf_attachments/1/1756_foginstall.txt?:”]foginstall.txt[/url]

                              1 Reply Last reply Reply Quote 0
                              • T
                                Tony Chauncey last edited by

                                Here is the exports file.

                                [url=“/_imported_xf_attachments/1/1755_exports.txt?:”]exports.txt[/url]

                                1 Reply Last reply Reply Quote 0
                                • Wayne Workman
                                  Wayne Workman last edited by

                                  Make sure that the NFS server is running. Please post any errors it gives.

                                  [CODE]sudo service nfs-kernel-server status[/CODE]

                                  also try restarting with

                                  [FONT=Tahoma][CODE]sudo service nfs-kernel-server restart[/CODE][/FONT]

                                  Check that your [SIZE=13px][COLOR=#333333]/etc/exports is set correctly, maybe post what’s in there.[/COLOR][/SIZE]

                                  [SIZE=13px][COLOR=#333333]Can you post your FOG install log? It’s right here: [/COLOR][/SIZE][FONT=Tahoma][SIZE=12px]/var/log/foginstall.log[/SIZE][/FONT]

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post

                                  198
                                  Online

                                  10.2k
                                  Users

                                  16.3k
                                  Topics

                                  149.9k
                                  Posts

                                  Copyright © 2012-2020 FOG Project