Why does my SD card change to readonly when I mounted it as readwrite?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I've got an SD card mounted on a ip camera, which runs on linux. I set the videos to record on to the SD card, but after a few days, all my cameras' SD cards stopped recording and I noticed it was because they were all mounted as readonly. When I mount them back as readwrite, they turn into readonly right after.



I suspected it was this batch of SD cards that I bought cheap from ebay, so I tried putting them into a USB adapter into Windows, and it can read and write just fine -- I tested it by filling it with a bunch of random videos, and then copying them back out.



Here's the entry in mount -v



/dev/hd1 on /tmp/hd1 type vfat (ro,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)



Any idea what's going on? This is happening to all 4 of my cameras and SD cards.







share|improve this question
























    up vote
    0
    down vote

    favorite












    I've got an SD card mounted on a ip camera, which runs on linux. I set the videos to record on to the SD card, but after a few days, all my cameras' SD cards stopped recording and I noticed it was because they were all mounted as readonly. When I mount them back as readwrite, they turn into readonly right after.



    I suspected it was this batch of SD cards that I bought cheap from ebay, so I tried putting them into a USB adapter into Windows, and it can read and write just fine -- I tested it by filling it with a bunch of random videos, and then copying them back out.



    Here's the entry in mount -v



    /dev/hd1 on /tmp/hd1 type vfat (ro,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)



    Any idea what's going on? This is happening to all 4 of my cameras and SD cards.







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I've got an SD card mounted on a ip camera, which runs on linux. I set the videos to record on to the SD card, but after a few days, all my cameras' SD cards stopped recording and I noticed it was because they were all mounted as readonly. When I mount them back as readwrite, they turn into readonly right after.



      I suspected it was this batch of SD cards that I bought cheap from ebay, so I tried putting them into a USB adapter into Windows, and it can read and write just fine -- I tested it by filling it with a bunch of random videos, and then copying them back out.



      Here's the entry in mount -v



      /dev/hd1 on /tmp/hd1 type vfat (ro,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)



      Any idea what's going on? This is happening to all 4 of my cameras and SD cards.







      share|improve this question












      I've got an SD card mounted on a ip camera, which runs on linux. I set the videos to record on to the SD card, but after a few days, all my cameras' SD cards stopped recording and I noticed it was because they were all mounted as readonly. When I mount them back as readwrite, they turn into readonly right after.



      I suspected it was this batch of SD cards that I bought cheap from ebay, so I tried putting them into a USB adapter into Windows, and it can read and write just fine -- I tested it by filling it with a bunch of random videos, and then copying them back out.



      Here's the entry in mount -v



      /dev/hd1 on /tmp/hd1 type vfat (ro,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)



      Any idea what's going on? This is happening to all 4 of my cameras and SD cards.









      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 14 at 3:13









      user270412

      1




      1




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          Note that you have errors=remount-ro specified as an option. Thus if an error occurs, you'll that find your media has become read-only.



          You can replace this with errors=continue to ignore such errors. You probably don't want to.



          If you notice it soon enough, you can check dmesgor other logging sources (journalctl?) on the "bad" system to see if such errors have occurred.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f416953%2fwhy-does-my-sd-card-change-to-readonly-when-i-mounted-it-as-readwrite%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote













            Note that you have errors=remount-ro specified as an option. Thus if an error occurs, you'll that find your media has become read-only.



            You can replace this with errors=continue to ignore such errors. You probably don't want to.



            If you notice it soon enough, you can check dmesgor other logging sources (journalctl?) on the "bad" system to see if such errors have occurred.






            share|improve this answer
























              up vote
              2
              down vote













              Note that you have errors=remount-ro specified as an option. Thus if an error occurs, you'll that find your media has become read-only.



              You can replace this with errors=continue to ignore such errors. You probably don't want to.



              If you notice it soon enough, you can check dmesgor other logging sources (journalctl?) on the "bad" system to see if such errors have occurred.






              share|improve this answer






















                up vote
                2
                down vote










                up vote
                2
                down vote









                Note that you have errors=remount-ro specified as an option. Thus if an error occurs, you'll that find your media has become read-only.



                You can replace this with errors=continue to ignore such errors. You probably don't want to.



                If you notice it soon enough, you can check dmesgor other logging sources (journalctl?) on the "bad" system to see if such errors have occurred.






                share|improve this answer












                Note that you have errors=remount-ro specified as an option. Thus if an error occurs, you'll that find your media has become read-only.



                You can replace this with errors=continue to ignore such errors. You probably don't want to.



                If you notice it soon enough, you can check dmesgor other logging sources (journalctl?) on the "bad" system to see if such errors have occurred.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 14 at 4:18









                Fox

                4,72111131




                4,72111131






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f416953%2fwhy-does-my-sd-card-change-to-readonly-when-i-mounted-it-as-readwrite%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?