FOG on LXC
-
@Sebastian-Roth
Re: FOG on LXC
nesting
Look at here, there is a link at proxmox forum topis 10 -
@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?
-
@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?
This happened to me before I installed centos 7 from the template and NFS according to the instructions.
Now that I have installed FOG, I will destroy the LXC without any problems. However, I have a plain FOG installed without any settings. -
@gusto So is there anything we can do for you?
-
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
-
-
@george1421
very thankyou -
@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 problemsyum 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 outputTASK 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 *
-
@gusto Can you explain why you keep on wanting to destroy the the container??
-
@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 becauseTASK ERROR: lvremove 'pve/vm-111-disk-0' error: Logical volume pve/vm-111-disk-0 contains a filesystem in use.
-
@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!
-
@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
-
@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.
-
@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
-
@gusto This is run on your Proxmox server console???
-
@Sebastian-Roth
Yes on proxmox