If you need to terminate not active SSH session please use keys sequence:
Continue reading “How to kill SSH session / SSH hangout”
How to create partitions and format them under Linux (Centos 7)
When you add new disk first you need to identify device path.
Please type:
# fdisk -l
and find path to your new disk, e.g.
/dev/sdb
Continue reading “How to create partitions and format them under Linux (Centos 7)”
How to add new disk in VMware / ESXi / vCenter without rebooting
If you want to add new HDD to existing Linux virtual machine like CentOS 7 / RHEL 7 you must:
First add new disk in preferences of virtual machine.
Click Edit preferences of virtual machine. On tab Hardware click Add button and fill proper preferences.
When you save data new hardware should appear on hardware list.
Now login to your virtual machine and execute:
# fdisk -l
You should see all previous mounted hardware.
Continue reading “How to add new disk in VMware / ESXi / vCenter without rebooting”
How to mount devices or shares without rebooting system / reload fstab
When you make new entries in /etc/fstab or lost connection to network (e.g. samba) share it is possible to remount all disconnected devices.
To do so you need to execute:
Continue reading “How to mount devices or shares without rebooting system / reload fstab”
How to deal with high IO in linux
If you are dealing with high IO wait on linux machine then you must detect which application causing this.
First use
# top
This will show list of current running applications.
Continue reading “How to deal with high IO in linux”