I have recently come across a problem with Clonezilla that seems to be caused by it creating folders with names beginning with ocs-usb-tmp. and followed by random characters. I think that sometimes these characters include new lines (and possible question marks, but that may just be a way the system displays folders with odd characters in them). At first I just ignored them, however now they have caused problems when I attempt to create a clonezilla image in a folder that contains one of these folders. During the cloning process, when I browse into the containing folder, clonezilla fails, the screen repeatedly flashes a message up that I cannot full read (I managed to get that it is complaining about line 12536 of /usr/share/drbl/sbin/ocs-functions.
I am not certain which commands generate these oddly named folder, but I believe the following is a prime candidate:
(Machine_Image is an image that has already been created by Clonezilla. The above command is to create a bootable USB device that will restore an image to a machine.)
The Clonezilla-Live-Version file is as follows:
clonezilla-live-20170220-yakkety-i386
This Clonezilla live iso file was created by this command:
ocs-iso -n a -s --extra-boot-param quiet components -y 6.03 -i 20170220-yakkety-i386
I have found that I can get rid of these folders by changing to the directory in which they are then typing "rm -rf ocs-usb-tmp" followed by the tab key to autocomplete. (The autocompleted name is enclosed in single quotes and spans a new line.)
Has anyone else come across this problem? Do the Clonezilla developers / maintainers know about it? I am not familiar with how to report problems to the clonezilla team.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now I am trying to fix this issue, however, I can not reproduce the problem.
"sometimes these characters include new lines" -> This is weird... The ocs-usb-tmp.XXXXXX is created by mktemp command, and it should not contain those illegal characters in the directory name. Could you please show those file names?
Thanks.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the reply. Unfortunately I no longer have the files (I had to remove them from the hard drive because they were causing Clonezilla big problems when browsing through folders that contained them.) Please be aware that I am not certain that ocs-live-dev is the command that is creating these temporary files -- but I have found that it is certainly making temporary files that are not being cleaned up after it. I have not had occasion to use Clonezilla for a while, but hope to again soon. When I do I shall try to get some more information. (Work schedules and demands mean I cannot just go ahead and do it any time, sorry).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have recently come across a problem with Clonezilla that seems to be caused by it creating folders with names beginning with ocs-usb-tmp. and followed by random characters. I think that sometimes these characters include new lines (and possible question marks, but that may just be a way the system displays folders with odd characters in them). At first I just ignored them, however now they have caused problems when I attempt to create a clonezilla image in a folder that contains one of these folders. During the cloning process, when I browse into the containing folder, clonezilla fails, the screen repeatedly flashes a message up that I cannot full read (I managed to get that it is complaining about line 12536 of /usr/share/drbl/sbin/ocs-functions.
I am not certain which commands generate these oddly named folder, but I believe the following is a prime candidate:
ocs-live-dev -d /dev/sdc1 -g en_US.UTF-8 -t -k NONE -e “-g auto -b -c restoredisk Machine_Image sda” Machine_Image
(Machine_Image is an image that has already been created by Clonezilla. The above command is to create a bootable USB device that will restore an image to a machine.)
The Clonezilla-Live-Version file is as follows:
clonezilla-live-20170220-yakkety-i386
This Clonezilla live iso file was created by this command:
ocs-iso -n a -s --extra-boot-param quiet components -y 6.03 -i 20170220-yakkety-i386
I have found that I can get rid of these folders by changing to the directory in which they are then typing "rm -rf ocs-usb-tmp" followed by the tab key to autocomplete. (The autocompleted name is enclosed in single quotes and spans a new line.)
Has anyone else come across this problem? Do the Clonezilla developers / maintainers know about it? I am not familiar with how to report problems to the clonezilla team.
Thanks for the bug report. We will try to fix it in the next release.
Steven
Now I am trying to fix this issue, however, I can not reproduce the problem.
"sometimes these characters include new lines" -> This is weird... The ocs-usb-tmp.XXXXXX is created by mktemp command, and it should not contain those illegal characters in the directory name. Could you please show those file names?
Thanks.
Steven
Thanks for the reply. Unfortunately I no longer have the files (I had to remove them from the hard drive because they were causing Clonezilla big problems when browsing through folders that contained them.) Please be aware that I am not certain that ocs-live-dev is the command that is creating these temporary files -- but I have found that it is certainly making temporary files that are not being cleaned up after it. I have not had occasion to use Clonezilla for a while, but hope to again soon. When I do I shall try to get some more information. (Work schedules and demands mean I cannot just go ahead and do it any time, sorry).
OK, no problem. When you encounter this issue again, please let us know. Thanks.
Steven