Are You Killing Your SSD with Dual Boot ?

Chat about anything related to Linux Mint
Post Reply
User avatar
bob466
Level 5
Level 5
Posts: 600
Joined: Mon May 15, 2017 5:23 am
Location: Australia

Are You Killing Your SSD with Dual Boot ?

Post by bob466 » Tue Sep 10, 2019 3:03 am

As we know you should never Defrag an SSD and since Linux doesn't throw files all over the place like Windoze does...you never need to Defrag your Linux System. :D

However Windoze has Auto-Defrag Enabled by default and it you Dual Boot and don't Disable Auto-Defrag...you'd better start saving for a new SSD. :( :shock:

I don't Dual Boot but I have a Windoze 7 Virtual Machine and one of the first things I did when I switched to an SSD was to Disable Auto-Defrag even thought my VM is a file and not a Partition...I didn't want to take the risk. Image

I haven't seen this mentioned on the Forum...so I thought I would as it's important...hope this helps. Image
Linux For Ever...Windoze Never Image

User avatar
catweazel
Level 19
Level 19
Posts: 9181
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Are You Killing Your SSD with Dual Boot ?

Post by catweazel » Tue Sep 10, 2019 4:38 am

bob466 wrote:
Tue Sep 10, 2019 3:03 am
As we know you should never Defrag an SSD and since Linux doesn't throw files all over the place like Windoze does...you never need to Defrag your Linux System. :D

However Windoze has Auto-Defrag Enabled by default and it you Dual Boot and don't Disable Auto-Defrag...you'd better start saving for a new SSD. :( :shock:
FUD.

Windwoes 7 generally correctly identifies SSDs and turns off defragmentation for those drives. There are however exceptions to correctly identifying that a device is an SSD, so it makes sense to check that defragmentation is off for a particular SSD. Furthermore disabling auto-defrag disables it for all attached drives.

It is not true in most cases that "Windoze has Auto-Defrag Enabled by default and it you Dual Boot and don't Disable Auto-Defrag...you'd better start saving for a new SSD."
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
bob466
Level 5
Level 5
Posts: 600
Joined: Mon May 15, 2017 5:23 am
Location: Australia

Re: Are You Killing Your SSD with Dual Boot ?

Post by bob466 » Tue Sep 10, 2019 5:34 am

catweazel wrote:
Tue Sep 10, 2019 4:38 am
FUD.

Windwoes 7 generally correctly identifies SSDs and turns off defragmentation for those drives. There are however exceptions to correctly identifying that a device is an SSD, so it makes sense to check that defragmentation is off for a particular SSD. Furthermore disabling auto-defrag disables it for all attached drives.

It is not true in most cases that "Windoze has Auto-Defrag Enabled by default and it you Dual Boot and don't Disable Auto-Defrag...you'd better start saving for a new SSD."
Not wanting to start an argument but...
https://www.hanselman.com/blog/TheRealA ... urSSD.aspx
https://www.laptopmag.com/articles/defr ... ve-windows
https://superuser.com/questions/1210453 ... gmentation

Leaving Auto-Defrag Enabled is to do so at your own Risk. :(
Linux For Ever...Windoze Never Image

User avatar
catweazel
Level 19
Level 19
Posts: 9181
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Are You Killing Your SSD with Dual Boot ?

Post by catweazel » Tue Sep 10, 2019 5:40 am

bob466 wrote:
Tue Sep 10, 2019 5:34 am
Not wanting to start an argument but...
Of course not.

From the first link, "It turns out that the answer is more nuanced than just yes or no...", which is precisely the intent of my statements above. Additionally, Windwoes will defragment a SSD if volume snapshots are turned on... "This is by design and necessary due to..."

OOPSIES!

From the second link, "So with SSDs, just let Windows do its thing and don't worry about defragmentation."

OOPSIES!

And the third link also echoes what I wrote, "however exceptions to correctly identifying that a device is an SSD".

Did you read those links before you posted them?
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
Pjotr
Level 21
Level 21
Posts: 13158
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Are You Killing Your SSD with Dual Boot ?

Post by Pjotr » Tue Sep 10, 2019 6:33 am

catweazel, you grumpy young man.... :lol:

To quote yourself:
Windows 7 generally correctly identifies SSDs and turns off defragmentation for those drives. There are however exceptions to correctly identifying that a device is an SSD, so it makes sense to check that defragmentation is off for a particular SSD.
So: thank you bob466, for reminding us that it makes sense to always disable auto-defrag in Windows 7, probably even in a VM. I hadn't thought of disabling it in my Windows 7 VM, so I'm going to do that right away.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

athi
Level 6
Level 6
Posts: 1235
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: Are You Killing Your SSD with Dual Boot ?

Post by athi » Tue Sep 10, 2019 8:34 am

With TRIM and wear levelling algorithm, which monitor write/erase operations to even out wear on the cells, automatic defrag is a minor issue. This is stated in the conclusion of the first article provided by bob466.
Conclusion

No, Windows is not foolishly or blindly running a defrag on your SSD every night, and no, Windows defrag isn't shortening the life of your SSD unnecessarily. Modern SSDs don't work the same way that we are used to with traditional hard drives.

Yes, your SSD's file system sometimes needs a kind of defragmentation and that's handled by Windows, monthly by default, when appropriate. The intent is to maximize performance and a long life. If you disable defragmentation completely, you are taking a risk that your filesystem metadata could reach maximum fragmentation and get you potentially in trouble.
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

User avatar
sphyrth
Level 4
Level 4
Posts: 329
Joined: Mon Jan 04, 2016 7:14 am

Re: Are You Killing Your SSD with Dual Boot ?

Post by sphyrth » Tue Sep 10, 2019 6:22 pm

You see, bob466, we're past the Negative Arguments Era ("I am a Linux user because I hate Windows."). We're already in the Positive Arguments Era ("I am a Linux user because <insert distro> has all the things I need to get my job done. This is why you're getting these replies. As much as possible we don't use propaganda language anymore, not being afraid of looking at Windows' TRUE strengths and weaknesses.

Even if we assume that Windows doesn't automatically differentiate SSD and HDD, we generally couldn't care less. If we can live with our distro's shortcomings, then you can expect Windows users putting up with its shortcomings... even in Dual Boot situations. It's a user preference issue after all.

Given all that, I got 3 Major Issues that make me stay away from Windows 10, the Big 3 that I believe Microsoft can't get rid of (this is my own tinfoil hat, so you can call me out on hypocrisy regarding this :) ):
  1. Cortana
  2. Telemetry
  3. Forced Updates
I have a favorite game. It's on my Youtube Channel.

User avatar
bob466
Level 5
Level 5
Posts: 600
Joined: Mon May 15, 2017 5:23 am
Location: Australia

Re: Are You Killing Your SSD with Dual Boot ?

Post by bob466 » Wed Sep 11, 2019 1:45 am

What have we learnt...in Windoze 7 to 10 Auto-Defrag is enabled by default and will defrag your SSD once a month if not disabled (nearly what I said). In one Link We're told don't worry about it because it will extend the life of the SSD. :lol: :lol: :lol:

At the end of the day...people can believe and do whatever they like...it's their SSD. Image :(

As for me I want my SSD to last a long time...that's why I followed Pjotr's excellent guide...Optimizing your SSD for long life. Image :D :D
Linux For Ever...Windoze Never Image

ZakGordon
Level 4
Level 4
Posts: 333
Joined: Thu Feb 12, 2015 11:07 am

Re: Are You Killing Your SSD with Dual Boot ?

Post by ZakGordon » Wed Sep 11, 2019 1:19 pm

What about if you dual-boot with each OS on it's own SSD?
Laptop overheating issues? Check links below:
TLP
itsfoss guide
If none of the above fixes the issue, moving from Cinnamon to XFCE will give around -5 to -10 degrees C improvements.

Rocky Bennett
Level 5
Level 5
Posts: 525
Joined: Tue May 12, 2015 6:22 pm

Re: Are You Killing Your SSD with Dual Boot ?

Post by Rocky Bennett » Sun Sep 15, 2019 12:47 pm

To the OP, You might have some mis-conceptions about SSDs. I have been using the same SSD for a dual boot since 2014, that seems like plenty of longevity to me. Most of my SSDs I bought between 2014 and 2016 and I have never had any kind of failure with an SSD. Every SSD that I have ever installed seems robust and trouble free.

User avatar
Portreve
Level 7
Level 7
Posts: 1994
Joined: Mon Apr 18, 2011 12:03 am
Location: Florida
Contact:

Re: Are You Killing Your SSD with Dual Boot ?

Post by Portreve » Sun Sep 15, 2019 3:17 pm

Y'know, this reminds me of a song...

Strummin' my bytes with its fingers
Singin' my files with its I/O
Killing me softly with defrag
Killing me softly with defrag, wasting my whole life
With its writes, killing me softly with defrag.
I'm so down wit' dat', yo, dass ich unter dem Beton bin.

Presently rocking LinuxMint 19.2 Cinnamon.

Remember to mark your fixed problem [SOLVED].

All in all, you're just another brick in the wall.

User avatar
Pjotr
Level 21
Level 21
Posts: 13158
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Are You Killing Your SSD with Dual Boot ?

Post by Pjotr » Sun Sep 15, 2019 4:26 pm

Portreve wrote:
Sun Sep 15, 2019 3:17 pm
Y'know, this reminds me of a song...

Strummin' my bytes with its fingers
Singin' my files with its I/O
Killing me softly with defrag
Killing me softly with defrag, wasting my whole life
With its writes, killing me softly with defrag.
This sounds more like "alcohol's soft middle-age" to me. :lol:
http://www.pink-floyd-lyrics.com/html/p ... yrics.html
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Moem
Level 19
Level 19
Posts: 9166
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Are You Killing Your SSD with Dual Boot ?

Post by Moem » Sun Sep 15, 2019 5:33 pm

Portreve wrote:
Sun Sep 15, 2019 3:17 pm
Y'know, this reminds me of a song...

Strummin' my bytes with its fingers
Singin' my files with its I/O
Killing me softly with defrag
Killing me softly with defrag, wasting my whole life
With its writes, killing me softly with defrag.

I heard it would be faster
It would store all my files
And so I made my order
and waited for a while
And there it was, this new drive
It really seemed to fly

Strummin' my bytes with its fingers...
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

Minux1
Level 2
Level 2
Posts: 55
Joined: Tue Aug 06, 2019 1:49 am

Re: Are You Killing Your SSD with Dual Boot ?

Post by Minux1 » Sun Sep 15, 2019 5:51 pm

I´m thinking of dual booting LM MATE v19.2 and the latest version of Kali Large.
I am starting with a pristine new outta box Crucial 1 TB SSD so I´m particularly interested in this discussion.
I have several Linux eligible laptops so I´m debating whether or not to have a Kali dedicated laptop or dual boot.
Dual/triple/quadruple booting Windows O/Ss didn´t seem to be fraught with the same snags and pitfalls that Linux presents.
Just install the latest Windows O/S last and everything fell into place.
No messing with GRUBs, command line code or any of that stuff.
A reasonably adept 10 year old could do it. :mrgreen:

User avatar
Pjotr
Level 21
Level 21
Posts: 13158
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Are You Killing Your SSD with Dual Boot ?

Post by Pjotr » Sun Sep 15, 2019 6:01 pm

Minux1 wrote:
Sun Sep 15, 2019 5:51 pm
I´m thinking of dual booting LM MATE v19.2 and the latest version of Kali Large.
I am starting with a pristine new outta box Crucial 1 TB SSD so I´m particularly interested in this discussion.
I have several Linux eligible laptops so I´m debating whether or not to have a Kali dedicated laptop or dual boot.
Dual/triple/quadruple booting Windows O/Ss didn´t seem to be fraught with the same snags that Linux presents.
Just install the latest Windows O/S last and everything fell into place.
The thing is, that with each new Linux distro you install, you pass on the dominant Grub to that new Linux. Unless you take care not to, which requires some specialistic knowledge. This complicates the hell out of your multiboot setup.

I learned that the hard way: I once created a tenfold bootable machine. Crazy, I know, but it was in the beginning of my Linux adventure, over a decade ago. :mrgreen:

It's far easier to simply use one reliable "diesel engine" Linux as your single OS, with other Linuxes as VM's in VirtualBox. The toys in the sandbox, one rock-solid distro as host. They don't come much more reliable and stable than Linux Mint....
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Post Reply

Return to “Chat about Linux Mint”