Hodžův blog

02 Čvc

Soft Reset DELL iDRAC using SSH

racadm racreset soft

07 Čvn

HowTo: Upgrade Intel NVMe P4600 SSD firmware in ESXi 7

Download and install Intel® Memory and Storage Tool CLI Solidigm™ Storage Tool CLI (SST)

[root@vmware:~] /opt/solidigm/sst/sst load -ssd 0
WARNING! You have selected to update the drives firmware!
Proceed with the update? (Y|N): y
Checking for firmware update...
- Intel SSD DC P4600 Series PHLE729000X14P0KGN -
Status : The selected drive contains current firmware as of this tool release.

[root@vmware:~] /opt/solidigm/sst/sst show -ssd 0
- 0 Intel SSD DC P4600 Series PHLE729000X14P0KGN -
Bootloader : 0136
Capacity : 3.64 TB (4,000,787,030,016 bytes)
DevicePath : nvmeMgmt-nvmhba0
DeviceStatus : Healthy
Firmware : QDV101D1
FirmwareUpdateAvailable : The selected drive contains current firmware as of this tool release.
Index : 0
MaximumLBA : 7814037167
ModelNumber : INTEL SSDPEDKE040T7
NamespaceId : 1
PercentOverProvisioned : 100.00
ProductFamily : Intel SSD DC P4600 Series
SMARTEnabled : True
SectorDataSize : 512
SerialNumber : PHLE729000X14P0KGN

02 Čvn

Proxmox – Could not login to web interface and read only directory /etc/pve

May 29 02:06:55 pve1 pvestatd[1931]: authkey rotation error: cfs-lock 'authkey' error: got lock request timeout
May 29 02:06:55 pve1 pvestatd[1931]: status update time (9.120 seconds)
May 29 02:06:56 pve1 pve-ha-lrm[2050]: unable to write lrm status file - unable to delete old temp file: Input/output error

Fix the cluster filesystem:
# systemctl stop pve-cluster
# rm -f /var/lib/pve-cluster/.pmxcfs.lockfile
# systemctl start pve-cluster

25 Kvě

Howto: Remove Microsoft Office from your windows computer with PowerShell

Simple … Isn’t It??
Get-AppxPackage -name “Microsoft.Office.Desktop” | Remove-AppxPackage
Get-AppxPackage *officehub* | Remove-AppxPackage

25 Kvě

HowTo: Old Debian & error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Problem:
#./hpsetup
./hpsetup: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Quick Fix:
# apt-get install lib32stdc++6

12 Kvě

HowTo: Import a PEM certificate and PEM private key into the Windows key store

Create a PKCS12 file containing the certificate and its private key:

$ openssl pkcs12 -export -in MyCertficate.crt -inkey MyPrivateKey.pem -out CertificateForImportInWindows.p12

The .p12 generated file is protected by a password and can then be transported without any risk.
On a Windows, open this .p12 file and follow the instructions provided.

20 Dub

HowTo: PowerShell Full Command History

Get-Content (Get-PSReadlineOption).HistorySavePath

28 Úno

VMware ESXI 7 and Intel NVMe SSD – Can’t add datastore

After a clean installation of VMware ESXi 7.0, I saw an NVMe disk (Intel DC P4600 4TB) in the system, but the datastore could not be added.
I solved the problem quickly as follows:

1. List unresolved snapshots or replica volumes.
# esxcli storage vmfs snapshot list
621cdcb9-053ddbab-e0a7-ac162d6f2e80
Volume Name: NVME-Intel
VMFS UUID: 621cdcb9-053ddbab-e0a7-ac162d6f2e80
Can mount: true
Reason for un-mountability:
Can resignature: true
Reason for non-resignaturability:
Unresolved Extent Count: 1

2. Resignature snapshot
# esxcli storage vmfs snapshot resignature --volume-label=NVME-Intel

Now it’s possible to add a datastore in the standard way…

Also don’t forget to install the Intel® Memory and Storage Tool CLI.

Common information about the disc:
# /opt/intel/intelmas/intelmas show -intelssd 0
- 0 Intel SSD DC P4600 Series PHLE729000X14P0KGN -
Bootloader : 0110
Capacity : 3726.02 GB
DevicePath : nvmeMgmt-nvmhba0
DeviceStatus : Healthy
Firmware : QDV10150
FirmwareUpdateAvailable : Firmware=QDV101D1 Bootloader=QB1B0136
Index : 0
MaximumLBA : 7814037167
ModelNumber : INTEL SSDPEDKE040T7
NamespaceId : 1
PercentOverProvisioned : 100.00
ProductFamily : Intel SSD DC P4600 Series
SMARTEnabled : True
SectorDataSize : 512
SerialNumber : PHLE729000X14P0KGN

S.M.A.R.T information:
/opt/intel/intelmas/intelmas show -nvmelog SmartHealthInfo -intelssd 0
- PHLE729000X14P0KGN -
- NVMeLog SMART and Health Information -
Volatile memory backup device has failed : False
Temperature has exceeded a critical threshold : False
Temperature - Celsius : 21
Media is in a read-only mode : False
Power On Hours : 0x5948
Power Cycles : 0x07
Number of Error Info Log Entries : 0x0
Controller Busy Time : 0x483A
Available Spare Space has fallen below the threshold : False
Percentage Used : 5
Critical Warnings : 0
Data Units Read : 0x4447F480
Available Spare Threshold Percentage : 10
Data Units Written : 0x81CC91A9
Unsafe Shutdowns : 0x03
Host Write Commands : 0x09DF7D8CD4
Device reliability has degraded : False
Available Spare Normalized percentage of the remaining spare capacity available : 99
Media Errors : 0x0
Host Read Commands : 0x0277FA1B17

Disk firmware update:
# /opt/intel/intelmas/intelmas load -intelssd 0

30 Zář

How to find: Exchange Administration Center URL

In Exchange Management Shell run this command:
Get-ECPVirtualDirectory | Format-List InternalURL,ExternalURL

20 Zář

MikroTik: disconnected, unicast key exchange timeout

I just fixed this problem by removing a space from the end of the PSK.

Hodžův blog is is proudly powered by Wordpress and the Magellan Theme