Archive

Archive for August, 2016

Proxmox blacklisting IPMI hardware watchdog

August 22nd, 2016 No comments

My Proxmox 4.1 wouldn’t reboot. A quick look at the logs showed this was caused by the watchdog. My Supermicro (like HP) uses an IPMI hardware watchdog, but the Proxmox default is softdog.

In fact, by default, Proxmox disables loading of the ipmi_watchdog kernel module. And if you remove it from their blacklist, they just overwrite on the next update.

The fix is to uncomment the ipmi_watchdog line in /etc/default/pve-ha-manager, like so:

# select watchdog module (default is softdog)
WATCHDOG_MODULE=ipmi_watchdog

After you reboot, you should see ipmi_watchdog output by lsmod.

Categories: Linux Tags: , ,

ZFS pool not imported automatically in Proxmox 4.1 (and Jessie)

August 22nd, 2016 No comments
From zfsonlinux issue #4496:
btbroot commented on May 24 edited

Hello.

This is actually a grave bug. Currently (zfsutils 0.6.5.7-8-jessie), zfs-import-cache.service starts before systemd-remount-fs.service and fails to import pools because the / filesystem is mounted read-only at this stage. See the fix below.

--- /lib/systemd/system/zfs-mount.service-  2016-05-24 15:44:31.460000000 -0400
+++ /lib/systemd/system/zfs-mount.service   2016-05-24 16:08:56.156000000 -0400
@@ -8,7 +8,7 @@
 After=zfs-import-cache.service
 After=zfs-import-scan.service
 Before=local-fs.target
-Before=systemd-remount-fs.service
+After=systemd-remount-fs.service

 [Service]
 Type=oneshot

 

Categories: Linux Tags:

Script to Retrieve Window Product Key

August 8th, 2016 1 comment

I don’t know why MS makes it so hard to retrieve your Windows product key.

Here’s a simple script to get the job done:

productkey.vbs

Categories: Windows Tags: