#nobridge

  • 2 Posts
  • 73 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle
    1. RAID is never a replacement for backups.
    2. Never work directly with a surviving disk, clone it and work with the cloned drive.
    3. Are you sure you can’t rebuild the RAID? That really is the best solution in many cases.
    4. If a RAID failure is within tolerance (1 drive in a RAID5 array) then it should still be operational. Make a backup before rebuilding if you don’t have one already.
    5. If more disks are gone than that then don’t count on recovering all data even with data recovery tools.




  • I can only be another “everyone” and say go for a Synology. If you wanna run services on your NAS then the DSM is a godsend. The 423+ sounds like a good fit, might wanna grab a RAM upgrade for it though.

    edit: As you mentioned Jellyfin - if you wanna stream video you definitely want the 423+ and not the 923+ as the AMD Ryzen R1600 lacks GPU to transcode video streams.


  • Alternatively, you can create new users from the command line.
    This can be done as follows:

    If synapse was installed via pip, activate the virtualenv as follows (if Synapse was installed via a prebuilt package, register_new_matrix_user should already be on the search path):

    cd ~/synapse
    source env/bin/activate
    synctl start # if not already running
    Run the following command:
    register_new_matrix_user -c homeserver.yaml
    This will prompt you to add details for the new user, and will then connect to the running Synapse to create the new user. For example:

    New user localpart: erikj
    Password:
    Confirm password:
    Make admin [no]:
    Success!

    This process uses a setting registration_shared_secret, which is shared between Synapse itself and the register_new_matrix_user script.
    It doesn’t matter what it is (a random value is generated by --generate-config), but it should be kept secret, as anyone with knowledge of it can register users, including admin accounts, on your server even if enable_registration is false.

    https://element-hq.github.io/synapse/latest/setup/installation.html




  • pfsense and opnsense are very similar. The pfsense devs has acted like jackasses towards the opnsense gang. They are both great for a router/firewall/vpn device. I would use external access points with them.
    I think there are more addons to pfsense than opnsense.

    OpenWrt is great when it comes to WiFi, but I find it much less intuitive to use for router/firewall parts. Could be that I am used to the way pfsense and opnsense do things.

    Neither do switching from what I know, so pair the router with a switch of your choice.









    • Single switch, yes. Personally I would probably aim for a managed (must have for vlan support) switch with at least 16 ports where 8 has PoE+ (Power over Ethernet) with at least 100W total budget. The goal would be to power access points and that security camera through PoE instead of separate psus.
      A cheaper alternative is to skip PoE for now and buy an 8-port managed switch now and a secondary PoE switch in the future if need be.
    • There are access points with VLAN support, so you can have an access point deliver multiple SSIDs that belong to different VLANs. Two things to look for here is Local Management and PoE powered. You don’t want your access points to become paper weights when the cloud management system is shut down. I don’t want to use cloud management at all to be honest.
    • PoE allows you to protect your camera and your APs with the same UPS you put in to protect your network rack.

    Draw up some plans beforehand, quick example where I forgot your video doorbell that would be on a separate SSID/VLAN through the APs if it uses WiFi. Which is kind of the point with drawing it up. It helps you find out what you missed.

    edit: And that is just an example on how to draw it up. I imagine you want your security camera and doorbell to save video on the NAS, so then their vlan need to be able to communicate with the NAS vlan, as another example of missing stuff in the drawing.


  • If you go for SSD another thing to think about is the TBW on them. Buying a low endurance SSD might save some electricity but will cost more in SSDs over time. Example:
    Crucial P3 Plus M.2 NVMe SSD 2TB (2.67W on your link) has 440TBW compared to Kingston Fury Renegade M.2 NVMe SSD Gen 4 2TB (4.92W on your link) with 2000TBW.
    Those few watts you save on using the Crucial P3 Plus will be less than the extra cost in buying new SSDs earlier.
    The site I checked TBW on has the Kingston Fury at $9.4 more than the Crucial P3 Plus.

    I think proper datacenter 3.5’’ HDDs will give you the most efficient Wattage per TB disk space
    Seagate Exos X20 Harddisk ST20000NM007D 20TB SATA-600 7200rpm is supposed to have
    Power Consumption 5.4 Watt (idle) | 9.4 Watt (random read) | 6.4 Watt (random write)