Resources to find cheap storage servers
Latest in the Blog
October 2022 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Resources to find cheap storage servers
FriendlyElec has poor instructions in their wiki and after much trial and error I finally was able to recover and reset the onboard eMMC storage on my Nanopi R2C Plus.
Backstory: I used FriendlyElec eFlasher tool to flash a raw .img file to the onboard eMMC 8GB storage of my NanoPi. This led to an onbootable system. I had to use UART serial to view the errors and debug.
You will need a UART serial connection and putty installed. This quick how-to guide is intended to be ‘cliff notes’ on what I did to get my device back in working order; you will have to teach yourself or search how to use some of these processes.
rk3328-sd-friendlywrt-5.15-20220125.imgand use balenaEtcher to prep the MicroSD.
There are a few tutorials out there for setting this up and while some worked, I found this one deep in a chinese github and its my preference for this kind of setup:
curl -fsSL git.io/wireguard-go.sh | sudo bash
To remove and re-add devices in a zpool, you will need to offline the disk, detach the disk, wipe the gpt partition then re-add it to pool as a new disk. This will re-silver the pool.
sgdisk -Z /dev/disk/by-id/ata-WDC_WD100EMAZ-
Came across Revo Uninstaller which seems to be very useful tool to make sure that all files and registry keys are actually removed from windows when you uninstall a program.
I’ve been a huge fan of promox since version 1.0 – they later implemented native support of my favorite filesystem ZFS and if you are an early adopter like me your proxmox /etc/pve/storage.cfg file may not have some settings like sparse that the new installations configure by default.
Use the following command to see the zfs properties we care about:
zfs get volblocksize,volsize,refreservation,used gdata/pve/base-152-disk-0
NAME PROPERTY VALUE SOURCE gdata/pve/base-152-disk-0 volblocksize 8K default gdata/pve/base-152-disk-0 volsize 64G local gdata/pve/base-152-disk-0 refreservation none local gdata/pve/base-152-disk-0 used 7.31G -
The property refreservation=none tells us this disk is thin-provisioned. Meaning ZFS won’t guarantee and account for the VM ‘max disk size’ in the zpool usage metrics. This may be helpful if you want to overprovision a VM disk to say 1TB but rarely use that much and you don’t want zpool list to claim you have 1TB phantom disk usage.
The volsize=64G and refreservation=64G would be set on the example above.
My notes and resources on X470D4U. This motherboard needs special tweaks in order to have the DDR4 memory settings and timings work.
There are also many ‘quirks’ with this board, when modifying DDR4 overclocking settings the board tends to fail to POST. Removing the CMOS battery and unplugging should do the trick at resetting – but sometimes this is not enough. The workaround is using IPMI to do a ‘bios update’ without preserving bios settings. This usually makes my system be able to POST again.
Windows 10 (due to tools)
* Thaiphoon Burner (to get ram info – but didn’t work for me.)
* ZenTimings (visualization for voltages from Ryzen platform – actually detects individual dims)
* AMD Ryzen Master Utility (AMD own tool)
Tuning resources / videos:
Video explains detecting memory, using Ryzen Calculator for manual settings input of motherboard.
Some of these tools like Thaiphoon mail fail to work if you don’t have the AMD Chipset drivers installed. Download them, install, reboot, retry. Use the all-in-one detect tool to take care of it (lazy method) although I did all this it did not work for me. Still get the “SPD EEPROM” error. Let me know if you find a solution.
This comment on reddit can explain why a bios flash is the only way to recovery from bad memory OC settings. Includes terminology too.
mostly the same, but…
DRAM Voltage = MEM VDDIO
SOC Voltage = VDDCR SOC
VDDG CCD Voltage = not available in RM
VDDG IOD Voltage = CLDO VDDG
cLDO VDDP Voltage = CLDO VDDP
MEM VTT is simply half of MEM VDDIO and usually there is no need to change that. And you can find it on the Advanced page of DRAM calc.
There is a chance to brick the BIOS by setting wrong values in RM (because they aren’t stored in cmos and can’t be cleared easily). If you don’t have USB flash or dual BIOS then don’t touch it, use BIOS menu.
Sometimes we want to test software or do remote monitoring and testing that you may not want to pay a premium to do, or maybe you just want to do it as a hobby. In this post I will share some tips on where to find dirt-cheap providers of virtual servers (VPS).
I strongly advise against placing any production or critical workflows on any of these; use for testing or fun.Continue reading
I wanted to document my Microsoft Azure saga in getting a public IPv6 address to work in a virtual machine without a load balancer in front of it. My needs were pretty simple and straightforward I wanted a virtual server that had a static IPv4 and IPv6 public addresses so that I can monitor my home network and other websites.
You would think this would be pretty easy, a few clicks and done? That wasn’t my experience on Azure and setting this up isn’t easy nor straightforward. Below is how to get it done, if this helps you – you can buy me a coffee or beer.Continue reading