@sebastian-roth Thanks Sebasian I appreciate the input and had a feeling you would say that. Was worth the ask though! Hats off to ya! Cheers
Posts made by Technolust
-
RE: Live Images
-
Live Images
Is it possible for Fogserver to pull an image live on Windows without having to reboot/boot to pxe? If so can someone link the instructions? Currently we are using a product called Aomei on a USB Stick and it pulls a Windows backup or clones the entire disk live.
-
RE: /bin/fog.upload doesn't exist
@sebastian-roth said in /bin/fog.upload doesn't exist:
mkdir /fogserver/images/dev
chmod 777 /fogserver/images/dev/
touch /fogserver/images/dev/.mntcheck
exportfs -r -vThanks for the help on this @Sebastian-Roth this was the fix. I also 777 .mntcheck but not sure if this is/was necessary.
-
RE: /bin/fog.upload doesn't exist
@george1421 Here is the showmount:
[root@fogserver ~]$ showmount -e 127.0.0.1 Export list for 127.0.0.1: /fogserver/images/dev * /fogserver/images * [root@fogserver ~]$ [root@fogserver ~]$ firewall-cmd --list-all FirewallD is not running [root@fogserver ~]$
Filesystem is local so NFS is not being used either. Is there any reason why fog.upload is missing or is there a way to create it? We may have to troubleshoot on the client side to see.
Host is on a different subnet but is able to see fogserver from PXE even shows the fogserver version. Fails when checking mounted file system.
Here is fstab:
[root@fogserver ~]$ cat /etc/fstab # # /etc/fstab # Created by anaconda on Fri Jan 18 14:32:07 2019 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=d3680351-a819-4c0c-89a1-b057c9d706a6 / ext4 defaults 1 1 UUID=80abf18a-7119-46a7-ac46-422183088f2e /boot ext4 defaults 1 2 UUID=7bac224f-c127-4d8e-8f51-e44aad453bc0 swap swap defaults 0 0 UUID=3a7d35ea-a600-4d0f-b40a-848b54a9bd3e /fogserver ext4 defaults 0 0 UUID=c4bbc7df-8517-4f33-b9a6-374cbd8374da /fog_archives ext4 defaults 0 0
Here are the mounts:
[root@fogserver ~]$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 100G 0 disk ├─sda1 8:1 0 4.1G 0 part /boot ├─sda2 8:2 0 8G 0 part [SWAP] └─sda3 8:3 0 86G 0 part / sdb 8:16 0 2T 0 disk └─sdb1 8:17 0 2T 0 part /fogserver sdc 8:32 0 4T 0 disk /fog_archives [root@fogserver ~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 85G 51G 30G 64% / /dev/sda1 4.0G 351M 3.4G 10% /boot /dev/sdb1 2.0T 1.1T 813G 58% /fogserver /dev/sdc 4.0T 460G 3.4T 12% /fog_archives [jkrinsky@fogserver ~]$
-
RE: /bin/fog.upload doesn't exist
@george1421 Hey George, this is a local file system on the fogserver itself. I don’t believe we changed the exports file but there are a few people who access the server so it is possible. The only caveat is this was working a few weeks ago and is now not working. Here is the contents of the exports file:
[root@fogserver etc]$ ls -lrt | grep exports drwxr-xr-x. 2 root root 4096 Oct 14 2021 exports.d -rw-r--r--. 1 root root 194 Nov 19 2021 exports [root@fogserver etc]$ sudo vim exports /fogserver/images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0) /fogserver/images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
Thoughts?
-
/bin/fog.upload doesn't exist
Getting error: Could not verify mount point, check if .mntcheck exists (/bin/fog.upload)
[root@fogserver ~]$ ls -alrt /fogserver/images/ total 116 drwxrwxrwx. 2 fogproject root 4096 Oct 19 2018 T470-Win10 drwxrwxrwx. 2 fogproject root 4096 Jan 22 2019 postdownloadscripts -rwxrwxrwx. 1 fogproject root 0 Jan 22 2019 .mntcheck drwxrwxrwx. 2 fogproject root 4096 Jan 22 2019 T480-Win10
Missing fog.upload
[root@fogserver ~]$ ls /bin/ | grep -i fog [root@fogserver ~]$
Here is the Storage Path:
Thoughts?
-
RE: Fogserver check if .mntcheck exists (/bin/fog.upload)
@sebastian-roth My apologies for the late response, took an extended weekend. Here is a picture of the Laptop when attempting to create the image. Let me know if you are not able to read this.
-
RE: Fogserver check if .mntcheck exists (/bin/fog.upload)
Thanks Sebastian,
Here is the /images/dev directory:
[fogserver bin]$ cd /images/dev/
[fogserver dev]$ ls -alrt
total 12
drwxrwxrwx. 4 fog root 4096 Jan 22 2019 …
-rwxrwxrwx. 1 fog root 0 Jan 22 2019 .mntcheck
drwxrwxrwx. 2 fog root 4096 Jan 22 2019 postinitscripts
drwxrwxrwx. 3 fog root 4096 Jan 22 2019 .
[jkrinsky@fogserver dev]$ -
RE: Fogserver check if .mntcheck exists (/bin/fog.upload)
Sorry forgot to add /bin/fog.upload doesn’t exist either.
-
Fogserver check if .mntcheck exists (/bin/fog.upload)
Running Fogserver on CentOS 7 (not a new install), when we try to capture an image from a host registered to the fogserver, this error rears it’s ugly head.
fogserver check if .mntcheck exists (/bin/fog.upload)
[fogserver /]$ ls -lrt / | grep -i images
drwxrwxrwx. 4 fog root 4096 Jan 22 2019 images[fogserver /]$ ls -alrt /images
total 16
-rwxrwxrwx. 1 fog root 0 Jan 22 2019 .mntcheck
drwxrwxrwx. 2 fog root 4096 Jan 22 2019 postdownloadscripts
drwxrwxrwx. 4 fog root 4096 Jan 22 2019 .
drwxrwxrwx. 3 fog root 4096 Jan 22 2019 dev
dr-xr-xr-x. 23 root root 4096 Nov 19 11:47 …[fogserver /]$ ls -alrt /bin
lrwxrwxrwx. 1 root root 7 Jan 18 2019 /bin -> usr/bin[fogserver /]$ ls -alrt /usr/bin
total 284184
-rwxr-xr-x. 1 root root 0 Mar 17 11:13 .mntcheckAny thoughts?
-
Move images to Archive
Team,
I added an additional storage array to our CentOS 7 Fogserver to free up storage capacity. However, when I migrate the images from /fogserver/images -> /fogserver_archives and open the GUI the images are still showing up in the images section. Also noticed the location of the image itself hasn’t changed to the new image file location.
I’m a assuming this is simply changed in MySQL but not sure why Fog can’t autodetect that I have moved the image out of /fogserver/images…
Thougths?
Thanks,
Technolust
-
RE: Update CentOS 7
@sebastian-roth Thank you for the response! I’m assuming I should keep EXT4. I haven’t updated this thing in a while. I was planning to take a snapshot first but wanted to have a little better clarity. I’m running 1.58 so I will also update to 1.5.9 as well.
-
Update CentOS 7
Team,
Is it safe to run yum update on a fogserver? I want to add a second disk to my VM on our Archive Storage and use exFat as the FS system. In order to do that I need to run yum update and install the update packages.
Thoughts?
-
RE: Live Image
@Junkhacker said in Live Image:
@Technolust no, this is not something fog is capable of or designed for.
Thank you @Junkhacker, I had a feeling this was the case and wanted to verify.
-
Live Image
Sorry if this is a redundant post but I searched and did not see it. Is it possible for Fog to create an image of a machine while the machine is still running? I have a few Windows machines that run 24/7 and if one fails I’d like to be able to put the image on a different disk and then pop the disk into the machine to limit it’s downtime.
Thougths?
Thanks,
Joe
-
RE: FOG Upload Imaging Process Extremely Slow
@george1421 Thank you for the response and this would explain alot of the reason for slow upload times.
Currnetly backing up a Lenovo T470 with standard SSD drive which is currently using about 350GB of storage on the 500GB SSD drive. It’s taking about 2 hours. That being said we are using pretty much the default setup for Fog Server. So the Image Compression Format Default is PartClone Gzip. -
FOG Upload Imaging Process Extremely Slow
Fog Server is uploading super slow like 3.0GB/Min (50MB/s) and it’s running on a 1GB link which should be 125 MB per second realistically should be closer to 110MB but its still less than half the write speed.
Here is the disk write speed capacity:
sudo dd if=/dev/zero of=/tmp/test1.img bs=1G oflag=dsync
41+0 records in
40+0 records out
44004438016 bytes (44 GB) copied, 132.321 s, 333 MB/sDisk write speed is capable of 333MB/s.
Below shows NIC with no errors
*IP’s & Mac address removed for securityens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 0.0.0.0 netmask 255.255.255.0 broadcast 0.0.0.0
inet6 fe80: prefixlen 64 scopeid 0x20<link>
ether 00:00:00:00:00:00 txqueuelen 1000 (Ethernet)
RX packets 669392866 bytes 718072190517 (668.7 GiB)
RX errors 0 dropped 3357 overruns 0 frame 0
TX packets 157057852 bytes 517660242027 (482.1 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0Thoughts on why I’m only seeing 50MB/s write speeds?
-
RE: New Fog Server - /images location
@Sebastian-Roth I’m not seeing image definition. If you mean under Image General after opening an image and changing one of the properties to any of the settings then that did not work either.
I was able to export the images and import them to the new server after I RSYNC’d the images.
I’m good now.
-
RE: New Fog Server - /images location
@george1421 I was able to figure it out. After RSYNC’ing the directories you have to export the images off the old server and then on the new server you have to import the images. Tested an image to a laptop and it worked.
Thank you for all the help. All good now.