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

    FOG on LXC

    Scheduled Pinned Locked Moved
    General Problems
    3
    18
    2.3k
    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
      gusto @Sebastian Roth
      last edited by

      @Sebastian-Roth

      Now everything is all right. I am currently looking for a tutorial on how to set up FOG so I can install various OS over PXE

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

        @gusto https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images

        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!

        G 1 Reply Last reply Reply Quote 0
        • G
          gusto @george1421
          last edited by

          @george1421
          very thankyou

          1 Reply Last reply Reply Quote 0
          • G
            gusto @Sebastian Roth
            last edited by

            @Sebastian-Roth said in FOG on LXC:

            @gusto Thanks for clarifying! As I see this post is from Nov 1, 2018 - some time after I have used LXC myself. I don’t have a Proxmox server at hand so I can’t try myself, sorry.

            • Do you get any error messages?
            • What output do you get when running showmount -e in the FOG LXC container?
            • Have you tried mounting the NFS share from another machine?

            Hi
            So again, I have a problem destroying the LXC
            I installed FOG without any problems

            yum install git -y
            cd ~
            mkdir git
            cd git
            git clone https://github.com/FOGProject/fogproject.git
            cd ~/git/fogproject/bin
            ./installfog.sh
            

            I admit that I can destroy the LXC now.
            However, now I want to install linux mint over pxe and do this as instructed.
            Then I can’t destroy the LXC and get the output

            TASK ERROR: lvremove 'pve/vm-111-disk-0' error:   Logical volume pve/vm-111-disk-0 contains a filesystem in use.
            

            showmount in the LXC show

            Export list for fog-server:
            /images/dev *
            /images     *
            
            
            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @gusto Can you explain why you keep on wanting to destroy the the container??

              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

              G 1 Reply Last reply Reply Quote 0
              • G
                gusto @Sebastian Roth
                last edited by

                @Sebastian-Roth
                I’m just doing a test. If something doesn’t work, I want to destroy the LXC, but I can’t destroy it because

                TASK ERROR: lvremove 'pve/vm-111-disk-0' error:   Logical volume pve/vm-111-disk-0 contains a filesystem in use.
                
                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth

                  @gusto When you see this error message can you run lsof | grep vm-111-disk and post the output here?

                  https://itsol.biz/lvm-problem-logical-volume-contains-filesystem-use/

                  This is not at all a FOG specific question and while we try to help I have to say that there are forums out there knowing a lot more about LXC then we FOG people do. Chance is high you get a better answer in a different forum on this specific question!

                  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

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    gusto @Sebastian Roth
                    last edited by

                    @Sebastian-Roth
                    This command gives nothing to output

                    [root@fog-server ~]# lsof | grep vm-111-disk
                    [root@fog-server ~]# 
                    
                    

                    Of course I put this question on the proxmof forum, but I didn’t get the answer (see my first post).

                    very thx

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

                      @gusto Don’t run the command within the fog-server but on your proxmox host after you have tried to destroy it. Make sure you use the right VM ID. It might not be 111 anymore if you keep destroying and re-creating it.

                      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

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        gusto @Sebastian Roth
                        last edited by

                        @Sebastian-Roth
                        In this case I get so many rows

                        ....
                        lsof: no pwd entry for UID 48
                        lsof: no pwd entry for UID 48
                        lsof: no pwd entry for UID 48
                        lsof: no pwd entry for UID 48
                        lsof: no pwd entry for UID 48
                        lsof: no pwd entry for UID 48
                        lsof: no pwd entry for UID 48
                        lsof: no pwd entry for UID 48
                        lsof: no pwd entry for UID 48
                        lsof: no pwd entry for UID 48
                        lsof: no pwd entry for UID 48
                        lsof: no pwd entry for UID 48
                        ....
                        

                        with UID 27,48, 89 …

                        very thx

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

                          @gusto This is run on your Proxmox server console???

                          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

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            gusto @Sebastian Roth
                            last edited by

                            @Sebastian-Roth
                            Yes on proxmox

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

                            155

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project