Yum Update gets stuck

sudo sh -c 'for file in `rpm -qa --queryformat="%{NAME} %{ARCH}\n" | sort | uniq -c | grep -v " 1 " | cut -c 9- | cut -d" " -f1`; do rpm -q --last $file | head -1 | cut -d" " -f1; done | grep -v kernel | grep -v gpg-pubkey | xargs rpm -e --justdb --nodeps'

Then

yum update

 

Original article – https://www.centos.org/forums/viewtopic.php?t=44356#p188248

Softether slow throughput

When running softether inside of a VM i found very port performance on the upload speed form the server to my client
Running this on the VMHost fixed the issue

Note vnet1 is the OpenVswitch interface on the host thats assigned to that VM, found my running virsh domiflist VM-VPN
sudo ethtool -K vnet1 tx off sg off tso off gro off

Working with Ceph from qemu-img

qemu-img info -f rbd rbd:volumes/CW-ICE-Linux1.raw:conf=/etc/ceph/adleast.conf

 

qemu-img convert -f vhdx -O raw server.vhdx rbd:volumes/TS11.raw:conf=/etc/ceph/adleast.conf

 

 qemu-img resize -f rbd "rbd:rbd/myrbd" 600G

 

http://cephnotes.ksperis.com/blog/2013/06/11/ceph-rbd-online-resize