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. An ounce of prevention...

An ounce of prevention...

Scheduled Pinned Locked Moved The Lounge
linuxtutorialdiscussionannouncement
15 Posts 10 Posters 1 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.
  • L Lost User

    I am renewing my interest in preventing OS failure .... Yes, my life long gained OPINION is that technology will fail ( see Murphy's law) I am protecting my code using RAID ( your opinions about RAID is not the subject of this post ). At this time my code, including my "development package ", relies on SINGLE copy of my OS. I am not sure HOW to make RAID for my currently used , running OS... However, I am very much interested in making sure that BOTH parts of my work - code and OS are "redundant" especially in case of OS failure ( yes - it did occurred couple of times , mainly AFTER OS "update/upgrade". ) No, I am NOT asking how t make "backup" - unless it includes OS (Linux) Thanks Cheers....

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

    You want protection against catastrophic failure? Get another computer. Nothing beats physical redundancy of the entire machine. If my main dev box where to croak, I'd just switch over to the other laptop, which I keep sync'd anyways since I use it when I go "out of the office."

    Latest Articles:
    A Lightweight Thread Safe In-Memory Keyed Generic Cache Collection Service A Dynamic Where Implementation for Entity Framework

    1 Reply Last reply
    0
    • L Lost User

      I am renewing my interest in preventing OS failure .... Yes, my life long gained OPINION is that technology will fail ( see Murphy's law) I am protecting my code using RAID ( your opinions about RAID is not the subject of this post ). At this time my code, including my "development package ", relies on SINGLE copy of my OS. I am not sure HOW to make RAID for my currently used , running OS... However, I am very much interested in making sure that BOTH parts of my work - code and OS are "redundant" especially in case of OS failure ( yes - it did occurred couple of times , mainly AFTER OS "update/upgrade". ) No, I am NOT asking how t make "backup" - unless it includes OS (Linux) Thanks Cheers....

      R Offline
      R Offline
      Rick York
      wrote on last edited by
      #3

      RAID is a good start but it is very important to remember that RAID is NOT a backup. That needs to happen separately.

      "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

      D 1 Reply Last reply
      0
      • R Rick York

        RAID is a good start but it is very important to remember that RAID is NOT a backup. That needs to happen separately.

        "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

        D Offline
        D Offline
        dandy72
        wrote on last edited by
        #4

        And RAID introduces its own potential problems that don't exist when you don't have RAID. I've had a controller fail on me, which meant the data on all drives was suddenly inaccessible. I'd rather stick with a single, large drive, and frequent backups.

        R 1 Reply Last reply
        0
        • D dandy72

          And RAID introduces its own potential problems that don't exist when you don't have RAID. I've had a controller fail on me, which meant the data on all drives was suddenly inaccessible. I'd rather stick with a single, large drive, and frequent backups.

          R Offline
          R Offline
          Rick York
          wrote on last edited by
          #5

          The MTBF of SSDs and HDs are far, far lower than that of a controller. I consider it utterly absurd to use that as a reason to avoid using RAID. Also - your issue applies only to a striped RAID array. Data from mirrored drives CAN be recovered easily which is the only kind of RAID I ever use. So, even more absurdity. :rolleyes:

          "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

          D 1 Reply Last reply
          0
          • L Lost User

            I am renewing my interest in preventing OS failure .... Yes, my life long gained OPINION is that technology will fail ( see Murphy's law) I am protecting my code using RAID ( your opinions about RAID is not the subject of this post ). At this time my code, including my "development package ", relies on SINGLE copy of my OS. I am not sure HOW to make RAID for my currently used , running OS... However, I am very much interested in making sure that BOTH parts of my work - code and OS are "redundant" especially in case of OS failure ( yes - it did occurred couple of times , mainly AFTER OS "update/upgrade". ) No, I am NOT asking how t make "backup" - unless it includes OS (Linux) Thanks Cheers....

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #6

            I have RAID, and it's been (mostly) good to me. I've had two HDD failures on RAID 5 arrays, and in both of those cases I could continue working uninterrupted while ordering a new HDD and replacing the dead drive - so in that sense they were brilliant. (I'm now on my third RAID 5 NAS box.) But ... and it's a big "but", I cannot lie ... I had a failure of software or controller, or something and lost all the partitions on the RAD array when one disk failed and upset the controller - the data was not recoverable, so 11GB vanished in a moment: RAID is not a backup, or at least not a backup you can rely upon. (Fortunately, I don't - I have air gapped backups as well.) It's also worth remembering that ransomware will find and corrupt all connected devices - so if your RAID is online and you get hit, it will get screwed just as well as your OS and data disks. An air gap is the only real safety net there!

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            T M 2 Replies Last reply
            0
            • L Lost User

              I am renewing my interest in preventing OS failure .... Yes, my life long gained OPINION is that technology will fail ( see Murphy's law) I am protecting my code using RAID ( your opinions about RAID is not the subject of this post ). At this time my code, including my "development package ", relies on SINGLE copy of my OS. I am not sure HOW to make RAID for my currently used , running OS... However, I am very much interested in making sure that BOTH parts of my work - code and OS are "redundant" especially in case of OS failure ( yes - it did occurred couple of times , mainly AFTER OS "update/upgrade". ) No, I am NOT asking how t make "backup" - unless it includes OS (Linux) Thanks Cheers....

              T Offline
              T Offline
              theoldfool
              wrote on last edited by
              #7

              I do my work with systems running virtual. W10 (2) and W11. Have 7 and 8 in mothballs if I want to test something. Oh, yeah, I have an XP system somewhere. I back the VM folders up to my NAS weekly and then shut the NAS off. I also backup from the NAS to removable drives. I can take the VM's anywhere, install the VM hypervisor to a system and am back on line. Have a DR kit setup with software, keys, passwords and such, including hardware. NAS is TrueNAS running on a decommissioned workstation. Murphy is out there.................... waiting. :((

              >64 Some days the dragon wins. Suck it up.

              1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                I have RAID, and it's been (mostly) good to me. I've had two HDD failures on RAID 5 arrays, and in both of those cases I could continue working uninterrupted while ordering a new HDD and replacing the dead drive - so in that sense they were brilliant. (I'm now on my third RAID 5 NAS box.) But ... and it's a big "but", I cannot lie ... I had a failure of software or controller, or something and lost all the partitions on the RAD array when one disk failed and upset the controller - the data was not recoverable, so 11GB vanished in a moment: RAID is not a backup, or at least not a backup you can rely upon. (Fortunately, I don't - I have air gapped backups as well.) It's also worth remembering that ransomware will find and corrupt all connected devices - so if your RAID is online and you get hit, it will get screwed just as well as your OS and data disks. An air gap is the only real safety net there!

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

                T Offline
                T Offline
                theoldfool
                wrote on last edited by
                #8

                Quote:

                It's also worth remembering that ransomware will find and corrupt all connected devices - so if your RAID is online and you get hit, it will get screwed just as well as your OS and data disks. An air gap is the only real safety net there!

                Helped clean up after 3 of those. Yields tears as big as horse turds. :laugh:

                >64 Some days the dragon wins. Suck it up.

                1 Reply Last reply
                0
                • L Lost User

                  I am renewing my interest in preventing OS failure .... Yes, my life long gained OPINION is that technology will fail ( see Murphy's law) I am protecting my code using RAID ( your opinions about RAID is not the subject of this post ). At this time my code, including my "development package ", relies on SINGLE copy of my OS. I am not sure HOW to make RAID for my currently used , running OS... However, I am very much interested in making sure that BOTH parts of my work - code and OS are "redundant" especially in case of OS failure ( yes - it did occurred couple of times , mainly AFTER OS "update/upgrade". ) No, I am NOT asking how t make "backup" - unless it includes OS (Linux) Thanks Cheers....

                  K Offline
                  K Offline
                  kmoorevs
                  wrote on last edited by
                  #9

                  This post reminded me that I'm currently living dangerously. I've been a work-from-home solo developer for a small company for the last 15 years. One of my responsibilities is maintaining the company server. This box sits behind me in my home office and hums 24/7 doing all kinds of stuff like hosting a couple dozen web applications/services including our main domain name, and holding virtually all of our projects/code. It has been a good machine, (aside from a HDD data drive failure several years ago) and still performs adequately. The problem is, every component with the exception of 2 6 y/o SSDs, is now around 13 years old and has been running pretty much nonstop for time. :wtf: I actually have plans to migrate most of it's responsibilities to the cloud but haven't decided yet what to do with the code. I like the idea of cloud-based, but I just don't trust it. :confused: For the sake of not sounding like a complete idiot, I do perform regular weekly backups which includes powering up my laptop and letting it synchronize the folders on the server, after which it is powered off. I also do daily backups and offsite storage for databases. So it all comes down to how much are you willing to lose, or how much trouble are you willing to go through to get everything working again. In my scenario, I might lose 6 days of work if the data drive on the server gave out. If the system drive gave out, I could replace/rebuild in a few hours and have services back in a day or two. In a previous bad experience, the data drive (a 4 y/o spinner) gave out completely. :omg: I had things back up quickly, but lost a few days of development and a few days of recovery. Not catastrophic, but not fun either...also not an option if downtime is costing you money! Good luck and thanks for letting me vent! :laugh:

                  "Go forth into the source" - Neal Morse "Hope is contagious"

                  1 Reply Last reply
                  0
                  • R Rick York

                    The MTBF of SSDs and HDs are far, far lower than that of a controller. I consider it utterly absurd to use that as a reason to avoid using RAID. Also - your issue applies only to a striped RAID array. Data from mirrored drives CAN be recovered easily which is the only kind of RAID I ever use. So, even more absurdity. :rolleyes:

                    "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                    D Offline
                    D Offline
                    dandy72
                    wrote on last edited by
                    #10

                    Rick York wrote:

                    The MTBF of SSDs and HDs are far, far lower than that of a controller.

                    Well that's reassuring. But it still happened, with a controller that was just a few months old, and was only seeing light use.

                    Rick York wrote:

                    I consider it utterly absurd to use that as a reason to avoid using RAID.

                    The extra steps in setup and recovery--given the results I ultimately got--make *it* absurd to me. I'm glad it serves you well, but you need to lose an entire array only once to make you question the value. YMMV, and that's the beauty of it - you can make your own choices. I base mine on my experience. I've always loved the idea and it took me a long time to finally go ahead and do it, but I rather quickly backed out of the whole thing because of this.

                    Rick York wrote:

                    Also - your issue applies only to a striped RAID array.

                    It was striped *and* mirrored. I wouldn't trust striped only, since you're actually increasing the chances of failure. I'm ok with striped and mirrored however since, given the number of drives involved, the odds are getting smaller that you'll get some catastrophic failure to cause them all to fail at the same time. Of course I didn't count on the controller failing, as common sense (and yourself) says, "the MTBF of SSDs and HDs are far, far lower than that of a controller". OOPS.

                    1 Reply Last reply
                    0
                    • L Lost User

                      I am renewing my interest in preventing OS failure .... Yes, my life long gained OPINION is that technology will fail ( see Murphy's law) I am protecting my code using RAID ( your opinions about RAID is not the subject of this post ). At this time my code, including my "development package ", relies on SINGLE copy of my OS. I am not sure HOW to make RAID for my currently used , running OS... However, I am very much interested in making sure that BOTH parts of my work - code and OS are "redundant" especially in case of OS failure ( yes - it did occurred couple of times , mainly AFTER OS "update/upgrade". ) No, I am NOT asking how t make "backup" - unless it includes OS (Linux) Thanks Cheers....

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

                      Every few years, I buy a new machine (and another external drive), and anything of interest gets migrated to it. Then the old machine slowly slips from the mind, waiting to be rewakened. I also rent a dumpster sometimes.

                      "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

                      L 1 Reply Last reply
                      0
                      • L Lost User

                        Every few years, I buy a new machine (and another external drive), and anything of interest gets migrated to it. Then the old machine slowly slips from the mind, waiting to be rewakened. I also rent a dumpster sometimes.

                        "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

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

                        I really appreciate souls like yours to keep the economy afloat irregardless of what is current subject(s) of bickering between the political parties....PS I could use new keyboard ... or maybe I just clean this one...

                        T 1 Reply Last reply
                        0
                        • L Lost User

                          I really appreciate souls like yours to keep the economy afloat irregardless of what is current subject(s) of bickering between the political parties....PS I could use new keyboard ... or maybe I just clean this one...

                          T Online
                          T Online
                          trønderen
                          wrote on last edited by
                          #13

                          A friend of mine once again asked me for help with an old machine that he took over when I retired it. Now it is overheating, even when idling (and even if the OS is not yet started and you press F2 to enter BIOS setup). We looked back, and found that I had retired it in 2010. I don't remember when I bought it. We decided that adding more fans and applying more cooling paste between the CPU and its fan wasn't worth the cost. The PC deserves to be laid to rest. Sometimes, the fear of spending money on a new PC can go to far.

                          1 Reply Last reply
                          0
                          • OriginalGriffO OriginalGriff

                            I have RAID, and it's been (mostly) good to me. I've had two HDD failures on RAID 5 arrays, and in both of those cases I could continue working uninterrupted while ordering a new HDD and replacing the dead drive - so in that sense they were brilliant. (I'm now on my third RAID 5 NAS box.) But ... and it's a big "but", I cannot lie ... I had a failure of software or controller, or something and lost all the partitions on the RAD array when one disk failed and upset the controller - the data was not recoverable, so 11GB vanished in a moment: RAID is not a backup, or at least not a backup you can rely upon. (Fortunately, I don't - I have air gapped backups as well.) It's also worth remembering that ransomware will find and corrupt all connected devices - so if your RAID is online and you get hit, it will get screwed just as well as your OS and data disks. An air gap is the only real safety net there!

                            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

                            M Offline
                            M Offline
                            Matt T Heffron
                            wrote on last edited by
                            #14

                            Re: ransomware -- Only the AOMEI Backupper software has the password to the account with write access to the backup file server (Synology). All other access is by read only accounts, or logging into the server via its web UI, and manually entering the admin password. This seems like it should protect the server from ransomware corruption. Or have I missed something? (And, yes, I need an air gapped copy of the backup server, eventually.)

                            "Fairy tales do not tell children the dragons exist. Children already know that dragons exist. Fairy tales tell children the dragons can be killed." - G.K. Chesterton

                            1 Reply Last reply
                            0
                            • L Lost User

                              I am renewing my interest in preventing OS failure .... Yes, my life long gained OPINION is that technology will fail ( see Murphy's law) I am protecting my code using RAID ( your opinions about RAID is not the subject of this post ). At this time my code, including my "development package ", relies on SINGLE copy of my OS. I am not sure HOW to make RAID for my currently used , running OS... However, I am very much interested in making sure that BOTH parts of my work - code and OS are "redundant" especially in case of OS failure ( yes - it did occurred couple of times , mainly AFTER OS "update/upgrade". ) No, I am NOT asking how t make "backup" - unless it includes OS (Linux) Thanks Cheers....

                              J Offline
                              J Offline
                              jschell
                              wrote on last edited by
                              #15

                              Member 14968771 wrote:

                              especially in case of OS failure

                              OS failure would be due to an update. So you would need to keep backups before each update. Or don't update. But perhaps you mean due to hardware failure. Then you should engage in being proactive and not reactive. So you replace parts before they can fail. So don't wait until a hard fails but instead track usage and then replace it before it reaches its maximum life time. Same would be true for other parts in the system (and include new computers as one replacement.) There are limits to that of course as parts become no longer available so you must adapt.

                              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