Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. SSD read-only state.

SSD read-only state.

Scheduled Pinned Locked Moved The Lounge
helpquestionasp-netjavascripthtml
26 Posts 15 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ron Anders
    wrote on last edited by
    #1

    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.

    J D O L P 7 Replies Last reply
    0
    • R Ron Anders

      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.

      J Offline
      J Offline
      jmaida
      wrote on last edited by
      #2

      So was your SSD dead because of too many writes?

      "A little time, a little trouble, your better day" Badfinger

      R 1 Reply Last reply
      0
      • R Ron Anders

        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.

        D Offline
        D Offline
        Daniel Pfeffer
        wrote on last edited by
        #3

        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.

        C G J T 4 Replies Last reply
        0
        • J jmaida

          So was your SSD dead because of too many writes?

          "A little time, a little trouble, your better day" Badfinger

          R Offline
          R Offline
          RickZeeland
          wrote on last edited by
          #4

          It's not dead, it's only resting :-\ You might also be interested in: How to Estimate the Remaining Lifespan of Your SSD[^]

          D J M 3 Replies Last reply
          0
          • D Daniel Pfeffer

            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.

            C Offline
            C Offline
            charlieg
            wrote on last edited by
            #5

            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.

            K 1 Reply Last reply
            0
            • R RickZeeland

              It's not dead, it's only resting :-\ You might also be interested in: How to Estimate the Remaining Lifespan of Your SSD[^]

              D Offline
              D Offline
              Daniel Pfeffer
              wrote on last edited by
              #6

              :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.

              R P 2 Replies Last reply
              0
              • D Daniel Pfeffer

                :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.

                R Offline
                R Offline
                RickZeeland
                wrote on last edited by
                #7

                Well, now we'll have to wait for a reaction like "what's this all about ?" :-\

                1 Reply Last reply
                0
                • R Ron Anders

                  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.

                  O Offline
                  O Offline
                  obermd
                  wrote on last edited by
                  #8

                  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.

                  R 1 Reply Last reply
                  0
                  • O obermd

                    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.

                    R Offline
                    R Offline
                    Ron Anders
                    wrote on last edited by
                    #9

                    Sorry, I guess I wasn't clear. I opened another project with the same vs (not another tool) and it worked.

                    O 1 Reply Last reply
                    0
                    • R Ron Anders

                      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.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      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

                      1 Reply Last reply
                      0
                      • R RickZeeland

                        It's not dead, it's only resting :-\ You might also be interested in: How to Estimate the Remaining Lifespan of Your SSD[^]

                        J Offline
                        J Offline
                        jmaida
                        wrote on last edited by
                        #11

                        Or on strike.

                        "A little time, a little trouble, your better day" Badfinger

                        1 Reply Last reply
                        0
                        • R Ron Anders

                          Sorry, I guess I wasn't clear. I opened another project with the same vs (not another tool) and it worked.

                          O Offline
                          O Offline
                          obermd
                          wrote on last edited by
                          #12

                          In this case I would suspect the SLN or PROJ file (or both) is corrupt.

                          1 Reply Last reply
                          0
                          • D Daniel Pfeffer

                            :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.

                            P Offline
                            P Offline
                            Paul Sanders the other one
                            wrote on last edited by
                            #13

                            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.

                            1 Reply Last reply
                            0
                            • R Ron Anders

                              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.

                              P Offline
                              P Offline
                              Paul Sanders the other one
                              wrote on last edited by
                              #14

                              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.

                              R 1 Reply Last reply
                              0
                              • R RickZeeland

                                It's not dead, it's only resting :-\ You might also be interested in: How to Estimate the Remaining Lifespan of Your SSD[^]

                                M Offline
                                M Offline
                                Member_15737453
                                wrote on last edited by
                                #15

                                So - the Norwegian Blue SSD …

                                1 Reply Last reply
                                0
                                • P Paul Sanders the other one

                                  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.

                                  R Offline
                                  R Offline
                                  Ron Anders
                                  wrote on last edited by
                                  #16

                                  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

                                  1 Reply Last reply
                                  0
                                  • R Ron Anders

                                    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.

                                    M Offline
                                    M Offline
                                    Marc Clifton
                                    wrote on last edited by
                                    #17

                                    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

                                    1 Reply Last reply
                                    0
                                    • C charlieg

                                      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.

                                      K Offline
                                      K Offline
                                      Kirk 10389821
                                      wrote on last edited by
                                      #18

                                      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!

                                      M 1 Reply Last reply
                                      0
                                      • R Ron Anders

                                        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.

                                        F Offline
                                        F Offline
                                        Fueled By Decaff
                                        wrote on last edited by
                                        #19

                                        Hmm, could be a file is being locked? Did you try rebooting the PC :-)

                                        1 Reply Last reply
                                        0
                                        • D Daniel Pfeffer

                                          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.

                                          G Offline
                                          G Offline
                                          Gary Wheeler
                                          wrote on last edited by
                                          #20

                                          Thanks for adding the explanation I was thinking of writing. :cool:

                                          Software Zen: delete this;

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups