Auteur Topic: Virtual Machine Manager: geen space reclamation van verwijderde data in VM  (gelezen 577 keer)

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 3169
  • -Ontvangen: 345
  • Berichten: 2.709
  • $ sudo -i
Iets met AI en een bos ingestuurd worden...?

DS1821+ / DSM 7.2.2-72806 Update 4

De verwijderde data - back-ups - in mijn Home Assistant Virtuele Machine - Storage Pool btrfs - resulteert niet in meer opslagruimte, deze vrije opslagruimte blijft ~21GB = <5%

Ticket ingelegd, maar kan daar geen chocolade van maken, omdat ik van de AI instructies krijg met tabs die helemaal niet bestaan (?).

Citaat
Dear Support,

After trying to troubleshoot my issue with the suggested options, I get no resolution, because the mentioned tabs do not exist.

1. Check for Virtual Machine Snapshots
Snapshots can prevent storage space from being freed because they preserve the state of the virtual disk at a specific point in time, including the data you have deleted.

* Open **Virtual Machine Manager**.* Select your virtual machine and click on the **Snapshot** tab.* If there are any existing snapshots that you no longer need, consider deleting them to allow the system to reclaim the space.

>> There is NO **Snapshot tab** when I select my virtual machine:

1. Review the Space Reclamation Schedule
For volumes using the Btrfs file system, space reclamation is a scheduled background task. You can check and adjust its schedule to ensure it runs.

* Go to **Storage Manager** > **Storage**.* Select the Storage Pool where your virtual machine is stored.* Click the `...` icon in the top-right corner and select **Settings**.* Go to the **Space Reclamation** tab and ensure that the schedule is enabled and configured to run. For a faster result, you can set it to run more frequently.

>> There is NO **Space Reclamation** tab under **Settings**

Gebruikt AI support een andere versie van DSM? Waar zijn de tabs die worden genoemd?

Kortom: wat is wel de juiste route om de verwijderde data in mijn HA VM om te zetten naar vrije opslagruimte?

Dank!
Commander: DS1821+ | DSM 7.2.2-72806 Update 4
SightWinder: DS1821+ | DSM 7.2.1-69057 Update 8 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 Update 8
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1446
  • -Ontvangen: 8267
  • Berichten: 44.852
    • Truebase


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-8   DS115J    DSM 7.1.1-42962-7   DS918+    DSM 6.2.4-25556-8
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.4-25556-7   DS1515+   DSM 6.2.4-25556-8   DS220+    DSM 7.3-81180
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 7.2.2-72806-4   RT2600ac  SRM 1.3.1-9346-13
BeeDrive   1TB             BeeStation BSM 1.3-65646                                                                 MR2200ac  SRM 1.3.1-9346-13

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 3169
  • -Ontvangen: 345
  • Berichten: 2.709
  • $ sudo -i
Re: Virtual Machine Manager: geen space reclamation van verwijderde data in VM
« Reactie #2 Gepost op: 15 oktober 2025, 11:11:00 »
Dank voor je snelle antwoord.

Hieronder wat afbeeldingen van de instellingen n.a.v. jouw links:

Storage Pool 2

64049-0

Geen snapshots aanwezig

64051-1

Space Reclamation ingesteld voor Storage Pools / Volumes 1 & 2



Space Reclamation tijdschema ingesteld voor Storage Pools / Volumes 1 & 2

64055-3

edit: voor de zekerheid ook een herstart gedaan van mijn NAS, helaas zonder resultaat.
Commander: DS1821+ | DSM 7.2.2-72806 Update 4
SightWinder: DS1821+ | DSM 7.2.1-69057 Update 8 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 Update 8
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1446
  • -Ontvangen: 8267
  • Berichten: 44.852
    • Truebase
Re: Virtual Machine Manager: geen space reclamation van verwijderde data in VM
« Reactie #3 Gepost op: 15 oktober 2025, 14:53:34 »
Dan weet ik ook niet, ben niet echt thuis in VMM.
Zou maar terug reageren op je Ticket.


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-8   DS115J    DSM 7.1.1-42962-7   DS918+    DSM 6.2.4-25556-8
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.4-25556-7   DS1515+   DSM 6.2.4-25556-8   DS220+    DSM 7.3-81180
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 7.2.2-72806-4   RT2600ac  SRM 1.3.1-9346-13
BeeDrive   1TB             BeeStation BSM 1.3-65646                                                                 MR2200ac  SRM 1.3.1-9346-13

Offline zandhaas

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 26
  • -Ontvangen: 215
  • Berichten: 845
Re: Virtual Machine Manager: geen space reclamation van verwijderde data in VM
« Reactie #4 Gepost op: 15 oktober 2025, 17:20:03 »

* Open **Virtual Machine Manager**.* Select your virtual machine and click on the **Snapshot** tab.* If there are any existing snapshots that you no longer need, consider deleting them to allow the system to reclaim the space.
[/i]
>> There is NO **Snapshot tab** when I select my virtual machine:


Klik met de rechter muisknop op je VM en dan zie ik de optie "Snapshot list"  (taal staat op engels bij mij)
  • Mijn Synology: DS918+
  • Extra's: 16GB RAM
DS213+  DSM 6.2  512MB
DS918+  DSM 7.2  16GB + 2*1TB NVME  Cache
VDSM      DSM 7.2
MR2200ac

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 3169
  • -Ontvangen: 345
  • Berichten: 2.709
  • $ sudo -i
Re: Virtual Machine Manager: geen space reclamation van verwijderde data in VM
« Reactie #5 Gepost op: 15 oktober 2025, 17:53:29 »
^^^^
Dank!

Dat is geen tab maar een pull down menu, SynologY hanteert in haar antwoord een zeer verwarrende how-to-get-there m.i.
In mijn afbeelding Volume Usage Details is te zien dat er geen Snapshots zijn, die verwijderd kunnen worden, (80KB)

Wordt vervolgd...  8)
Commander: DS1821+ | DSM 7.2.2-72806 Update 4
SightWinder: DS1821+ | DSM 7.2.1-69057 Update 8 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 Update 8
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 3169
  • -Ontvangen: 345
  • Berichten: 2.709
  • $ sudo -i
Re: Virtual Machine Manager: geen space reclamation van verwijderde data in VM
« Reactie #6 Gepost op: 17 oktober 2025, 18:49:52 »
Reactie SynologY TS:

Citaat
Dear customer,

Several things :

1- i can check on the NAS where the space is taken i'm sending you a remote access request after this message.

2-concerning the VM itself, once storage grown, it is not possible to shrink it the size not the content used

Sincerely,

Begrijp ik het dan goed, dat een volume dat groter als % van de totaal aangewezen GB - 455GB - wordt door meer data, de verwijderde data niet meer vrij kan worden gemaakt, voor nieuwere data. Wat heeft die instelling Space Reclamation dan voor zin?
ik snap dit helemaal niet, iets in mij zegt: zeer onlogisch...   

Impliceert dit, dat ik gewoon 2 grotere SSD's - 1 / 2TB - moet gaan installeren?

Ik hoop dat iemand met ervaring met VMM i.c.m. Space Reclamation me op het juiste pad kan dirigeren.

Dank! Wordt vervolgd... 8)
Commander: DS1821+ | DSM 7.2.2-72806 Update 4
SightWinder: DS1821+ | DSM 7.2.1-69057 Update 8 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 Update 8
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 3169
  • -Ontvangen: 345
  • Berichten: 2.709
  • $ sudo -i
Re: Virtual Machine Manager: geen space reclamation van verwijderde data in VM
« Reactie #7 Gepost op: 20 oktober 2025, 10:57:32 »
UPDATE: Afgelopen nacht blijkt mijn Home Assistant VMM op Volume 2 weer de opslagruimte terug te hebben gekregen. Space Reclamation toch gewerkt?

VMM Volume 2 tijd 01:50:35

64061-0

VMM Volume 2 tijd 02:50:35

64063-1

Nu op zoek naar de logfile die me inzicht kan geven, welk proces daadwerkelijk verantwoordelijk is geweest voor het vrijmaken van deze opslagruimte die geblokkeerd leek te zijn. In de Log Center package - servernaam - kom ik geen overeenkomstige regels tegen met de sleutelwoorden "space" / "reclamation".

Ticket aangevuld met deze nieuwe situatie.

Wordt vervolgd... 8)
Commander: DS1821+ | DSM 7.2.2-72806 Update 4
SightWinder: DS1821+ | DSM 7.2.1-69057 Update 8 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 Update 8
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 3169
  • -Ontvangen: 345
  • Berichten: 2.709
  • $ sudo -i
Reactie van Technical Support m.b.t. mijn vraag welke en waar de logfiles staan, om de opruimactie op Volume 2 nader te onderzoeken.

Citaat
Dear ,

Glad to read it seems finally ok.

Several points:

1- usually we are not allowed to disclose all the details of the system and the internal command we use.
And i am not aware of everything at my level
But from what i think when reclaim is done should trigger an "unmap" command

2-Usually also the release of everything is not instant, some process are running slow in the background to let the NAS being usable without too much resources taken

3- Some general log fro VMM could be found there :
    /var/log/synovmm.log

I am unsure if the relcaim process could be seen there or in the iscsi.logs maybe .
to check what happened in the time
you can maybe check in var/log/messages

Sincerely,
Support

Toch maar even gevraagd of mijn ticket naar een collega kan worden ge-escaleerd, die me duidelijker en met 100% zekerheid kan uitleggen waar en in welke logfiles ik iets kan teruglezen m.b.t de Space Reclamation in VMM op Volume 2.

Mochten jullie mij kunnen voorzien van de juiste cli commando's in macOS Terminal, dan houd ik me van harte aanbevolen.

Wordt vervolgd... 8)
Commander: DS1821+ | DSM 7.2.2-72806 Update 4
SightWinder: DS1821+ | DSM 7.2.1-69057 Update 8 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 Update 8
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1446
  • -Ontvangen: 8267
  • Berichten: 44.852
    • Truebase
Citaat
de juiste cli commando's
Voor wat ? Om de log files te verkrijgen ?


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-8   DS115J    DSM 7.1.1-42962-7   DS918+    DSM 6.2.4-25556-8
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.4-25556-7   DS1515+   DSM 6.2.4-25556-8   DS220+    DSM 7.3-81180
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 7.2.2-72806-4   RT2600ac  SRM 1.3.1-9346-13
BeeDrive   1TB             BeeStation BSM 1.3-65646                                                                 MR2200ac  SRM 1.3.1-9346-13

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1446
  • -Ontvangen: 8267
  • Berichten: 44.852
    • Truebase
Re: Virtual Machine Manager: geen space reclamation van verwijderde data in VM
« Reactie #10 Gepost op: Gisteren om 11:08:50 »
Overigens, als het alleen om de logfiles gaat, als je in Support Center (hoofdmenu) > Support Services Log Generation gaat en alleen Virtual Machine Manager aanvinkt en op Generate Logs klikt, dan krijg je de ..dat file.
Deze uitpakken en vind de genoemde logfiles:

\dsm\var\log\synovmm.log
\dsm\var\log\iscsi.log
\dsm\var\log\messages


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-8   DS115J    DSM 7.1.1-42962-7   DS918+    DSM 6.2.4-25556-8
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.4-25556-7   DS1515+   DSM 6.2.4-25556-8   DS220+    DSM 7.3-81180
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 7.2.2-72806-4   RT2600ac  SRM 1.3.1-9346-13
BeeDrive   1TB             BeeStation BSM 1.3-65646                                                                 MR2200ac  SRM 1.3.1-9346-13

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 3169
  • -Ontvangen: 345
  • Berichten: 2.709
  • $ sudo -i
Re: Virtual Machine Manager: geen space reclamation van verwijderde data in VM
« Reactie #11 Gepost op: Gisteren om 12:02:14 »
Bedankt Birdy voor je snelle reactie!

Heb je werkwijze opgevolgd en de debug_*serienummer*.dat uitgepakt. Bij mij staan de logfiles - DSM 7.2.2 - voor VMM in onderstaande locaties in macOS 14.8:

/Downloads/debug_*serienummer*/Virtualization/var/log/synovmm.log
/Downloads/debug_*serienummer*/dsm/var/log/iscsi.log
/Downloads/debug_*serienummer*/dsm/var/log/messages (zonder .log extensie)

Ik ga eens rondneuzen in deze logfiles.  8)
Commander: DS1821+ | DSM 7.2.2-72806 Update 4
SightWinder: DS1821+ | DSM 7.2.1-69057 Update 8 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 Update 8
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1446
  • -Ontvangen: 8267
  • Berichten: 44.852
    • Truebase
Re: Virtual Machine Manager: geen space reclamation van verwijderde data in VM
« Reactie #12 Gepost op: Gisteren om 12:06:57 »
Ahhh, die van mij komt uit DSM7.3, ze hebben kennelijk de locatie van synovmm.log gewijzigd :lol:


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-8   DS115J    DSM 7.1.1-42962-7   DS918+    DSM 6.2.4-25556-8
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.4-25556-7   DS1515+   DSM 6.2.4-25556-8   DS220+    DSM 7.3-81180
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 7.2.2-72806-4   RT2600ac  SRM 1.3.1-9346-13
BeeDrive   1TB             BeeStation BSM 1.3-65646                                                                 MR2200ac  SRM 1.3.1-9346-13

Offline m4v3r1ck

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 3169
  • -Ontvangen: 345
  • Berichten: 2.709
  • $ sudo -i
UPDATE: cli command van SynologY Technical Support gekregen:

Citaat
They provided a command  to me

here is the command you can use :

    ps aux | grep btrfs-cleaner

Toch maar even de vraag gesteld, waar we hier naar kijken... wit, melk of puur  ;)

~# ps aux | grep btrfs-cleaner
root      8538  0.0  0.0  33216  2376 pts/2    S+   11:23   0:00 grep --color=auto btrfs-cleaner
root     12619  0.0  0.0      0     0 ?        S    Oct18   0:42 [btrfs-cleaner]
root     13997  0.0  0.0      0     0 ?        S    Oct18   0:16 [btrfs-cleaner]
Commander: DS1821+ | DSM 7.2.2-72806 Update 4
SightWinder: DS1821+ | DSM 7.2.1-69057 Update 8 VMM
Wingman:     DS1812+ | DSM 6.2.4-25556 Update 8
UPS:             APC Back UPS BE850G2-GR (2x)
________________________________________________________________________________
Cheers! - ! I am an advocate of the "if it ain't broke, you didn't fix it enough" modus operandi !

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1446
  • -Ontvangen: 8267
  • Berichten: 44.852
    • Truebase
1e output regel is jouw vertaalde commando.
2e en 3e output regels zijn inactieve/slapende cleaners


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-8   DS115J    DSM 7.1.1-42962-7   DS918+    DSM 6.2.4-25556-8
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.4-25556-7   DS1515+   DSM 6.2.4-25556-8   DS220+    DSM 7.3-81180
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 7.2.2-72806-4   RT2600ac  SRM 1.3.1-9346-13
BeeDrive   1TB             BeeStation BSM 1.3-65646                                                                 MR2200ac  SRM 1.3.1-9346-13


 

2 domeinnamen, 2 websites, hoe regel ik dit met virtual host?

Gestart door miickerBoard Web Station

Reacties: 1
Gelezen: 3135
Laatste bericht 11 april 2016, 20:55:46
door Hempie
VERPLAATST: Virtual Box voor DSM 6

Gestart door BirdyBoard Aankoopadvies

Reacties: 0
Gelezen: 1852
Laatste bericht 05 juni 2016, 16:37:09
door Birdy
Virtual Host gebruiken op de webserver

Gestart door jaccoslokBoard Web Station mods

Reacties: 16
Gelezen: 24363
Laatste bericht 27 september 2013, 19:02:04
door Ariedeboer
Virtual host instellingen, kan sites niet bereiken, error 403

Gestart door bartezBoard Web Station

Reacties: 2
Gelezen: 4346
Laatste bericht 11 oktober 2016, 13:32:20
door bartez
hoe gebruik je de virtual host met twee domeinen en 2 sites?

Gestart door bart46Board Web Station

Reacties: 2
Gelezen: 3694
Laatste bericht 06 mei 2009, 20:03:47
door bart46