SOLVED Unable to locate image store.


  • @Wayne-Workman So I went to re-image, without changing anything, and it’s working. The first time it got to the image screen, blue screen with red status bars, and it went really quick. This time it’s actually going through the process. I’ve got 7 1/2 min left.Fingers crossed.


  • @ManofValor Ok so you didn’t run out of space… can you try to re-upload and really pay attention to what’s outputted to the screen, and note exactly where the failure occurs? A video of the entire process would be of immense help.


  • @Tom-Elliott Sorry for that. Hate being human sometimes…ok a lot of times…lol.


  • @Wayne-Workman

    [root@localhost bin]# df -h
    Filesystem                      Size  Used Avail Use% Mounted on
    /dev/mapper/centos00-root00      20G  5.1G   14G  27% /
    devtmpfs                        1.9G     0  1.9G   0% /dev
    tmpfs                           1.9G  152K  1.9G   1% /dev/shm
    tmpfs                           1.9G   88M  1.8G   5% /run
    tmpfs                           1.9G     0  1.9G   0% /sys/fs/cgroup
    /dev/sda5                       969M  187M  716M  21% /boot
    /dev/mapper/fog-opt_fog_images  395G  327M  374G   1% /opt
    tmpfs                           379M   24K  379M   1% /run/user/1000
    
  • Senior Developer

    @ManofValor I have no hard feelings though It did initially hurt.

    Apparently my wife’s endless cycling of Harry Potter is hitting home here: “Help will always be given to those who ask for it.”


  • @Wayne-Workman @Tom-Elliott @george1421 @Jbob @Sebastian-Roth Man, I apologize, your absolutely right. I did not mean it to get attention or try to get you guys to work harder. You guys have been more than awesome. I meant it as, “Crap these guys have spent so much time on this with me that I don’t want to move on and have their time have been for nothing”. But I see what you mean about saying that “In your house”, I was going to continue this anyway on my own time but he told me to keep going on it if I think I’m making progress. I am really really grateful to you guys for your time and effort. Please accept my apology.


  • @ManofValor said:

    BTW, my boss told me to start looking into other imaging options. I would hate for all this work to go to waste but he’s getting antsy for an imaging solution.

    Don’t let us hold you back. And if you think that’s going to get you more attention, I do apologize but it won’t - it will push people away if anything. I feel both developers and moderators have given generous time and thought to you because your new, but it’s not nice to say your leaving while your still here (in our house, so-to-speak).

    Your image didn’t upload completely, we need to figure out why, and then try again.

    Please run this and give the output:
    df -h

    After that, re-upload this image. We need to know everything and anything that happens out of the ordinary while the upload is going. If you need to, take a video while it gets going so you catch everything.

    After upload, please issue this command and give us the output, and then we will go from there.

    cd /images/MCWP82;ls -lahRt;cat d1.fixed_size_partitions;cat d1.partitions;cat d1.original.swapuuids;cat d1.original.fstypes;cat d1.minimum.partitions


  • @george1421 It did give the same answer. So now what. BTW, my boss told me to start looking into other imaging options. I would hate for all this work to go to waste but he’s getting antsy for an imaging solution.

  • Moderator

    Since we moved things around you probably should issue this command cat /images/MCWP82/d1.partitions Just so the screen shots are consistent. It better give you the same exact answer.

    But looking at the files, and screen shots. It appears your reference computer’s disk image didn’t make it to the fog server completely (mostly didn’t make it).


  • @Sebastian-Roth

    [root@localhost bin]# cat /opt/fog/images/MCWP82/d1.partitions
    label: dos
    label-id: 0x0007ef66
    device: /dev/sda
    unit: sectors
    
    /dev/sda1 : start=        2048, size=  1953523120, type=7
    [root@localhost bin]# cat /etc/exports
    /images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
    /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
    

    0_1457021621846_10.10.1.40_2016-03-03_10-01-48.png

  • Senior Developer

    @ManofValor Something seams wrong with that image! Does it only have one partition (d1p1.img) - sure possible. But the image being only 337 KB in size is very unlikely I’d say. Did you see something going wrong when uploading the image?

    Please post the output of the following command: cat /opt/fog/images/MCWP82/d1.partitions

    As well please check if your images directory is configured properly throughout FOG:

    • FOG web interface, Storage Management
    • NFS shares (cat /etc/exports)

  • @Tom-Elliott

    [root@localhost MCWP82]#  ls -lhRart /opt/fog/images
    /opt/fog/images:
    total 20K
    -rwxrwxrwx. 1 root root    0 Feb 24 15:59 .mntcheck
    drwxrwxrwx. 2 root root 4.0K Feb 24 15:59 postdownloadscripts
    drwxr-xr-x. 6 root root 4.0K Mar  1 11:42 ..
    drwxrwxrwx  2 root root 4.0K Mar  1 14:48 MCWP82
    drwxrwxrwx. 2 root root 4.0K Mar  1 14:48 dev
    drwxrwxrwx. 5 root root 4.0K Mar  1 14:48 .
    
    /opt/fog/images/postdownloadscripts:
    total 12K
    -rwxrwxrwx. 1 root root  233 Feb 24 15:59 fog.postdownload
    drwxrwxrwx. 2 root root 4.0K Feb 24 15:59 .
    drwxrwxrwx. 5 root root 4.0K Mar  1 14:48 ..
    
    /opt/fog/images/MCWP82:
    total 1.4M
    -rwxrwxrwx  1 root root    1 Mar  1 14:48 d1.fixed_size_partitions
    -rwxrwxrwx  1 root root  122 Mar  1 14:48 d1.partitions
    -rwxrwxrwx  1 root root    0 Mar  1 14:48 d1.original.swapuuids
    -rwxrwxrwx  1 root root   15 Mar  1 14:48 d1.original.fstypes
    -rwxrwxrwx  1 root root 1.0M Mar  1 14:48 d1.mbr
    -rwxrwxrwx  1 root root  122 Mar  1 14:48 d1.minimum.partitions
    -rwxrwxrwx  1 root root 337K Mar  1 14:48 d1p1.img
    drwxrwxrwx  2 root root 4.0K Mar  1 14:48 .
    drwxrwxrwx. 5 root root 4.0K Mar  1 14:48 ..
    
    /opt/fog/images/dev:
    total 8.0K
    -rwxrwxrwx. 1 root root    0 Feb 24 15:59 .mntcheck
    drwxrwxrwx. 5 root root 4.0K Mar  1 14:48 ..
    drwxrwxrwx. 2 root root 4.0K Mar  1 14:48 .
    
  • Senior Developer

    @ManofValor Is it a file or is it a directory?

    What’s the output of:
    ls -lhRart /opt/fog/images


  • @george1421 Yes, it is there.

  • Moderator

    Interesting. It looks like you are deploying the image. Can you confirm that in /image/mcwp82 you have files in there (with the understanding that /images is being mapped to /opt/fog/images now).


  • ok, I went back to fog management and deleted everything for this client and started over. i got through to the blue screen with red progress bars and it went really quick. It rebooted and then I got:

    “Boot device not found”

    Please install an operating system on your hard disk

    Hard disk (3F0)

    F2 system diagnostics

    I have been getting this since the beginning. Ive had to reinstall win 7 3-4 times

  • Moderator

    I took him to completion of the moving the images file and as far as I can tell the system is setup correctly, but he is still getting the error in the original post.


  • I just hit this exact error with an image of Ubuntu that I captured yesterday.

    The images name is Optiplex_7010_Ubuntu

    Looking through the permissions of the images, I see this:

    [root@localhost images]# ls -la
    total 136
    drwxrwxrwx. 31 fog  root  4096 Feb 29 14:50 .
    dr-xr-xr-x. 22 root root  4096 Mar  1 14:22 ..
    drwxrwxrwx.  2 fog  root  4096 Feb  9 10:06 AcerE11base
    drwxrwxrwx.  2 fog  root  4096 Feb  9 10:11 Acer_E11_Official_FRC_2016_Base
    drwxrwxrwx.  2 root root  4096 Feb 19 09:25 Chromeion
    drwxrwxrwx.  2 fog  root  4096 Feb  9 10:24 DellE6440
    drwxrwxrwx.  2 fog  root  4096 Feb  9 10:39 DELLLATITUDE3340
    drwxrwxrwx.  2 fog  root  4096 Mar  1 14:25 dev
    drwxrwxrwx.  2 fog  root  4096 Feb  9 10:47 EliteBook8730w
    drwxrwxrwx.  2 fog  root  4096 Feb  9 10:56 EliteBook8730wJuly2015
    drwxrwxrwx.  2 fog  root  4096 Feb  9 11:08 EliteBook8730wPLTWAUG2015
    drwxrwxrwx.  2 root root  4096 Feb 11 15:35 EliteBook8730wWIN10_FEB2016
    drwxrwxrwx.  2 fog  root  4096 Feb  9 12:43 Lenovo6073ETMay2015
    drwxrwxrwx.  2 fog  root  4096 Feb  9 12:33 Lenovo7303June2015New
    drwxrwxrwx.  2 fog  root  4096 Feb  9 12:58 Lenovo9964Win7May2015
    drwxrwxrwx.  2 fog  root  4096 Feb  9 13:05 LenovoL412Dec2015
    drwxrwxrwx.  2 fog  root  4096 Feb  9 14:46 LenovoL420Win7Sep2015
    drwxrwxrwx.  2 fog  root  4096 Feb  9 15:50 LenovoL530Dec2015
    drwxrwxrwx.  2 fog  root  4096 Feb  9 16:01 LenovoL530Win7Sep2015
    drwxrwxrwx.  2 fog  root  4096 Feb  9 16:12 LenovoS10eUbuntu7302015
    drwxrwxrwx.  2 fog  root  4096 Feb  9 16:14 LenovoThinkCentreJune2015
    drwxrwxrwx.  2 fog  root  4096 Feb  9 16:30 LenovoThinkStationS206262015
    drwxrwxrwx.  2 fog  root 16384 Feb  9 08:25 lost+found
    -rwxrwxrwx.  1 fog  root     0 Feb 10 11:01 .mntcheck
    drwxrwxrwx.  2 fog  root  4096 Feb  9 16:44 Optiplex7010June2015New
    drwxrwxrwx.  2 fog  root  4096 Feb  9 16:57 Optiplex7010Server201264bit
    -rw-r--r--.  1 fog  fog      0 Feb 29 14:50 Optiplex_7010_Ubuntu
    drwxrwxrwx.  2 fog  root  4096 Feb  9 17:03 Optiplex90207212015
    drwxrwxrwx.  2 fog  root  4096 Feb  9 17:18 Optiplex_9020_Win10
    drwxrwxrwx.  2 fog  root  4096 Feb  9 17:22 postdownloadscripts
    drwxrwxrwx.  2 fog  root  4096 Feb  9 17:22 R023250XXXXWDMB
    drwxrwxrwx.  2 fog  root  4096 Feb  9 17:50 ToshibaTecraA9WINXPStressAnalyzer
    drwxrwxrwx.  2 root root  4096 Feb 17 13:24 WIN10_EliteBook8730w
    

    See? It’s not a directory, but instead is a file. And the permissions are messed up too.

    I’m not sure if it’s related but I did find a straggling image in the /images/dev folder with a MAC on it. I already deleted it earlier today but I’m wondering if that was the recent Ubuntu image I uploaded.

  • Moderator

    @Tom-Elliott Ah, ok. I stand (sit) corrected then. Either way, using a bind mount does what is needed without having to tweak the FOG setup one bit (since everything is done at the OS level). So it was worth the time to document.

  • Senior Developer

    @george1421 The init’s do not hardcode the reference to /images.

    /images, within the init, is a folder that the NFS mount’s TO. (Hopefully that makes sense.)

439
Online

8.6k
Users

15.3k
Topics

143.4k
Posts