SSD read-only state.
-
Knowing full well that if you continually beat on an ssd folder such as it can be when developing a software program and continually editing and compiling / running it that you can exceed the write count capability of your ssd device, I did it anyway cloning my spinner drive in my laptop to an ssd last October and beating the crap out of the project folder since. Today I opened up vs to monkey around with a new feature and when I opened the view in question and put my cursor in a razor block and typed, instead of getting the if( I intended I got a vs crash dialog. Experimenting, I found that if I tried to type anything in any razor block it would crash but I could edit the javascript and html without issue. Also if I opened a different mvc project and attempted to type in a razor block it would work. The error was a CLR20r3 which seems is rather generic and affects many different packages according to googling the issue. Not "getting" what was going on, I updated vs, I ran a malwarebytes scan 0 issues........ And was stumped. I have imaged the machine two days prior but hate bare metal restoring over what might be trivial but what is it? Then I thought, you don't suppose some blocks in the project folder have gone read only do ya? So I copied the project folder to a new one, renamed the possible read only folder and the new copy to be what it should be, opened up the project and the problem was... gone! So yeah, I leave this here on the internet as a breadcrumb for others. Time to beat on some new blocks. :-D And consider a fresh ssd. They're pretty cheap anymore.
-
Knowing full well that if you continually beat on an ssd folder such as it can be when developing a software program and continually editing and compiling / running it that you can exceed the write count capability of your ssd device, I did it anyway cloning my spinner drive in my laptop to an ssd last October and beating the crap out of the project folder since. Today I opened up vs to monkey around with a new feature and when I opened the view in question and put my cursor in a razor block and typed, instead of getting the if( I intended I got a vs crash dialog. Experimenting, I found that if I tried to type anything in any razor block it would crash but I could edit the javascript and html without issue. Also if I opened a different mvc project and attempted to type in a razor block it would work. The error was a CLR20r3 which seems is rather generic and affects many different packages according to googling the issue. Not "getting" what was going on, I updated vs, I ran a malwarebytes scan 0 issues........ And was stumped. I have imaged the machine two days prior but hate bare metal restoring over what might be trivial but what is it? Then I thought, you don't suppose some blocks in the project folder have gone read only do ya? So I copied the project folder to a new one, renamed the possible read only folder and the new copy to be what it should be, opened up the project and the problem was... gone! So yeah, I leave this here on the internet as a breadcrumb for others. Time to beat on some new blocks. :-D And consider a fresh ssd. They're pretty cheap anymore.
-
Knowing full well that if you continually beat on an ssd folder such as it can be when developing a software program and continually editing and compiling / running it that you can exceed the write count capability of your ssd device, I did it anyway cloning my spinner drive in my laptop to an ssd last October and beating the crap out of the project folder since. Today I opened up vs to monkey around with a new feature and when I opened the view in question and put my cursor in a razor block and typed, instead of getting the if( I intended I got a vs crash dialog. Experimenting, I found that if I tried to type anything in any razor block it would crash but I could edit the javascript and html without issue. Also if I opened a different mvc project and attempted to type in a razor block it would work. The error was a CLR20r3 which seems is rather generic and affects many different packages according to googling the issue. Not "getting" what was going on, I updated vs, I ran a malwarebytes scan 0 issues........ And was stumped. I have imaged the machine two days prior but hate bare metal restoring over what might be trivial but what is it? Then I thought, you don't suppose some blocks in the project folder have gone read only do ya? So I copied the project folder to a new one, renamed the possible read only folder and the new copy to be what it should be, opened up the project and the problem was... gone! So yeah, I leave this here on the internet as a breadcrumb for others. Time to beat on some new blocks. :-D And consider a fresh ssd. They're pretty cheap anymore.
Ron Anders wrote:
Then I thought, you don't suppose some blocks in the project folder have got read only do ya?
That's not how SSDs work. In order to prevent a single block being "pounded upon" too much (think of the FAT table), they use wear leveling. This means that a particular LBA doesn't map to a particular physical block. Some physical blocks on the SSD are reserved as "spares", to handle the case of blocks that have gone read-only. This is handled transparently by the SSD's firmware. The SSD will typically go read-only only when all the spare blocks have been used. Your description shows that this was not the case. I would look elsewhere for the cause of the error in VS.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
So was your SSD dead because of too many writes?
"A little time, a little trouble, your better day" Badfinger
It's not dead, it's only resting :-\ You might also be interested in: How to Estimate the Remaining Lifespan of Your SSD[^]
-
Ron Anders wrote:
Then I thought, you don't suppose some blocks in the project folder have got read only do ya?
That's not how SSDs work. In order to prevent a single block being "pounded upon" too much (think of the FAT table), they use wear leveling. This means that a particular LBA doesn't map to a particular physical block. Some physical blocks on the SSD are reserved as "spares", to handle the case of blocks that have gone read-only. This is handled transparently by the SSD's firmware. The SSD will typically go read-only only when all the spare blocks have been used. Your description shows that this was not the case. I would look elsewhere for the cause of the error in VS.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
What Dan said. I have three laptops in front of me. They all have SSDs for many years. Thinking about it, the one I am typing on is almost 5 years old. The second one is nigh 9 years old (I'd have to do some historical research, but I tend to replace my equipment every 3-4 years). The last one is brand new, and I haven't had the time to stage all of the VMs I want to use. I've never had an SSD failure. And these are dev laptops that grind through compile processing, etc. At first I was concerned about infant death of an SSD, but it's more likely you'll be in a car accident.
Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.
-
It's not dead, it's only resting :-\ You might also be interested in: How to Estimate the Remaining Lifespan of Your SSD[^]
:confused: There aren't any fjords in Thailand, Korea, or China...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
:confused: There aren't any fjords in Thailand, Korea, or China...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
Well, now we'll have to wait for a reaction like "what's this all about ?" :-\
-
Knowing full well that if you continually beat on an ssd folder such as it can be when developing a software program and continually editing and compiling / running it that you can exceed the write count capability of your ssd device, I did it anyway cloning my spinner drive in my laptop to an ssd last October and beating the crap out of the project folder since. Today I opened up vs to monkey around with a new feature and when I opened the view in question and put my cursor in a razor block and typed, instead of getting the if( I intended I got a vs crash dialog. Experimenting, I found that if I tried to type anything in any razor block it would crash but I could edit the javascript and html without issue. Also if I opened a different mvc project and attempted to type in a razor block it would work. The error was a CLR20r3 which seems is rather generic and affects many different packages according to googling the issue. Not "getting" what was going on, I updated vs, I ran a malwarebytes scan 0 issues........ And was stumped. I have imaged the machine two days prior but hate bare metal restoring over what might be trivial but what is it? Then I thought, you don't suppose some blocks in the project folder have gone read only do ya? So I copied the project folder to a new one, renamed the possible read only folder and the new copy to be what it should be, opened up the project and the problem was... gone! So yeah, I leave this here on the internet as a breadcrumb for others. Time to beat on some new blocks. :-D And consider a fresh ssd. They're pretty cheap anymore.
-
The fact that you can edit in other tools tells me the problem is with the VS project and not your SSD. The error you received also occurs on spinning rust drives, so it's not a drive error.
Sorry, I guess I wasn't clear. I opened another project with the same vs (not another tool) and it worked.
-
Knowing full well that if you continually beat on an ssd folder such as it can be when developing a software program and continually editing and compiling / running it that you can exceed the write count capability of your ssd device, I did it anyway cloning my spinner drive in my laptop to an ssd last October and beating the crap out of the project folder since. Today I opened up vs to monkey around with a new feature and when I opened the view in question and put my cursor in a razor block and typed, instead of getting the if( I intended I got a vs crash dialog. Experimenting, I found that if I tried to type anything in any razor block it would crash but I could edit the javascript and html without issue. Also if I opened a different mvc project and attempted to type in a razor block it would work. The error was a CLR20r3 which seems is rather generic and affects many different packages according to googling the issue. Not "getting" what was going on, I updated vs, I ran a malwarebytes scan 0 issues........ And was stumped. I have imaged the machine two days prior but hate bare metal restoring over what might be trivial but what is it? Then I thought, you don't suppose some blocks in the project folder have gone read only do ya? So I copied the project folder to a new one, renamed the possible read only folder and the new copy to be what it should be, opened up the project and the problem was... gone! So yeah, I leave this here on the internet as a breadcrumb for others. Time to beat on some new blocks. :-D And consider a fresh ssd. They're pretty cheap anymore.
I've had an unprintable character in my source code that would foul up VS. They'd be at the end of a line and I would only notice them if I hit End. No idea how it got there but removing it fixed things.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
-
It's not dead, it's only resting :-\ You might also be interested in: How to Estimate the Remaining Lifespan of Your SSD[^]
-
Sorry, I guess I wasn't clear. I opened another project with the same vs (not another tool) and it worked.
-
:confused: There aren't any fjords in Thailand, Korea, or China...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
He said resting, not pining :)
Paul Sanders. If I had more time, I would have written a shorter letter - Blaise Pascal. Some of my best work is in the undo buffer.
-
Knowing full well that if you continually beat on an ssd folder such as it can be when developing a software program and continually editing and compiling / running it that you can exceed the write count capability of your ssd device, I did it anyway cloning my spinner drive in my laptop to an ssd last October and beating the crap out of the project folder since. Today I opened up vs to monkey around with a new feature and when I opened the view in question and put my cursor in a razor block and typed, instead of getting the if( I intended I got a vs crash dialog. Experimenting, I found that if I tried to type anything in any razor block it would crash but I could edit the javascript and html without issue. Also if I opened a different mvc project and attempted to type in a razor block it would work. The error was a CLR20r3 which seems is rather generic and affects many different packages according to googling the issue. Not "getting" what was going on, I updated vs, I ran a malwarebytes scan 0 issues........ And was stumped. I have imaged the machine two days prior but hate bare metal restoring over what might be trivial but what is it? Then I thought, you don't suppose some blocks in the project folder have gone read only do ya? So I copied the project folder to a new one, renamed the possible read only folder and the new copy to be what it should be, opened up the project and the problem was... gone! So yeah, I leave this here on the internet as a breadcrumb for others. Time to beat on some new blocks. :-D And consider a fresh ssd. They're pretty cheap anymore.
I have my Windows installation and all my apps on an SSD. Everything else (so all my data, including my VS projects, my email folders, etc) are on spinning rust. This gives me excellent performance without hammering the SSD.
Paul Sanders. If I had more time, I would have written a shorter letter - Blaise Pascal. Some of my best work is in the undo buffer.
-
It's not dead, it's only resting :-\ You might also be interested in: How to Estimate the Remaining Lifespan of Your SSD[^]
So - the Norwegian Blue SSD …
-
I have my Windows installation and all my apps on an SSD. Everything else (so all my data, including my VS projects, my email folders, etc) are on spinning rust. This gives me excellent performance without hammering the SSD.
Paul Sanders. If I had more time, I would have written a shorter letter - Blaise Pascal. Some of my best work is in the undo buffer.
That's how I have my DAW in the rumpus room configured because the latest written tune of the month is also a never finished source of obsession. :-D
-
Knowing full well that if you continually beat on an ssd folder such as it can be when developing a software program and continually editing and compiling / running it that you can exceed the write count capability of your ssd device, I did it anyway cloning my spinner drive in my laptop to an ssd last October and beating the crap out of the project folder since. Today I opened up vs to monkey around with a new feature and when I opened the view in question and put my cursor in a razor block and typed, instead of getting the if( I intended I got a vs crash dialog. Experimenting, I found that if I tried to type anything in any razor block it would crash but I could edit the javascript and html without issue. Also if I opened a different mvc project and attempted to type in a razor block it would work. The error was a CLR20r3 which seems is rather generic and affects many different packages according to googling the issue. Not "getting" what was going on, I updated vs, I ran a malwarebytes scan 0 issues........ And was stumped. I have imaged the machine two days prior but hate bare metal restoring over what might be trivial but what is it? Then I thought, you don't suppose some blocks in the project folder have gone read only do ya? So I copied the project folder to a new one, renamed the possible read only folder and the new copy to be what it should be, opened up the project and the problem was... gone! So yeah, I leave this here on the internet as a breadcrumb for others. Time to beat on some new blocks. :-D And consider a fresh ssd. They're pretty cheap anymore.
What Daniel said. I have SSD's in various laptops and am constantly doing code development and database operations. Never had a problem, and some of these SSD's are 5+ years old.
Latest Article:
Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a Domain -
What Dan said. I have three laptops in front of me. They all have SSDs for many years. Thinking about it, the one I am typing on is almost 5 years old. The second one is nigh 9 years old (I'd have to do some historical research, but I tend to replace my equipment every 3-4 years). The last one is brand new, and I haven't had the time to stage all of the VMs I want to use. I've never had an SSD failure. And these are dev laptops that grind through compile processing, etc. At first I was concerned about infant death of an SSD, but it's more likely you'll be in a car accident.
Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.
Agreed. I've had only 1 "set" of SSDs from Crucial screw me over. They had a firmware bug, and after X hours of being ON, they would start powering off! BTW, we don't use Crucial SSDs anymore. We had 3 computers (laptops) with this issue. I Found it first. Then another developer. The third developer was able to clone his drive and spare himself a lot of heart burn. The Second Developer was stuck in a conundrum. The time the SSD would stay alive << the time required to clone! Thankfully we have spare drives, clones, and backups. But it was REALLY hard to figure out at first. The machine would boot, then just crash with the drive going offline. In general, I've tested an SSD on a TiVo for years. Wear leveling works. And if your SSD is so old, it doesn't have wear leveling... Then you A) Should have FAILED already! B) Should have cloned it and upgraded about 2-3 years ago!
-
Knowing full well that if you continually beat on an ssd folder such as it can be when developing a software program and continually editing and compiling / running it that you can exceed the write count capability of your ssd device, I did it anyway cloning my spinner drive in my laptop to an ssd last October and beating the crap out of the project folder since. Today I opened up vs to monkey around with a new feature and when I opened the view in question and put my cursor in a razor block and typed, instead of getting the if( I intended I got a vs crash dialog. Experimenting, I found that if I tried to type anything in any razor block it would crash but I could edit the javascript and html without issue. Also if I opened a different mvc project and attempted to type in a razor block it would work. The error was a CLR20r3 which seems is rather generic and affects many different packages according to googling the issue. Not "getting" what was going on, I updated vs, I ran a malwarebytes scan 0 issues........ And was stumped. I have imaged the machine two days prior but hate bare metal restoring over what might be trivial but what is it? Then I thought, you don't suppose some blocks in the project folder have gone read only do ya? So I copied the project folder to a new one, renamed the possible read only folder and the new copy to be what it should be, opened up the project and the problem was... gone! So yeah, I leave this here on the internet as a breadcrumb for others. Time to beat on some new blocks. :-D And consider a fresh ssd. They're pretty cheap anymore.
Hmm, could be a file is being locked? Did you try rebooting the PC :-)
-
Ron Anders wrote:
Then I thought, you don't suppose some blocks in the project folder have got read only do ya?
That's not how SSDs work. In order to prevent a single block being "pounded upon" too much (think of the FAT table), they use wear leveling. This means that a particular LBA doesn't map to a particular physical block. Some physical blocks on the SSD are reserved as "spares", to handle the case of blocks that have gone read-only. This is handled transparently by the SSD's firmware. The SSD will typically go read-only only when all the spare blocks have been used. Your description shows that this was not the case. I would look elsewhere for the cause of the error in VS.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
Thanks for adding the explanation I was thinking of writing. :cool:
Software Zen:
delete this;