/trim switch

User discussion and information resource forum for Image products.

/trim switch

Postby Brian K » Wed Oct 25, 2017 1:07 pm

I'm confused about TRIM. Say you have a 100 GB SSD and the OS contains 50 GB of data. You run TRIM, create an image and then restore the image. Does the image restore to the original LBAs? (I know it's a SSD) In that case there is nothing to be Trimmed after the restore. Or is there 50 GB of data to be Trimmed after the restore.
Brian K
 
Posts: 1175
Joined: Thu Aug 11, 2011 6:11 pm

Re: /trim switch

Postby TeraByte Support » Wed Oct 25, 2017 8:00 pm

the trim is done on the target area before restoring/copying. that's it.


"Brian K" wrote in message news:14283@public.image...

I'm confused about TRIM. Say you have a 100 GB SSD and the OS contains 50 GB
of data. You run TRIM, create an image and then restore the image. Does the
image restore to the original LBAs? (I know it's a SSD) In that case there
is nothing to be Trimmed after the restore. Or is there 50 GB of data to be
Trimmed after the restore.

TeraByte Support
 
Posts: 2313
Joined: Thu May 05, 2011 3:37 pm

Re: /trim switch

Postby Brian K » Wed Oct 25, 2017 8:04 pm

Sorry, my question was a general one. I was referring to not using the /trim switch. Does the restored partition need to be Trimmed under my circumstances in the first post?
Brian K
 
Posts: 1175
Joined: Thu Aug 11, 2011 6:11 pm

Re: /trim switch

Postby TeraByte Support » Thu Oct 26, 2017 8:14 am

nothing has to be trimmed. if you wanted to trim after the restore, you
can use partwork. The OS will trim as files are deleted, if it supports
it and that option is enabled. If you had areas not trimmed prior to
restore and restored without /trim, they would remain untrimmed (until file
created there then deleted presuming os support for trim).

"Brian K" wrote in message news:14289@public.image...

Sorry, my question was a general one. I was referring to not using the /trim
switch. Does the restored partition need to be Trimmed under my
circumstances in the first post?

TeraByte Support
 
Posts: 2313
Joined: Thu May 05, 2011 3:37 pm


Return to Image for DOS/Linux/Windows

cron