zfs: cannot import : I/O error Destroy and re-create the pool from a backup source

Your FreeNAS, or FreeBSD, ZFS zpool lost power and can’t be accessed. Boot the machine and enter the boot loader menu and set these: set vfs.zfs.debug=1set vfs.zfs.recover=1set debug.bootverbose=1 boot -s <enter> to start the machine in single user mode. Once booted: zpool import -fFX -o readonly=on -R /mnt tank (or whatever the name of your ...

Update vCenter VAMI 5480 SSL Certificate

Update vCenter VAMI 5480 SSL Certificate
You have updated the SSL certificate on your Platform Service Controller (PSC) and you probably went through a further nightmare of update the SSL certificates on a bunch of other services. After all of the above was completed, you realized that none of this tediosity updated the VAMI SSL certificate on port 5480. Login to ...

Process Sendmail clientmqueue

You have emails stuck in clientmqueue that are stuck because of a prior sendmail issue. To process all e-mails in the clientmqueue:   sendmail -Ac -q -v Manually flush clientmqueue: sendmail -Ac -q -v

00:0c:29:4c:6f:70 is not an allowed static Ethernet address. It conflicts with VMware reserved MACs.

You are attempting to manually assign a MAC to a vSphere VM in the 00:0c:29:xxx range. You receive this error: Module DevicePowerOn power on failed. Could not set up “macAddress” for ethernet0. Invalid MAC address specified. 00:0c:29:4c:6f:70 is not an allowed static Ethernet address. It conflicts with VMware reserved MACs. Solution:  Edit the .vmx file ...

vCSA Postgres Database Repair – PANIC: checksum mismatch

You are confronted with various database errors in the /var/log/vmware/vpx/vpxd.log and you also have various errors in /storage/db/vpostgres/pg_log Similar in theme to: error ‘Default’ opID=HB-host-8637@82541-3778684f] [VdbStatement] SQLError was thrown: “ODBC error: (00000) – ” is returned when executing SQL statement error ‘Default’ opID=HB-host-8637@82541-3778684f] An unrecoverable problem has occurred, stopping the VMware VirtualCenter service. Error: Error[VdbODBCError] ...

Acronis True Image TIB to VMware VM

How to convert an Acronis True Image TIB backup file to a VMware VM.  Create a VM with the same OS as the backup with a larger disk than the backup.   How much bigger does not matter.  Boot the VM with the Acronis True Image recovery ISO.   If you do not have this, it is ...

Japan Rail Pass – How to Buy – Should I buy

You are planning a trip to Japan and wondering about the Japan Rail Pass. Should I buy the Japan Rail Pass?   The quick and easy answer is likely:  NO The rail pass is expensive and restrictive.   It is HIGHLY doubtful you would use its full value unless you plan on going to a bunch of ...

vMotion Failing: Invalid Argument IPv6

You are attempting to vMotion a VM, likely using the vSphere web client and likely trying to change host and storage. /var/log/vmkernel.log on the source ESXi host is showing errors.    Specifically this error: 2016-09-24T14:39:57.638Z cpu5:34608)FSS: 5914: Failed to open file ‘vmware.log’; Requested flags 0x2, world: 34608 [vpxa-worker] (Existing flags 0x5, world: 76640135 [vmx]): Busy /var/log/host.log ...

MySQL MariaDB key_buffer_size

To optimize the key_buffer_size, you need to review the key_read statistics: MariaDB [(none)]> SHOW STATUS LIKE “key%”; +————————+———+ | Variable_name          | Value   | +————————+———+ | Key_blocks_not_flushed | 0       | | Key_blocks_unused      | 1428301 | | Key_blocks_used        | 4187    | | Key_blocks_warm        | 0       | | Key_read_requests      | 82847   | | Key_reads              | 4187    | | ...

FreeBSD – Upgrade Perl Version

To upgrade the version of Perl installed on a FreeBSD server: vi /etc/make.conf Add this line (adjust for Perl version): DEFAULT_VERSIONS+=perl5=5.22 Execute on command line (adjust for Perl version): pkg set -o lang/perl5.16:lang/perl5.22 Execute on command line (adjust for Perl version): portupgrade -o lang/perl5.22 -f perl-5.16.\* Execute on command line: portupgrade -rf perl*