Oracle VM (OVM) (MOSC)

MOSC Banner

Oracle Linux 7.7 - kernel:Write-error on swap-device

edited May 27, 2020 10:01AM in Oracle VM (OVM) (MOSC) 5 comments

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center