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

    FOG_1.3.4 - Image location issue

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    4
    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
      dloudon96
      last edited by

      Hello,

      Please can someone give me some assistance, I’ve moved my FOG server to another machine, as the storage ran out, so I’ve installed a 2TB drive and re-installed FOG, copied everything across, and mirrored the old ‘server’.

      I’ve downloaded an image, sorted the image out, and sysprepped it, and then re-uploaded it… I don’t have a clue where it’s uploaded to, as when I go to ‘Computer’, then the ‘images’ folder, nothing is there apart from two folders called ‘dev’ and ‘Postdownloadscripts’.

      It keeps downloading the old image for some reason back onto the machine, when I’m clicking on deploy.

      Can anyone help me, please.

      Even if I create a new image with a completely different name, it’s not showing up under the ‘images’ folder, surely it’s supposed to, as this is what happened on the old one.

      Thanks,

      Dan

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

        What’s the output of this commands:

        ls -lahRt /images
        df -h
        lsblk
        

        Put the output into a nice code-box, the tool in the editor area looks like this: </>

        Also you would probably be interested in this:
        https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG

        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
        • D
          dloudon96
          last edited by

          </>fog-admin@fog-server:~$ ls -lahRt /images
          /images:
          total 16K
          drwxrwxrwx 4 root root 4.0K Mar 22 14:14 .
          drwxrwxrwx 4 root root 4.0K Mar 22 12:23 dev
          drwxrwxrwx 2 root root 4.0K Mar 21 12:15 postdownloadscripts
          drwxr-xr-x 26 root root 4.0K Mar 20 15:21 …
          -rwxrwxrwx 1 root root 0 Mar 20 15:12 .mntcheck

          /images/dev:
          total 16K
          drwxrwxrwx 4 root root 4.0K Mar 22 14:14 …
          drwxrwxrwx 2 root root 4.0K Mar 22 13:16 00232497514f
          drwxrwxrwx 4 root root 4.0K Mar 22 12:23 .
          drwxrwxrwx 2 root root 4.0K Mar 21 11:06 postinitscripts
          -rw------- 1 fog-admin fog-admin 0 Jan 31 09:01 .mntcheck

          /images/dev/00232497514f:
          total 27G
          drwxrwxrwx 2 root root 4.0K Mar 22 13:16 .
          -rwxrwxrwx 1 root root 27G Mar 22 13:16 d1p2.img
          -rwxrwxrwx 1 root root 8.3M Mar 22 12:23 d1p1.img
          -rwxrwxrwx 1 root root 190 Mar 22 12:23 d1.partitions
          -rwxrwxrwx 1 root root 1.0M Mar 22 12:23 d1.mbr
          drwxrwxrwx 4 root root 4.0K Mar 22 12:23 …

          /images/dev/postinitscripts:
          total 12K
          drwxrwxrwx 4 root root 4.0K Mar 22 12:23 …
          drwxrwxrwx 2 root root 4.0K Mar 21 11:06 .
          -rw------- 1 fog-admin fog-admin 249 Feb 1 09:11 fog.postinit

          /images/postdownloadscripts:
          total 12K
          drwxrwxrwx 4 root root 4.0K Mar 22 14:14 …
          drwxrwxrwx 2 root root 4.0K Mar 21 12:15 .
          -rw------- 1 fog-admin fog-admin 233 Jan 31 09:01 fog.postdownload
          fog-admin@fog-server:~$ df -h
          Filesystem Size Used Avail Use% Mounted on
          udev 3.9G 4.0K 3.9G 1% /dev
          tmpfs 786M 1.3M 785M 1% /run
          /dev/sda2 1.8T 372G 1.4T 22% /
          none 4.0K 0 4.0K 0% /sys/fs/cgroup
          none 5.0M 0 5.0M 0% /run/lock
          none 3.9G 52M 3.8G 2% /run/shm
          none 100M 88K 100M 1% /run/user
          /dev/sda1 511M 3.4M 508M 1% /boot/efi
          fog-admin@fog-server:~$ lsblk
          NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
          sda 8:0 0 1.8T 0 disk
          ├─sda1 8:1 0 512M 0 part /boot/efi
          ├─sda2 8:2 0 1.8T 0 part /
          └─sda3 8:3 0 7.9G 0 part [SWAP]
          sr0 11:0 1 1024M 0 rom
          fog-admin@fog-server:~$

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @dloudon96
            last edited by

            @dloudon96 said in FOG_1.3.4 - Image location issue:

            /images/dev/00232497514f:

            If you see files in /images/dev after the upload is completed [ /images/dev/00232497514f: ] then you have an FTP issue. I outlined the steps to fix this just yesterday in another post. https://forums.fogproject.org/topic/9755/storage-management-not-showing-my-images/12

            There is also a wiki page for helping sort out FTP error messages: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

            My bet during upload you were getting either an ftp authentication error (as in the picture in the link I referenced first) or a database update error. Both are related to the linux fog user account being out of sync with the FOG management gui.

            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!

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

            199

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project