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

Moved /Images and now server boots in emergency mode

Scheduled Pinned Locked Moved Unsolved
Linux Problems
2
9
1.1k
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.
  • D
    dyacishyn
    last edited by Mar 24, 2023, 5:01 AM

    Moved /Images to /sdb2/images and now server boots in emergency mode.

    It says it is unable to locate sdb1 fs? and then later mentions unable to mount /images/

    I folllowed https://forums.fogproject.org/topic/11449/fog-images-folder-move/2?_=1679627342777

    HELP!!!

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Mar 23, 2023, 11:26 PM Mar 24, 2023, 5:26 AM

      @dyacishyn We need more information. Please run the following commands and post output here:

      lsblk
      fdisk -l /dev/sdb
      cat /etc/fstab
      cat /etc/exports
      mount
      file -s /dev/sdb*
      

      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

      D 2 Replies Last reply Apr 5, 2023, 7:53 PM Reply Quote 0
      • D
        dyacishyn @Sebastian Roth
        last edited by Apr 5, 2023, 7:53 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • D
          dyacishyn @Sebastian Roth
          last edited by Apr 5, 2023, 7:55 PM

          @Sebastian-Roth
          Hi, I am trying to find a way to upload the pics of the output I keep getting an error.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Apr 6, 2023, 4:52 AM

            @dyacishyn For some reason this is Sometimes broken. I shall see if I can fix this. Meanwhile I may ask you to upload the picture to an external picture upload store and post a link here.

            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

            D 1 Reply Last reply Apr 12, 2023, 4:22 PM Reply Quote 0
            • D
              dyacishyn @Sebastian Roth
              last edited by Apr 12, 2023, 4:22 PM

              @Sebastian-Roth https://drive.google.com/drive/folders/1M5Fkrc8VCbP7oLaS6T3Of0KUAUNsUfpM?usp=sharing

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth Apr 13, 2023, 1:38 PM Apr 13, 2023, 7:19 PM

                @dyacishyn Thanks for uploading the pictures elsewhere.

                Looks like the new disk / partition is kind of prepared but we still don’t know if this is formated. Please run the following commands. Copy&paste the output here or take pictures again:

                file -s /dev/sdb1
                mount /dev/sdb1 /images
                ls -al /images
                

                PS: Uploading pictures is working again. The issue was client_max_body_size in nginx config was too small (default was 1 MB - made it 5 MB now). So you should be able to upload larger size pictures now. Anyhow it’s still wise to downsize pictures before uploading.

                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

                D 1 Reply Last reply Apr 13, 2023, 9:40 PM Reply Quote 0
                • D
                  dyacishyn @Sebastian Roth
                  last edited by Apr 13, 2023, 9:40 PM

                  @Sebastian-Roth 20230413_153745.jpg

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Sebastian Roth Apr 17, 2023, 11:40 PM Apr 18, 2023, 5:31 AM

                    @dyacishyn Looks like I was wrong. The partition on the new disk does not have a filesystem on it as we see by the output of the file command. Do you remember if you missed the mkfs.ext4 /dev/sdb1 command?? I suggest you issue that command (again).

                    I won’t be liable for any loss of data. Formating a disk with a new filesystem will overwite whatever is on there now.

                    mv /images/.mntcheck /root
                    mkfs.ext4 /dev/sdb1
                    mount /dev/sdb1 /images
                    mv /root/.mntcheck /images
                    

                    If this is all fine (no errors) you might just do another server reboot to make sure it’s all fine.

                    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
                    • 1 / 1
                    • First post
                      Last post

                    176

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project