No problem. I'll use another node:
nodetool listsnapshots
Snapshot Details:
Snapshot name                           Â
Keyspace name Column family name True size Size on disk
truncated-1613059667093-extractedmetadata doc         Â
extractedmetadata 4.95 GiB  7.28 GiB
truncated-1602601547738-events           system_traces
events            0 bytes   13 bytes
truncated-1604519912224-extractedmetadata doc         Â
extractedmetadata 0 bytes   1.37 KiB
truncated-1609811730310-ftametrics       doc         Â
ftametrics        1.82 MiB  1.82 MiB
truncated-1609796926725-ftametrics       doc         Â
ftametrics        950.44 KiB 951.91 KiB
truncated-1602601534667-events           system_traces
events            295.21 KiB 295.29 KiB
truncated-1613399357065-seq             Â
doc          seq               4.92 KiB Â
5.76 KiB
truncated-1605902571860-binary_data      doc         Â
binary_data       927.67 MiB 927.67 MiB
truncated-1613059547373-binary_docs      doc         Â
binary_docs       1.84 MiB  1.84 MiB
truncated-1605902572782-binary_docs      doc         Â
binary_docs       58.99 KiB 59.97 KiB
truncated-1613171349472-seq             Â
doc          seq               0 bytes  Â
842 bytes
truncated-1613399333362-datasources      doc         Â
datasources       5.32 KiB  6.32 KiB
truncated-1613059536535-binary_data      doc         Â
binary_data       5.58 GiB  5.58 GiB
truncated-1607634105573-ftametrics       doc         Â
ftametrics        188.26 KiB 189.64 KiB
truncated-1613171359585-datasources      doc         Â
datasources       0 bytes   998 bytes
truncated-1602697810806-events           system_traces
events            0 bytes   13 bytes
truncated-1602601654389-events           system_traces
events            0 bytes   13 bytes
Total TrueDiskSpaceUsed: 11.44 GiB
I just picked one directory:
pwd
/mysqlData2/cassandra/doc/doc-f4845f60fd2311eab6e21593630dfb58
du -s -h ./*
12KÂ Â Â Â ./backups
142GÂ Â Â ./snapshots
I've not cleared the snapshots from this node - let me know if you want
other information.
-Joe
On 2/16/2021 7:32 PM, Erick Ramirez wrote:
That said, the "Total TrueDiskSpaceUsed: 16.09 GiB" seems to be
way off? Or is that value something else?
It's a bit late now since you've cleared them but it would have been
good to check the size of each snapshot directory with duand validate
it against the listsnapshotsoutput.
FWIW snapshots are hardlinks to the same inodes as the original files.
I've explained how it works in this post --Â
https://community.datastax.com/questions/5967/
<https://community.datastax.com/questions/5967/>. Cheers!
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
Virus-free. www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>