Please followup-To alt.comp.os.windows-10. (Note this is not just aDelete all your trash.
Windows question, but I believe the Windows newsgroup is more
appropriate: perhaps there are other system's shrinking tool that could
help me here. Thanks for any ideas.)
I'm interested in installing a new operating system. Haven't decided
which yet---perhaps FreeBSD, perhaps GNU Guix. I've got 195 GiB free in
my c: drive plus 655 MiB unallocated which I was able to get from
shrinking the c: drive using the Windows 10 Disk Management tool.
Disk Management (how my storage looks right now)
https://prnt.sc/WZ1fF5S9ARJ1
Disk Management is not able to shrink more. It says it has been done
what it could with those 655 MiB.
https://prnt.sc/ez9O5JUVUVXv
I turned hibernation off, restarted and tried again. Same thing.
Looking at the defrag event in the application log, I find:
--8<-------------------------------------------------------->8---
A volume shrink analysis was initiated on volume (C:). This event log
entry details information about the last unmovable file that could limit
the maximum number of reclaimable bytes.
Diagnostic details:
- The last unmovable file appears to be: \System Volume
Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
- The last cluster of the file is: 0x76e787e
- Shrink potential target (LCN address): 0x466119b
- The NTFS file flags are: ---AD
- Shrink phase: <analysis>
To find more details about this file please use the "fsutil volume
querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7}
0x76e787e" command. --8<-------------------------------------------------------->8---
Using the fsutil command, I get:
--8<-------------------------------------------------------->8--- C:\Windows\system32>fsutil volume querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7} 0x76e787e
Cluster 0x00000000076e787e used by ---AD \System Volume Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
--8<-------------------------------------------------------->8---
Anything else I could try? I have not tried to use other system's
shrinking programs. Could they do a better job? Perhaps this is not
the best newsgroup to ask this question.
On 12/24/24 03:22 PM, Salvador Mirzo wrote:
Please followup-To alt.comp.os.windows-10. (Note this is not just aDelete all your trash.
Windows question, but I believe the Windows newsgroup is more
appropriate: perhaps there are other system's shrinking tool that could
help me here. Thanks for any ideas.)
I'm interested in installing a new operating system. Haven't
decided
which yet---perhaps FreeBSD, perhaps GNU Guix. I've got 195 GiB free in
my c: drive plus 655 MiB unallocated which I was able to get from
shrinking the c: drive using the Windows 10 Disk Management tool.
Disk Management (how my storage looks right now)
https://prnt.sc/WZ1fF5S9ARJ1
Disk Management is not able to shrink more. It says it has been
done
what it could with those 655 MiB.
https://prnt.sc/ez9O5JUVUVXv
I turned hibernation off, restarted and tried again. Same thing.
Looking at the defrag event in the application log, I find:
--8<-------------------------------------------------------->8---
A volume shrink analysis was initiated on volume (C:). This event log
entry details information about the last unmovable file that could limit
the maximum number of reclaimable bytes.
Diagnostic details:
- The last unmovable file appears to be: \System Volume
Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
- The last cluster of the file is: 0x76e787e
- Shrink potential target (LCN address): 0x466119b
- The NTFS file flags are: ---AD
- Shrink phase: <analysis>
To find more details about this file please use the "fsutil
volume
querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7}
0x76e787e" command.
--8<-------------------------------------------------------->8---
Using the fsutil command, I get:
--8<-------------------------------------------------------->8---
C:\Windows\system32>fsutil volume querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7} 0x76e787e
Cluster 0x00000000076e787e used by ---AD \System Volume
Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
--8<-------------------------------------------------------->8---
Anything else I could try? I have not tried to use other system's
shrinking programs. Could they do a better job? Perhaps this is not
the best newsgroup to ask this question.
Delete all restore points. Yeh, this one hurts when you want to play
with the system.
Then try. I've had luck with this. Then make a new restore point when done.
Another option is to use a defrag tool or other utility that will let
you see what is way out there on the last sectors of that partition.
Possibly a file you can move to another drive temp.
Please make an image of you drive! I've done this before with no
issues, but Santa may not be on your side.
Anything else I could try? I have not tried to use other system's
shrinking programs. Could they do a better job? Perhaps this is not
the best newsgroup to ask this question.
Anything else I could try?
I had done a defrag. The tool called ``Optimize Drives''. It did notOptimize SSD? I wouldn't.
do anything for going beyond the 655 MiB. But I opened it up again and
it seems to be giving me a progress of the shrinking process:
"Alan K." <alan@invalid.com> writes:
On 12/24/24 03:22 PM, Salvador Mirzo wrote:
Please followup-To alt.comp.os.windows-10. (Note this is not just aDelete all your trash.
Windows question, but I believe the Windows newsgroup is more
appropriate: perhaps there are other system's shrinking tool that could
help me here. Thanks for any ideas.)
I'm interested in installing a new operating system. Haven't
decided
which yet---perhaps FreeBSD, perhaps GNU Guix. I've got 195 GiB free in >>> my c: drive plus 655 MiB unallocated which I was able to get from
shrinking the c: drive using the Windows 10 Disk Management tool.
Disk Management (how my storage looks right now)
https://prnt.sc/WZ1fF5S9ARJ1
Disk Management is not able to shrink more. It says it has been
done
what it could with those 655 MiB.
https://prnt.sc/ez9O5JUVUVXv
I turned hibernation off, restarted and tried again. Same thing.
Looking at the defrag event in the application log, I find:
--8<-------------------------------------------------------->8---
A volume shrink analysis was initiated on volume (C:). This event log
entry details information about the last unmovable file that could limit >>> the maximum number of reclaimable bytes.
Diagnostic details:
- The last unmovable file appears to be: \System Volume
Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
- The last cluster of the file is: 0x76e787e
- Shrink potential target (LCN address): 0x466119b
- The NTFS file flags are: ---AD
- Shrink phase: <analysis>
To find more details about this file please use the "fsutil
volume
querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7}
0x76e787e" command.
--8<-------------------------------------------------------->8---
Using the fsutil command, I get:
--8<-------------------------------------------------------->8---
C:\Windows\system32>fsutil volume querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7} 0x76e787e
Cluster 0x00000000076e787e used by ---AD \System Volume
Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
--8<-------------------------------------------------------->8---
Anything else I could try? I have not tried to use other system's
shrinking programs. Could they do a better job? Perhaps this is not
the best newsgroup to ask this question.
Delete all restore points. Yeh, this one hurts when you want to play
with the system.
Then try. I've had luck with this. Then make a new restore point when done.
I don't think I had any restore points. (Lol. Should I have? But I disabled ``system protection'' anyway to make sure all would be
deleted. I had a lot trash, so I emptied it out.) Then plim! I was
able to get 270 GiB unallocated!
--8<-------------------------------------------------------->8---
THANK YOU!
--8<-------------------------------------------------------->8---
Another option is to use a defrag tool or other utility that will let
you see what is way out there on the last sectors of that partition.
Possibly a file you can move to another drive temp.
I had done a defrag. The tool called ``Optimize Drives''. It did not
do anything for going beyond the 655 MiB. But I opened it up again and
it seems to be giving me a progress of the shrinking process:
https://prnt.sc/HLxeBbx2SBMK
Please make an image of you drive! I've done this before with no
issues, but Santa may not be on your side.
Lol. I'm risking it all. :) May the Force be with me.
On Tue, 12/24/2024 4:05 PM, Salvador Mirzo wrote:
"Alan K." <alan@invalid.com> writes:
On 12/24/24 03:22 PM, Salvador Mirzo wrote:
Please followup-To alt.comp.os.windows-10. (Note this is not just aDelete all your trash.
Windows question, but I believe the Windows newsgroup is more
appropriate: perhaps there are other system's shrinking tool that could >>>> help me here. Thanks for any ideas.)
I'm interested in installing a new operating system. Haven't
decided
which yet---perhaps FreeBSD, perhaps GNU Guix. I've got 195 GiB free in >>>> my c: drive plus 655 MiB unallocated which I was able to get from
shrinking the c: drive using the Windows 10 Disk Management tool.
Disk Management (how my storage looks right now)
https://prnt.sc/WZ1fF5S9ARJ1
Disk Management is not able to shrink more. It says it has been
done
what it could with those 655 MiB.
https://prnt.sc/ez9O5JUVUVXv
I turned hibernation off, restarted and tried again. Same thing.
Looking at the defrag event in the application log, I find:
--8<-------------------------------------------------------->8---
A volume shrink analysis was initiated on volume (C:). This event log
entry details information about the last unmovable file that could limit >>>> the maximum number of reclaimable bytes.
Diagnostic details:
- The last unmovable file appears to be: \System Volume
Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
- The last cluster of the file is: 0x76e787e
- Shrink potential target (LCN address): 0x466119b
- The NTFS file flags are: ---AD
- Shrink phase: <analysis>
To find more details about this file please use the "fsutil
volume
querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7}
0x76e787e" command.
--8<-------------------------------------------------------->8---
Using the fsutil command, I get:
--8<-------------------------------------------------------->8---
C:\Windows\system32>fsutil volume querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7} 0x76e787e
Cluster 0x00000000076e787e used by ---AD \System Volume
Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
--8<-------------------------------------------------------->8---
Anything else I could try? I have not tried to use other system's
shrinking programs. Could they do a better job? Perhaps this is not
the best newsgroup to ask this question.
Delete all restore points. Yeh, this one hurts when you want to play
with the system.
Then try. I've had luck with this. Then make a new restore point when done.
I don't think I had any restore points. (Lol. Should I have? But I
disabled ``system protection'' anyway to make sure all would be
deleted. I had a lot trash, so I emptied it out.) Then plim! I was
able to get 270 GiB unallocated!
--8<-------------------------------------------------------->8---
THANK YOU!
--8<-------------------------------------------------------->8---
Another option is to use a defrag tool or other utility that will let
you see what is way out there on the last sectors of that partition.
Possibly a file you can move to another drive temp.
I had done a defrag. The tool called ``Optimize Drives''. It did not
do anything for going beyond the 655 MiB. But I opened it up again and
it seems to be giving me a progress of the shrinking process:
https://prnt.sc/HLxeBbx2SBMK
Please make an image of you drive! I've done this before with no
issues, but Santa may not be on your side.
Lol. I'm risking it all. :) May the Force be with me.
Good work!
Most people would have been defeated by the Shrink thing.
You succeeded.
But I would take Alan K's warning seriously. Why ?
You said the word FreeBSD :-/ FreeBSD, for your personal
safety, should ONLY be installed on a standalone (new)
hard drive. It really wants to take the whole drive,
it uses a file system which cannot be serviced with
ordinary tools. It's a really foreign environment (I've tried
to set one up within the last week, and every time I tried
to start the graphics, the damn thing froze on me).
I would not underestimate the pestilence of FreeBSD.
(Install an XOrg and an xinit package and do a
StartX and that will likely work. Getting Gnome
to run, that's where my little project stopped.)
The GNU Guix entry, the last release is 2022. Is there
a working Repository for that distro ? The ISO file is
kind of small, which means operation of the distro will
be quite dependent on a working Repository.
https://distrowatch.com/table.php?distribution=guixsd
*******
Freebsd
If you download one of their pre-loaded VHD files, you can
use that in VirtualBox. Define a machine and add the VHD
as the disk drive for the machine. VirtualBox has the
Virtual Media Manager, and it has a resize capability.
I changed the provided disk image from 6.03GB to 50GB to
allow room for software additions. But the file system,
it needs to be "expanded" to finish the job.
This command, causes the slash partition to expand into
the free space on the VHD disk emulation. Shut down after
this runs as root, and on the next start it should give
a much larger slash.
service growfs onestart # Expanding / to fill a resized VHD
Getting Xorg to run, isn't a big deal, but then, this is not
a DE, and getting the DE to run is a much more complicated job.
[Picture]
https://i.postimg.cc/7bvVJNFF/Free-BSD142-using-their-provided-VHD.gif
Paul
[Picture]What, no win95 in the VM? LOL
https://i.postimg.cc/7bvVJNFF/Free-BSD142-using-their-provided-VHD.gif
Paul
Please followup-To alt.comp.os.windows-10. (Note this is not just a
Windows question, but I believe the Windows newsgroup is more
appropriate: perhaps there are other system's shrinking tool that could
help me here. Thanks for any ideas.)
I'm interested in installing a new operating system. Haven't decided
which yet---perhaps FreeBSD, perhaps GNU Guix. I've got 195 GiB free in
my c: drive plus 655 MiB unallocated which I was able to get from
shrinking the c: drive using the Windows 10 Disk Management tool.
Disk Management (how my storage looks right now)
https://prnt.sc/WZ1fF5S9ARJ1
Disk Management is not able to shrink more. It says it has been done
what it could with those 655 MiB.
https://prnt.sc/ez9O5JUVUVXv
I turned hibernation off, restarted and tried again. Same thing.
Looking at the defrag event in the application log, I find:
--8<-------------------------------------------------------->8---
A volume shrink analysis was initiated on volume (C:). This event log
entry details information about the last unmovable file that could limit
the maximum number of reclaimable bytes.
Diagnostic details:
- The last unmovable file appears to be: \System Volume
Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
- The last cluster of the file is: 0x76e787e
- Shrink potential target (LCN address): 0x466119b
- The NTFS file flags are: ---AD
- Shrink phase: <analysis>
To find more details about this file please use the "fsutil volume querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7}
0x76e787e" command.
--8<-------------------------------------------------------->8---
Using the fsutil command, I get:
--8<-------------------------------------------------------->8--- >C:\Windows\system32>fsutil volume querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7} 0x76e787e
Cluster 0x00000000076e787e used by ---AD \System Volume >Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
--8<-------------------------------------------------------->8---
Anything else I could try? I have not tried to use other system's
shrinking programs. Could they do a better job? Perhaps this is not
the best newsgroup to ask this question.
Please followup-To alt.comp.os.windows-10. (Note this is not just a
Windows question, but I believe the Windows newsgroup is more
appropriate: perhaps there are other system's shrinking tool that could
help me here. Thanks for any ideas.)
I'm interested in installing a new operating system. Haven't decided
which yet---perhaps FreeBSD, perhaps GNU Guix. I've got 195 GiB free in
my c: drive plus 655 MiB unallocated which I was able to get from
shrinking the c: drive using the Windows 10 Disk Management tool.
Disk Management (how my storage looks right now)
https://prnt.sc/WZ1fF5S9ARJ1
Disk Management is not able to shrink more. It says it has been done
what it could with those 655 MiB.
https://prnt.sc/ez9O5JUVUVXv
I turned hibernation off, restarted and tried again. Same thing.
Looking at the defrag event in the application log, I find:
--8<-------------------------------------------------------->8---
A volume shrink analysis was initiated on volume (C:). This event log
entry details information about the last unmovable file that could limit
the maximum number of reclaimable bytes.
Diagnostic details:
- The last unmovable file appears to be: \System Volume
Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
- The last cluster of the file is: 0x76e787e
- Shrink potential target (LCN address): 0x466119b
- The NTFS file flags are: ---AD
- Shrink phase: <analysis>
To find more details about this file please use the "fsutil volume
querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7}
0x76e787e" command. --8<-------------------------------------------------------->8---
Using the fsutil command, I get:
--8<-------------------------------------------------------->8--- C:\Windows\system32>fsutil volume querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7} 0x76e787e
Cluster 0x00000000076e787e used by ---AD \System Volume Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
--8<-------------------------------------------------------->8---
Anything else I could try? I have not tried to use other system's
shrinking programs. Could they do a better job? Perhaps this is not
the best newsgroup to ask this question.
Disk Management is not able to shrink more. It says it has been done
what it could with those 655 MiB.
On 12/24/24 05:33 PM, Paul wrote:
   [Picture]What, no win95 in the VM?  LOL
    https://i.postimg.cc/7bvVJNFF/Free-BSD142-using-their-provided-VHD.gif
   Paul
On 12/24/2024 3:22 PM, Salvador Mirzo wrote:
Anything else I could try? I have not tried to use other system's
shrinking programs. Could they do a better job? Perhaps this is not
the best newsgroup to ask this question.
I use BootIt, which can also help with the multi-boot. My
Win10 is 75GB with only 21 used. I then have Suse, another
Win10 partition, and data partitions.
Disk Management in Windows is all but useless. BootIt or
an equivalent specialized program can do whatever you like.
On 12/24/24 04:05 PM, Salvador Mirzo wrote:
I had done a defrag. The tool called ``Optimize Drives''. It did notOptimize SSD?  I wouldn't.
do anything for going beyond the 655 MiB. But I opened it up again and
it seems to be giving me a progress of the shrinking process:
On Tue, 24 Dec 2024 17:22:57 -0300, Salvador Mirzo wrote:
Disk Management is not able to shrink more. It says it has been done
what it could with those 655 MiB.
Did you defrag first? Windows has a way of using non-contiguous areas and spreading them all over.
The problem with more permissive disk management tools, is
they will tell you "hey, I know how to do that". Then
when you click the button, your disk contents are destroyed :-/
 Winders can make a kind of a mess out of "C:" with
 'unmovable' files and 'recovery' stuff kinda scattered
 all around.
 If you are using a desktop then just install another
 HDD and use that. Some laptops have a socket for another
 m12 card or similar. "-ix' systems are much smaller than
 Winders, so you don't need a huge second drive.
 Otherwise, if even gparted or the 'Acronis' version
 for your existing HDD won't straighten it out there's
 little choice but to back up, manually format the
 disk with gparted into two distinct partitions and
 re-install Winders. Not terribly attractive ...
 I've wondered if the Win scheme is a subtle form of
 Bill "linux-proofing" PCs :-)
I'm interested in installing a new operating system. Haven't decided
which yet---perhaps FreeBSD, perhaps GNU Guix. I've got 195 GiB free in
my c: drive plus 655 MiB unallocated which I was able to get from
shrinking the c: drive using the Windows 10 Disk Management tool.
Anything else I could try? I have not tried to use other system's
shrinking programs. Could they do a better job? Perhaps this is not
the best newsgroup to ask this question.
On 12/24/24 3:22 PM, Salvador Mirzo wrote:
Please followup-To alt.comp.os.windows-10. (Note this is not just a
Windows question, but I believe the Windows newsgroup is more
appropriate: perhaps there are other system's shrinking tool that could
help me here. Thanks for any ideas.)
I'm interested in installing a new operating system. Haven't decided
which yet---perhaps FreeBSD, perhaps GNU Guix. I've got 195 GiB free in
my c: drive plus 655 MiB unallocated which I was able to get from
shrinking the c: drive using the Windows 10 Disk Management tool.
  Disk Management (how my storage looks right now)
  https://prnt.sc/WZ1fF5S9ARJ1
Disk Management is not able to shrink more. It says it has been done
what it could with those 655 MiB.
  https://prnt.sc/ez9O5JUVUVXv
I turned hibernation off, restarted and tried again. Same thing.
Looking at the defrag event in the application log, I find:
--8<-------------------------------------------------------->8---
A volume shrink analysis was initiated on volume (C:). This event log
entry details information about the last unmovable file that could limit
the maximum number of reclaimable bytes.
  Diagnostic details:
 - The last unmovable file appears to be: \System Volume
   Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
 - The last cluster of the file is: 0x76e787e
 - Shrink potential target (LCN address): 0x466119b
 - The NTFS file flags are: ---AD
 - Shrink phase: <analysis>
  To find more details about this file please use the "fsutil volume
 querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7}
 0x76e787e" command.
--8<-------------------------------------------------------->8---
Using the fsutil command, I get:
--8<-------------------------------------------------------->8---
C:\Windows\system32>fsutil volume querycluster \\?\Volume{f5e639db-a758-4dfa-9804-d5d4d0286fb7} 0x76e787e
Cluster 0x00000000076e787e used by ---AD \System Volume
Information\{fba11b84-afde-11ef-adfe-48684ad40403}{3808876b-c176-4e48-b7ae-04046e6cc752}::$DATA
--8<-------------------------------------------------------->8---
Anything else I could try? I have not tried to use other system's
shrinking programs. Could they do a better job? Perhaps this is not
the best newsgroup to ask this question.
 Winders can make a kind of a mess out of "C:" with
 'unmovable' files and 'recovery' stuff kinda scattered
 all around.
 If you are using a desktop then just install another
 HDD and use that. Some laptops have a socket for another
 m12 card or similar. "-ix' systems are much smaller than
 Winders, so you don't need a huge second drive.
 Otherwise, if even gparted or the 'Acronis' version
 for your existing HDD won't straighten it out there's
 little choice but to back up, manually format the
 disk with gparted into two distinct partitions and
 re-install Winders. Not terribly attractive ...
 I've wondered if the Win scheme is a subtle form of
 Bill "linux-proofing" PCs :-)
On Tue, 12/24/2024 5:21 PM, Alan K. wrote:
On 12/24/24 04:05 PM, Salvador Mirzo wrote:
I had done a defrag. The tool called ``Optimize Drives''. It did not >>> do anything for going beyond the 655 MiB. But I opened it up again and >>> it seems to be giving me a progress of the shrinking process:Optimize SSD?  I wouldn't.
the Optimize panel has two functions in Windows.
1) If you do Properties : Tools : Optimize on a partition,
that uses TRIM when the software detects it is an SSD.
2) If you are in Disk Management, and you Request A Shrink,
in the background where you cannot see it, the Optimize Panel
shows a packing and defragmentation happening on the SSD,
as your valuables are squeezed and moved to the left within
the partition. The "defrag API" is being used, to move many
materials around. There are some partition items the shrink
will not move, and other tools or environments can make the
partition even smaller.
To optimize a HDD:
1) Defrag is supported. Files larger than 50MB are not defragmented.
Using a third party tool like JKDefrag, can defragment the remaining
files, if you want to tidy those up afterwards.
To optimize a SSD:
1) The most common operation is TRIM, which takes a couple seconds as
a list of LBAs are sent to the SSD drive processor. This command
is a "hint", which the drive can ignore if it wants. The SSD processor
moves unused storage space to the Free Pool, as a result of a TRIM hint.
2) In cases where the SSD has a lot of shadow copies, and it takes
a lot of effort to figure out where to write, the Optimize panel
can switch to a defragment strategy for one run, to "clean up" the
disk. To improve slow COW situations, the defragmenter API has a
minimum block size it uses, which is larger than normal. And this is
a block size selected to be compatible with shadow copies. Since I don't
have a lot of persistent shadow copies on C; , the Optimize panel has
never ever used this (2) option. But for some people, they will need
this treatment, to restore write performance on the SSD.
And while the Optimize panel is very clever, it has in the past, on
many occasions, mixed up the SSD versus HDD determination. For example,
it may offer to "TRIM" your HDD, which the HDD and its command parser
will ignore. You can go over to the Command Prompt window and do
"defrag,exe X: " if you want to force a defragmentation of whatever X: happens to be. If X: is on an SSD, then it defragments on an SSD.
It does this, because... you asked it to. The Windows GUIs tend to be "defensive", the command line, less so.
We say that defrag on an SSD is pointless and uses lifetime. However, I'm thinking that when the purpose is to shrink a partition, defrag on an SSD does have purpose. Maybe there could be a defrag software that would simply fill the holes at the startof the sector count, and move files to the start, without sorting the sectors.
I don't know if the windows system tool does this. Compacting, rather than a traditional defragging.
On Wed, 12/25/2024 9:24 AM, Carlos E.R. wrote:of the sector count, and move files to the start, without sorting the sectors. >>
We say that defrag on an SSD is pointless and uses lifetime. However, I'm thinking that when the purpose is to shrink a partition, defrag on an SSD does have purpose. Maybe there could be a defrag software that would simply fill the holes at the start
I don't know if the windows system tool does this. Compacting, rather than a traditional defragging.
The Windows defrag this time, was written in house, and it's pretty clever.
The WinXP defragmenter was written by President Software (a third party)
and placed into WinXP by Microsoft. It was a "perfect defragmenter", which sought to make a "continuous green bar" out of your files. It is human
nature for the customers to clap their hands, when the green bar is there.
By the time we get to Win10, the defrag is still using the same low level (power safe) defrag. But this time, the policy implemented is a practical one. Defragmentation is done to improve performance. Any kind of defrag
which does not matter, is not done. This is why large gigabyte sized files, are not defragmented. Even if they have hundreds of fragments on the hard drive.
The defragmenter both defragments and consolidates. It moves some
structures downwards. This takes a fair amount of time, out of the
total time the tool runs.
However, they leave "gaps" between files. It's a kind of cheese with
holes -- the objective is no longer to make a green bar where the
customers will clap their hands. The gaps are there, for some sort of strategy at write time. Maybe if the NTFS writer knows an operation
will be a small one, it uses a gap. I didn't think the writer did things
like that, at least in the past, the writer policy was ultra simple
and not all that good.
From a heuristic point of view, it alternates between defrag and consolidating, and makes a "medium weight Swiss cheese" from your
disk. And apparently this is optimal for writing later.
Also, while the Optimizer is running, all sorts of ETW recorders are
running, making a mess out of the disk with their writes :-) The green
bar crowd would go nuts if they saw that :-)
I watch these things with the JKDefrag block display, just for the comedy.
The tool is multi-pass, and it could do 14-15 passes in exceptional cases, and only 5 passes for slight levels of "disorder". I don't know
all the details of what it is doing, but that's a description of a part of it.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 508 |
Nodes: | 16 (3 / 13) |
Uptime: | 219:54:39 |
Calls: | 9,974 |
Calls today: | 5 |
Files: | 13,833 |
Messages: | 6,358,762 |