Oracle Linux 7.7 - kernel:Write-error on swap-device
Hi,
I recently needed to extend the swap partition on one server.
For that to be done, I've performed the following steps:
- created a new LUN on my SAN
- added that LUN as a physical disc to the VM (Oracle VM)
# fdisk /dev/xvde (primary, full disk, 8e)
# vgextend vgSYS /dev/xvde1
# swapoff -va /dev/vgSYS/swap
# lvresize -L +8G /dev/vgSYS/swap
# mkswap /dev/vgSYS/swap
# swapon -va /dev/vgSYS/swap
# cat /proc/swaps (and everything looks fine at that time...)
Yesterday I found thousands of messages saying "kernel:Write-error on swap-device"
I've no clue of what can be wrong with this, also the servers keeps running apparently without any major issue other than this messages.