I have a ProxMox hypervisor host with a disk setup as LVM thin provisioning. This means that I could potentially fill up the LVM partition and run out of space, the guests won’t be able to write to disk, and it’ll all come crashing down…or already has.
Continue reading »
I’ve been tossing up moving my Zabbix server from a VMWare host to a ProxMox host, and decided that it was time. I’m hoping that by moving the server from VMWare to ProxMox, the disk latency will go down a bit since I’m using a RAID1 array for Zabbix on the ProxMox host rather than emulated disks on VMWare as well as moving to some cheap SSDs.
To do this, I’ve decided to start with a clean CentOS 7 server rather than migrating my CentOS 6 server from VMWare to ProxMox.
While I’m doing the migration, I’ll also upgrade to the latest version of Zabbix.
Continue reading »
This post is more of a note to myself on how to install the proprietary nVidia drivers on a fresh Debian install as I keep forgetting which packages I need!
After recently reinstalling Jessie onto a computer with an older Geforce card, I had to install an older version of the drivers (340.96).
From a fresh install, I needed to install the following packages:
gcc
make
linux-headers-3.16.0-4-amd64
# apt-get install gcc make linux-headers-3.16.0-4-amd64
The kernel version above will change as time goes on, so you can substitute the version number with $(uname -r) – e.g. apt-get install linux-headers-$(uname -r)
Once the packages are installed, you need to make sure the gcc version that your kernel was compiled with matches your current compiler.
You can find out what version your kernel was compiled with by checking the contents of /proc/version
# cat /proc/version
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29)
In my case, my kernel was compiled with gcc-4.8, so I had to also install gcc-4.8.
# apt-get install gcc-4.8
Once the compiler was installed, I also need to set the CC
environment variable so that the correct compiler is used to compile the nVidia driver.
# export CC=gcc-4.8
Now that everything is setup, I can run the nVidia installer to install the drivers.
My home Zabbix instance was running out of space today, so I had to resize the partition that it lived on so that it would last a few more days while I worked out how to migrate it from my VMWare host to my ProxMox host.