B
Bern
Guest
Hi,
I'm on the latest version of Proxmox VE: Linux proxmox2 2.6.35-1-pve #1 SMP Tue May 10 14:14:39 CEST 2011 x86_64 GNU/Linux
If I log into my server using ssh and create an ISO file within /var/lib/vz/template/iso, it gets deleted either during the "dd" operation or a few seconds afterwards.
If I create the file elsewhere, then copy or move it into /var/lib/vz/template/iso, the same happens.
Here is some sample shell output showing the deletion as it happens:
--- start ---
proxmox2 /var/lib/vz/backup/101/2011-01-05 # df -k /var/lib/vz; ls -l /var/lib/vz/template/iso; date
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/pve-data 223336028 214022804 9313224 96% /var/lib/vz
total 994820
-rw-r--r-- 1 root root 127131648 2011-05-18 16:45 server2003-r2-oem-disk2.cd
-rw-r--r-- 1 root root 282990592 2010-09-25 17:07 systemrescuecd-x86-1.6.0.iso
-rw-r--r-- 1 root root 607559680 2010-09-25 18:37 xp-pro-oem.iso
Wed May 18 16:46:33 BST 2011
proxmox2 /var/lib/vz/backup/101/2011-01-05 # df -k /var/lib/vz; ls -l /var/lib/vz/template/iso; date
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/pve-data 223336028 213900160 9435868 96% /var/lib/vz
total 870540
-rw-r--r-- 1 root root 282990592 2010-09-25 17:07 systemrescuecd-x86-1.6.0.iso
-rw-r--r-- 1 root root 607559680 2010-09-25 18:37 xp-pro-oem.iso
Wed May 18 16:46:34 BST 2011
--- finish ---
Note that the "df -k" space went down proportionately as the file disappeared. I've unmounted the filesystem and fsck'd it (with -f) and it was clean. It genuinely looks as if the files are being deleted by a job but I've not found it.
Note that the original file (in the "backup" directory in my case) is fine and hasn't been deleted so far - it's only when it's created or copied into /var/lib/vz/template/iso that it gets deleted.
Also note that the same happens with the extension ".iso" - I am desperately trying anything to stop the deletion happening so I've been trying other extensions and ".cd" is the current one.
The .iso files that aren't being deleted were created before the upgrade to the latest version of Proxmox VE.
Any ideas?
I'm on the latest version of Proxmox VE: Linux proxmox2 2.6.35-1-pve #1 SMP Tue May 10 14:14:39 CEST 2011 x86_64 GNU/Linux
If I log into my server using ssh and create an ISO file within /var/lib/vz/template/iso, it gets deleted either during the "dd" operation or a few seconds afterwards.
If I create the file elsewhere, then copy or move it into /var/lib/vz/template/iso, the same happens.
Here is some sample shell output showing the deletion as it happens:
--- start ---
proxmox2 /var/lib/vz/backup/101/2011-01-05 # df -k /var/lib/vz; ls -l /var/lib/vz/template/iso; date
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/pve-data 223336028 214022804 9313224 96% /var/lib/vz
total 994820
-rw-r--r-- 1 root root 127131648 2011-05-18 16:45 server2003-r2-oem-disk2.cd
-rw-r--r-- 1 root root 282990592 2010-09-25 17:07 systemrescuecd-x86-1.6.0.iso
-rw-r--r-- 1 root root 607559680 2010-09-25 18:37 xp-pro-oem.iso
Wed May 18 16:46:33 BST 2011
proxmox2 /var/lib/vz/backup/101/2011-01-05 # df -k /var/lib/vz; ls -l /var/lib/vz/template/iso; date
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/pve-data 223336028 213900160 9435868 96% /var/lib/vz
total 870540
-rw-r--r-- 1 root root 282990592 2010-09-25 17:07 systemrescuecd-x86-1.6.0.iso
-rw-r--r-- 1 root root 607559680 2010-09-25 18:37 xp-pro-oem.iso
Wed May 18 16:46:34 BST 2011
--- finish ---
Note that the "df -k" space went down proportionately as the file disappeared. I've unmounted the filesystem and fsck'd it (with -f) and it was clean. It genuinely looks as if the files are being deleted by a job but I've not found it.
Note that the original file (in the "backup" directory in my case) is fine and hasn't been deleted so far - it's only when it's created or copied into /var/lib/vz/template/iso that it gets deleted.
Also note that the same happens with the extension ".iso" - I am desperately trying anything to stop the deletion happening so I've been trying other extensions and ".cd" is the current one.
The .iso files that aren't being deleted were created before the upgrade to the latest version of Proxmox VE.
Any ideas?
Last edited by a moderator: