You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "yeganehmehr (via GitHub)" <gi...@apache.org> on 2023/12/12 13:37:26 UTC
[I] Creation of large files with vmdk format in secondary storage-CloudStack 4.17.2.0 [cloudstack]
yeganehmehr opened a new issue, #8348:
URL: https://github.com/apache/cloudstack/issues/8348
##### ISSUE TYPE
* Bug Report
* Other
##### COMPONENT NAME
UI
##### CLOUDSTACK VERSION
CloudStack 4.17.2.0
##### CONFIGURATION
advanced networking
##### OS / ENVIRONMENT
scst :CentOS release 6.10 (Final)
##### SUMMARY
In the path, subfiles with a large volume have been created, whose names do not exist in any of the Cloudstack database tables.
Can these files be deleted?
Because the disk consumption of this partition has greatly increased.
/storage/volumes/
[root@SCST01 23f81482c9674916bb5061df06eb244d]# ls -lha
total 83G
drwxr-xr-x 2 root root 4.0K Dec 11 10:06 .
drwxr-xr-x 9 root root 4.0K Dec 11 11:27 ..
-rw-r--r-- 1 root root 83G Dec 11 01:13 23f81482c9674916bb5061df06eb244d-disk0.vmdk
##### STEPS TO REPRODUCE
[root@SCST01 ~]# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb1 ext4 1.5T 1.3T 128G 91% /storage
##### EXPECTED RESULTS
Recently, 500 GB disk was added to the server, but it used all the volume
##### ACTUAL RESULTS
--
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: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Creation of large files with vmdk format in secondary storage-CloudStack 4.17.2.0 [cloudstack]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #8348:
URL: https://github.com/apache/cloudstack/issues/8348#issuecomment-2085237960
I think the question has been answered; these files can be related to data disks, snapshots or linked entities. Unless you know what they are and are absolutely sure you shouldn't delete them. Via vCenter one can check if those files are related to the VM somehow and only take a call to delete them. One solution could be to migrate the VM off a datastore, double check the VM has no volume or VM snapshots, VM in vCenter has no snapshots and then remove delete the remaining files in the folder (but not ideal).
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Creation of large files with vmdk format in secondary storage-CloudStack 4.17.2.0 [cloudstack]
Posted by "rajujith (via GitHub)" <gi...@apache.org>.
rajujith commented on issue #8348:
URL: https://github.com/apache/cloudstack/issues/8348#issuecomment-1860045138
@yeganehmehr volumes in the secondary storage information can be found in table "volume_store_ref"
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Creation of large files with vmdk format in secondary storage-CloudStack 4.17.2.0 [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #8348:
URL: https://github.com/apache/cloudstack/issues/8348#issuecomment-1903689690
@yeganehmehr take care when considdering storage used by vmware. It can create snapshots of volumes in use without knowledge of cloudstack. If you do not know what you are doing, deleting those may lead to data loss.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Creation of large files with vmdk format in secondary storage-CloudStack 4.17.2.0 [cloudstack]
Posted by "yeganehmehr (via GitHub)" <gi...@apache.org>.
yeganehmehr commented on issue #8348:
URL: https://github.com/apache/cloudstack/issues/8348#issuecomment-1855841289
@rajujith
and again start use my disk
/dev/sdb1 ext4 2.0T 1.6T 271G 86% /storage
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Creation of large files with vmdk format in secondary storage-CloudStack 4.17.2.0 [cloudstack]
Posted by "rajujith (via GitHub)" <gi...@apache.org>.
rajujith commented on issue #8348:
URL: https://github.com/apache/cloudstack/issues/8348#issuecomment-1855621710
@yeganehmehr I assuming this storage you are referring here is the primary storage? you could find the volume in the DB using:
`select * from volumes where path='23f81482c9674916bb5061df06eb244d'\G`
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Creation of large files with vmdk format in secondary storage-CloudStack 4.17.2.0 [cloudstack]
Posted by "yeganehmehr (via GitHub)" <gi...@apache.org>.
yeganehmehr commented on issue #8348:
URL: https://github.com/apache/cloudstack/issues/8348#issuecomment-1855838870
@rajujith
this storage is secondary storage
MariaDB [cloud]> select * from volumes where path='23f81482c9674916bb5061df06eb244d'\G
Empty set (0.054 sec)
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Creation of large files with vmdk format in secondary storage-CloudStack 4.17.2.0 [cloudstack]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud closed issue #8348: Creation of large files with vmdk format in secondary storage-CloudStack 4.17.2.0
URL: https://github.com/apache/cloudstack/issues/8348
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Creation of large files with vmdk format in secondary storage-CloudStack 4.17.2.0 [cloudstack]
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #8348:
URL: https://github.com/apache/cloudstack/issues/8348#issuecomment-1852049866
Thanks for opening your first issue here! Be sure to follow the issue template!
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org