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

could not mount images folder /bin/fog.upload

Scheduled Pinned Locked Moved Unsolved
FOG Problems
2
2
325
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.
  • G
    geardog
    last edited by geardog Jan 4, 2024, 4:45 PM Jan 4, 2024, 8:59 PM

    Installed ubu 22
    fstab mount big drives at /images
    installed fog without dhcp
    restored a fog config
    installed dnsmasq with the suggested config
    see my hosts and images in UI dashboard
    start client capture task
    mounting file system failed
    could not mount images folder /bin/fog.upload
    args passed reason mount mounting <fog_IP>/images/dev on /images failed permission denied

    checked and reset permissions via chown fogproject:root and chmod 777
    .mntcheck is there
    I reinstalled fog just to overwrite any old restored config settings that might be lingering and I get the
    update /opt/fog.fogsettings message
    Well it didn’t note that I also needed to update the fogproject pw, but I had different values in the .fogsettings vs the dashboard so made them match …
    reinstall fog, and it’s clean, but the snmysqluser=‘fogstorage’ in .fogsettings I was told to use in install messages has reverted to fog master, and now I cant see my node usage? Default member is unauthorized…

    still can’t mount the folder …

    uhg does any of this make sense to anyone?

    ::edit:: ehhh just wiped the fog stuff and reinstalled
    node is back to showing, but all host and image data is gone
    merging two config backups and will restore one with just the good stuff from both

    so it’s capturing an image
    not sure why I couldn’t sort out credentials after restoring a config

    G 1 Reply Last reply Jan 4, 2024, 11:20 PM Reply Quote 0
    • G
      george1421 Moderator @geardog
      last edited by Jan 4, 2024, 11:20 PM

      @geardog I think I understand what you did. Let me say this with my words. You built a FOG server but did not have the space on the small VM, so you connected via NFS to an external NAS. You mapped the /images over to the remote NFS server wanting to borrow space from that external NAS.

      If that is the case, then you can’t do that with NFS. Basically you are trying to reshare a network connected drive. This is akin to taking server A and mounting a directory from server B as the W drive, then trying to share the mapped W: drive to a third computer.

      The only way to make the above scenerio to work is via mouting the remote disk as an iscsi LUN on the fog server. map that external iscsi lun over the /images directory. Then install FOG. That will work because the iscsi lun is a block device, and nfs is a file level device.

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

      160

      Online

      12.1k

      Users

      17.3k

      Topics

      155.3k

      Posts
      Copyright © 2012-2024 FOG Project