Posts

Getting the NVIDIA driver to build on Proxmox with kernel 7.0 I wanted my RTX 2080 Ti available to LXC containers on my Proxmox host (a Dell R730xd), so I installed the NVIDIA driver on the host. It didn't work the first time. Here's what went wrong and how I fixed it. Setup: Proxmox kernel 7.0.14-23-pve , NVIDIA driver 615.78.08 (the .run installer), open (MIT/GPL) kernel module. Error 1: kernel source tree not found ERROR: Unable to find the kernel source tree for the currently running kernel. Proxmox doesn't install the kernel headers by default. Install them, plus DKMS so the module gets rebuilt when the kernel updates: apt update apt install proxmox-default-headers proxmox-headers-$(uname -r) build-essential dkms Error 2: the module fails to build The second attempt failed during compilation: ERROR: The nvidia kernel module was not created. ERROR: Installation has failed. The real error was further up in /var/log/nvidia-installer.log : grep -n ...

520 to 512 sector size shenanigans

Image
Dirt cheap drives Recently I've purchased half a dozen of cheap 1.2TB 2.5'' SAS HDDs from a NetApp appliance. They're fairly good deal for the amount of elbow grease that you need to put in for something like Dell R630 with H730 mini. Insipiration This adventure is only possible due to this fantastic post by wendell from level1techs, you can find it here The drives and the struggle  The drives come in a nice long cage and you need to unscrew four screws to release it from its prison. Once they're out you're good to put them into your own cage. If those drives were pulled straight out of NetApp appliance they'll be formatted with 520 bytes sectors. Most RAID controllers, like H730 in my R630, are severly allergic to 520 bytes sectors and no matter what you do they'll not be able to interact with the actual storage. The RAID controller in RAID mode will "see" the drives but you are unable to switch them from "Ready" to "Non-Raid...