Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.comp.os.windows-11    |    Steaming pile of horseshit Windows 11    |    4,852 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 4,796 of 4,852    |
|    Maria Sophia to All    |
|    PSA: Windows shadow storage can silently    |
|    22 Feb 26 13:24:31    |
      XPost: alt.comp.os.windows-10, alt.comp.microsoft.windows       From: mariasophia@comprehension.com              PSA: Windows shadow storage can silently consume all free disk space              This is a public service announcement for anyone running Windows 10/11,       especially on systems where Windows Update and System Restore are disabled       or rarely used, particularly if they're already also low on disk space.              I have had the same drive for over a decade, and while it has been tight on       space for a long time, it always had at least a few GB free.              That was fine. Until today.              Today, I ran into a failure mode that can fill an entire disk without       warning, without any obvious large files, and without the user having any       direct control over it until the system is already out of space.              I checked all the normal places to clean up disk space. Anything I deleted       kept the disk below limits for only a few minutes. Then the disk filled up       again. I looked in all the usual spaces for the usual culprits (which I cal       list separately in a followup article so others also know where to look).              Finally, I found the real cause.               C:\> vssadmin list shadowstorage /for=C:        Used Shadow Copy Storage space: 5.32 GB        Allocated Shadow Copy Storage space: 5.65 GB        Maximum Shadow Copy Storage space: 931 GB (100%)              Windows uses "shadow storage" for the Volume Shadow Copy Service (VSS).       Even with System Restore turned off, VSS is still active because Windows       uses it internally for NTFS metadata, snapshots, indexing & rollback       mechanisms.              Under normal circumstances, shadow storage has a reasonable size limit.       However, on some systems (especially ones with updates disabled), the       maximum size can get set to 100 percent of the drive. In my case, the       maximum shadow storage size was the full 931 GB.              This does *not* mean VSS was using 931 GB. It means Windows had permission       to reserve that much space for internal metadata. When the disk got tight,       NTFS and VSS began reserving space aggressively, and the system eventually       hit 0 bytes free.              At that point the system behaved as if the disk were completely full.              My first clue was that I could not save a 100-line text file in gVim.       Those last few gigabytes that had been stable for years were suddenly gone.       After checking all the usual suspects and finding nothing of import, the       problem eventually turned out to be a misconfigured VSS maximum size.              The fix was simple once I knew what to look for:               C:\> vssadmin resize shadowstorage /for=C: /on=C: /maxsize=5GB              This forces Windows to cap shadow storage at a sane size and releases the       reserved space immediately. After running it, the system recovered several       gigabytes instantly, and returned to normal behavior.              Since it took longer to find the problem than to fix it, I am investing the       energy to write up this PSA so as to post to Usenet in case it saves       someone else time. If your disk fills up mysteriously, and you cannot find       any large files & all the usual cleanup steps fail, you might want to run:               C:\> vssadmin list shadowstorage /for=C:              If the "Maximum Shadow Copy Storage space" is set to 100 percent of the       drive, you have found the culprit.              This is not user error. It is a Windows configuration quirk that can appear       on long-running systems, especially when various common Microsoft services       (updates, restore points, indexing, etc.) are disabled (as mine are).              For anyone tempted to reply with "you should have known" riddles or "this       is obvious" power plays, it was not obvious to me & I saw no warnings, and       the behavior is not documented in any clear way that I am aware of.              We just have to know it.              If investing my valuable time into writing this post helps even one person       avoid the same confusion, it has done its job, and I feel that I helped.              Note: this behavior is not limited to Windows 10. Windows 11 and recent       Windows Server versions use the same VSS subsystem and can show the same       failure mode if the shadow storage maximum size is misconfigured.       --       This PSA is invested to pass along what I learned today, in case it helps.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca