image size on server is 0
-
after deploying an image and upload it to the fog server and every thing was OK with no errors
i was checking the size on server form the fog interface and found it 0, while the size on client is 45gb
the image store folder is the same for old images, and old images are fine and i can read their size on server with no problem
i didn’t change anything in the ftp setting or the disk permissions
and the image is available on the image folder with the full size and i can see it there
please help -
Even if you didn’t change FTP settings, doesn’t mean they are correct. Please go through our FTP troubleshooting guide here and do the testing at the top. https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP
-
ok
i will do it now
thanks -
i did it from windows and this is the result
![alt text]( image url) -
@saif Check if the correct interface is set in storage management. I think if it’s wrong it can mess with FTP related things.
-
This post is deleted! -
this is the setting of storage management at fog server
-
@Wayne-Workman the eth0 is the interface i use for ftp its correct
-
@saif Ok. What OS are you running FOG on?
-
@Wayne-Workman centos 6.7
-
@saif Check SELinux with
getenforce
check firewall withsystemctl status firewalld
check the status of FTP withsystemctl status vsftpd
-
@Wayne-Workman
getenforce disabled
vsftpd (pid 4591) is running…
iptables: Firewall is not runningi have done some images before and i didnt see this error
-
@saif What would be REALLY nice is if we know what version of FOG you’re running?
-
@Tom-Elliott its 1.2.0
thanks -
This is a known problem. Just going to guess, the OS the FOG server is running is Ubuntu of some form (maybe Debian even)?
-
@Tom-Elliott its centOS 6.7
-
@saif Can we confirm that the image size isn’t actually really 0?
ls -lahRt /images
-
@Wayne-Workman said in image size on server is 0:
ls -lahRt /images
yep
/images/Nick:
total 23G
drwxrwxrwx 8 fog 502 4.0K May 10 11:23 …
-rwxrwxrwx 1 root root 23G May 10 11:23 sys.img.000
drwxrwxrwx 2 root root 4.0K May 10 10:32 .
-rwxrwxrwx 1 root root 8.2M May 10 10:32 rec.img.000
-rwxrwxrwx 1 root root 15 May 10 10:29 d1.original.fstypes
-rwxrwxrwx 1 root root 0 May 10 10:29 d1.original.swapuuids
-rwxrwxrwx 1 root root 260 May 10 10:29 d1.original.partitions
-rwxrwxrwx 1 root root 2 May 10 10:29 d1.fixed_size_partitions -
i am sure all permissions are correct
please any advice -
@saif I sent you a message. (talk bubble, top right).