• 1 Post
  • 194 Comments
Joined 3 years ago
cake
Cake day: June 18th, 2023

help-circle

  • Well the “critical/irreplaceable” qualifier is kind of important - that’s why I specified it. It’s up to you to decide what that means for your data and risk tolerance.

    For everything that I consider irreplaceable, I’m not comfortable with anything less than 100% duplication on the live system, and also an external offline backup. Even with enterprise-grade hardware, I don’t trust storage devices, they’re all destined to fail. Storage is the most important part of a data server, and should be treated like it is constantly trying to light itself on fire, like a library with wooden shelves lit with torches. All the other components are just as unreliable, but more expendable.

    Admittedly, when you account for hot standby drives, the cost is that my storage availability is only 40%. A 16TB storage pool is in fact 5x 8TB drives: 2 mirrored pairs and 1 standby. On the plus side, thanks to ZFS and TrueNAS those drives can be whatever, no need to worry about RAID considerations for matched drives. SAS or SATA? who cares? They can even be different speeds, ZFS will compensate. Buy whatever is the right size for the pool, let the system deal with the other issues.

    Can you put a price on stability? longevity? peace of mind?

    The server hardware is all old repurposed stuff - a desktop build from 2013, secondhand data center surplus, refurbished/used drives, none of it’s worth much and almost all of it is well past end of life, any part of it could fail without warning at any moment. It doesn’t matter, it is highly reliable because the redundancies have redundancies, including the boot drives. Trying to squeeze every bit of value out of the hardware is a losing game because it’s basically worthless anyway, but the same would be true if it were all new top-of-the-line gear. The hardware is expendable, the data is not. Buy more cheap hardware, plan for it to explode, learn how to build stable, recoverable systems.


  • Used data center drives are great for a home lab. They’re built like tanks for hundreds of thousands of hours of constant operation. Unless you’re running a business hosting a bunch of public-facing websites out of your garage, you don’t have that kind of workload (and if you are doing that you should just be buying new drives anyway and writing them off as a business expense).

    Data center drives get replaced when they hit a ceiling of operating hours, with no actual faults, or if they experience any minor faults (it’s a business expense - drives are consumables - data centers have storage rooms of spares sitting around, they just replace them).

    Any competent reseller should be able to give you a SMART report, and that should tell you if there are any major issues (generally they don’t get resold if there are, nobody will buy them). If the seller won’t give you a SMART report then obviously don’t buy, they’re either a scammer or incompetent.

    If your array redundancy is set up properly then there’s no reason to be “scared” or trust in “good luck”. Assume luck will be bad. Mirror every storage device that has critical/irreplaceable data on it, and have at least one hot standby drive in every pool. Don’t bother with complicated striping schemes to try and scrape a little more storage space out of your drives, that’s dumb. One-to-one mirroring for every drive. Storage drives are consumables. They will fail, not if but when, even if you only buy new. Learn to read a SMART report. Enjoy quality hardware with no real problems at low prices.



  • NaibofTabr@infosec.pubtoSelfhosted@lemmy.world•What are the best learning resources?
    link
    fedilink
    English
    arrow-up
    36
    arrow-down
    1
    ·
    edit-2
    8 days ago

    Computer networking is basically a completely different field from operating systems and programming, though obviously some of the concepts are relevant. Turns out plugging these things into each other so that they can share information in a useful way is kind of difficult. A lot of very smart people have been working on it for almost 70 years, and frankly it’s still a fucking mess, so don’t feel bad if you feel a little lost.

    Starting with the basics is the right instinct, in my opinion. Start with the OSI model:

    https://jakarta.telkomuniversity.ac.id/7-osi-layer-the-building-blocks-of-networking/

    https://www.geeksforgeeks.org/computer-networks/osi-model-analogy-osi-7-layers-explained/

    This helps to break down the actual functioning of the network into logical steps. It’s very helpful when you’re trying to visualize the operation of some of the more abstract bits of the technology stack (like TCP/UDP), and when you’re trying to think through what piece of it might be causing your problem in the moment (the router is on and the cables are plugged in, why is there no connection?). It’s a map that can help you when you’re lost. It’s also a guide to how a lot of people who work on networking technology think, so it can help you understand how things are supposed to work.

    Beyond that, Professor Messer is a great resource: https://www.professormesser.com/

    If you feel reasonably confident with computer hardware components and various types of cable connectors, you can probably skip the A+ part and go straight into Network+. Because you’re doing this as a home hobbyist (not for the actual certification), I recommend just listening to the courses like you would a podcast. Don’t try to memorize or fully understand everything, just use it to get a grasp of the terminology and purpose of the various pieces.

    I also recommend taking on a project to gain experience. Implenting PiHole https://pi-hole.net/ for your home network will cover routing, DHCP and DNS, plus you can do it with a Docker container.







  • Mmm, and we do like to make extreme arguments just to score holier-than-thou points, don’t we?

    There will always be something wrong. Taxes still fund public services. The need for those services doesn’t go away just because some of the money is diverted to atrocities.

    If you actually want to end genocidal conduct, your personal taxes are not the place to fight that battle, and trying to fight it by yourself doesn’t make you a hero. Collective action with a like-minded group is the most successful way to actually change things.


  • I don’t agree with every anarchist idea, but this I agree with completely. You really don’t need to know anything more about the circumstances of a person’s life if you notice them stealing food.

    On a related note, but a somewhat non-anarchist take, pay your taxes and vote for politicians that support public programs. Shelters, halfway homes, soup kitchens and food banks do a lot of good. Also donate and/or volunteer if you’re able!








  • I think the right approach is basically “A Connecticut Yankee in King Arthur’s Court”. In Mark Twain’s fantasy, his main character knows the basic principles of some modern technology, but the medieval period lacks any of the necessary material refining or manufacturing capabilities, so he has to work within the limitations of the time.

    For this question, we are allowed to carry 15 tons of material from the present, which you can do a lot with. What could you bring that would actually be usable in the time period, and how could you apply it to actually change the course of events?

    1918 is a very interesting time period to work in. Industrialization has spread, and automobiles have been around for awhile. Petroleum fuels are available for more than just lamplighting. Trains are not new at this point, but there are some interesting new ideas about not burning coal to make them run. The powered airplane was invented in 1903, and there was rapid development in this field between 1914 and 1918 due to the conflict in Europe. As WWI is drawing to a close, there’s a lot of leftover military hardware lying around, and probably some supply officers who wouldn’t mind writing off a few tanks in exchange for a bribe. There are opportunities that never existed before and never will again.

    Practical application of radio is very new, accessible to only a small handful of people in the world who actually understand how it works. Battlefield communication is still largely done by hand-carried messages, with your best speed probably on a horse. Motorcycles exist, including military models, but the range is limited and they’re definitely not all-terrain vehicles. Telegraphs exist but are dependent on wiring infrastructure. Communications is still difficult, and instantaneous communication in the field is nearly impossible - a problem that can be solved today with a $20 walkie-talkie.


  • I would submit that, if your answer is essentially “bring 15 tons of money” then a proper answer to your original question requires at least an outline of how you’re going to spend that money in 1918: how you’re going to arrange purchases, who you’re going to buy from, what you’re going to buy, how you’re going to move the purchased goods and the money, how you’re going to protect them both at rest and in transit, and how the purchased supplies are going to change the outcome of the war.

    So if you’re going to buy guns, for example, which manufacturer are you going to buy them from, which model, can they actually supply the model you want in the volume that you need in 1918, how are you going to get the gold to them and get the weapons back, and then which parts of the army are going to get those weapons and how does that lead to defeating the Russian army.

    Otherwise you’re just bringing 15 tons of liability.