captured images uploading to /images/dev/<mac addy>
-
Hello all,
When I capture an image, it’s not going into the the /images/<imageName> directory that I specified during image creation, but rather it’s going to path in this topic title. I’m running CentOS 6.7_x64, selinux disabled, iptables off. /images/ belongs to fog:root recursively, and the fog users (system, mysql, and webgui) all have the same password. Obviously I missed something, but I can’t seem to find what that is. Any help? -
During the upload/capture process, it is initially uploaded to the dev folder. Once the image upload process is complete (all files/partitions), it moves it from the dev to the /images/<imagepath> location via FTP.
-
@apollyonus Is what you’re asking because the image capture has completed, or just a general question about why it’s not straight uploading to the /images/<imagepath> location?
-
@apollyonus Usually the failed move is cause by screwed FTP settings: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP
But I have seen issues with moving the images on EXT3 formated partitions as this filesystem is doing some kind of defragmentation magic when huge files are being deleted. I doubt you have used ext3 when installing your CentOS server (see with
mount
). -
@Sebastian-Roth Yes, my partition is ext4.
-
So FTP is probably the issue then as ext4 does not do the defragmentation magic!
-
@Tom-Elliott Thank you. I removed / reinstalled vsftpd, and tested ftp as per https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP#Credentials_.2F_Passwords - deleted the image, the image dir, the host, and set all of it back up again. The new capture was successful.