zfs get -H -o value written pool/dataset # zfs get -H -o value written tank/name
Proxmox adding missing LVM thin Pool
When adding another node to the proxmox cluster and the LVM is missing it is not possible to add it correctly over the web interface. But here is how it works.
lsblk vgcreate pve /dev/sdc lvcreate -L 30G -n data pve lvconvert --type thin-pool pve/data
delete the VLM (just in case you need it)
lvchange -an /dev/data/data
reducing DNS packet size for nameserver to 1232
To solve this add a new file
/etc/dnsmasq.d/99-edns.conf
in this file add a single line:
edns-packet-max=1232
restart your DNS resolver
Vim: copy/cut paste without selecting line numbers
Let’s say I want to copy/cut lines 34 to 65. I use
:34,65y
(Copy/Yank) or :34,65d
(Cut/Delete).
stuck at Install_SQLSupport_CPU64_Action
Install_SQLSupport_CPU64_Action
,C:\SQLServer2017Media\<YOUR_SQL_ENU>\1033_ENU_LP\x64\Setup
Install_SQLSupport_CPU64_Action
run SQLSUPPORT.msi
taskkill /F /FI "SERVICES eq msiserver"
What ports are open to the outside without firewall
TL;DR
ss -tulpn | grep -v "::1" | grep -v "127.0.0.1"
Start tmux directly at ssh login
When ssh into a server I want to start directly tmux or use an existing session.
ssh example.local -t "tmux a || tmux"
Unable to negotiate with 1.2.3.4 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
While trying to connect to an older esxi server I got the error message Unable to negotiate with 1.2.3.4 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
I was wondering.
The solution $EDITOR ~/.ssh/config
Host 1.2.3.4 User root HostKeyAlgorithms=+ssh-dss
Remove hihonor bloat ware
1) Download ADB
2) Enable USB Debugging on your device
3) Connect to the computer and verify your device is listed with the command “adb devices”
4) Type “adb Shell”
5) Type “pm list packages”, this will show you all packages installed on phone.
6) Type “pm uninstall -k –user 0 com.huawei.search”
7) you should see the word “Sucess” pop up Well I removed some more bloat ware
pm uninstall -k --user 0 com.google.android.apps.books pm uninstall -k --user 0 com.google.android.youtube pm uninstall -k --user 0 com.google.android.apps.youtube.music pm uninstall -k --user 0 com.google.android.apps.photos pm uninstall -k --user 0 com.google.mainline.telemetry pm uninstall -k --user 0 com.hihonor.android.fmradio pm uninstall -k --user 0 com.hihonor.calendar pm uninstall -k --user 0 com.hihonor.search pm uninstall -k --user 0 com.pal.train pm uninstall -k --user 0 com.hihonor.pcassistant pm uninstall -k --user 0 com.google.android.apps.tachyon pm uninstall -k --user 0 com.google.android.feedback pm uninstall -k --user 0 com.hihonor.printservice pm uninstall -k --user 0 com.hihonor.android.totemweather pm uninstall -k --user 0 com.hihonor.android.chr pm uninstall -k --user 0 com.hihonor.android.thememanager pm uninstall -k --user 0 com.google.android.videos pm uninstall -k --user 0 com.hihonor.id
Proxmox: How to resolve “service start-limit-hit”
The error message on the proxmox gui
() Job for ceph-mgr@pve-03.service failed. See "systemctl status ceph-mgr@pve-03.service" and "journalctl -xe" for details. TASK ERROR: command '/bin/systemctl start ceph-mgr@pve-03' failed: exit code 1
The error message from systemctl
ceph-mgr@pve-03.service: Start request repeated too quickly. ceph-mgr@pve-03.service: Failed with result 'start-limit-hit'.
Solve with
systemctl reset-failed ceph-mgr@pve-03 systemctl start ceph-mgr@pve-03
change pve-03 to your node name.