weizhouapache commented on code in PR #13476:
URL: https://github.com/apache/cloudstack/pull/13476#discussion_r3479840597


##########
scripts/storage/secondary/setup-sysvm-tmplt:
##########
@@ -105,7 +105,7 @@ if [[ "$destfiles" != "" ]]; then
   failed 2 "Data already exists at destination $destdir"
 fi
 
-tmpfolder=/tmp/cloud/templates/
+tmpfolder=/var/tmp/cloud/templates/

Review Comment:
   @DaanHoogland 
   It is more common for `/tmp` to be mounted as a `tmpfs` filesystem. In this 
configuration, /tmp is backed by memory, and its contents are lost after a 
system reboot. As a result, the available space in /tmp is limited and is not 
sufficient to store the temporary files required during System VM template 
registration.
   
   for example, on ubuntu 26.04
   ```
   Filesystem      Size  Used Avail Use% Mounted on
   tmpfs           1.7G  304K  1.7G   1% /tmp
   ```
   
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to