xfs memory curraptopn

Issues related to applications and software problems
Post Reply
yaodav
Posts: 20
Joined: 2019/06/30 08:47:46

xfs memory curraptopn

Post by yaodav » 2022/08/29 12:05:30

i have Centos 7.6 over VMware player 15, after the host went to sleep mode wille the VM was up
I cant log onto my Centos.
I'm getting this errors:
bug.jpg
bug.jpg (68.39 KiB) Viewed 1714 times
I tried to run
xfs_reper -L /dev/sda2
but it didn't fix the problem
I looked in the
/run/initramfs/rdsosreport.txt
file and at the end I see this :
bug2.jpg
bug2.jpg (201.93 KiB) Viewed 1714 times
who do I fix it?

BShT
Posts: 585
Joined: 2019/10/09 12:31:40

Re: xfs memory curraptopn

Post by BShT » 2022/08/29 13:16:22

try to boot rescue mode and fsck your disk then update

yaodav
Posts: 20
Joined: 2019/06/30 08:47:46

Re: xfs memory curraptopn

Post by yaodav » 2022/08/29 13:47:30

BShT wrote:
2022/08/29 13:16:22
try to boot rescue mode and fsck your disk then update
how do enter boot rescue mode? when I'm starting the VM it enters the emergency mode. and when Im running
fsck
I'm getting :

Code: Select all

fsck from util-linux 2.23.2
and when I'm running

Code: Select all

fsck -AVC /dev/sda2 
I'm getting

Code: Select all

fsck from util-linux 2.23.2
Checking all file systems.

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: xfs memory curraptopn

Post by TrevorH » 2022/08/29 18:42:00

It's not xfs_reper, it's xfs_repair. And you cannot run it against a mounted filesystem.

Boot the install media, at the initial menu select the Troubleshooting option then there is an option to boot in rescue mode. Do that. Run xfs_repair from the command prompt.

Once you have repaired your system you should run yum update. CentOS 7.6 is from 2018 and is severely out of date and has numerous high severity security problems that need patching. Update ASAP.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

yaodav
Posts: 20
Joined: 2019/06/30 08:47:46

Re: xfs memory curraptopn

Post by yaodav » 2022/08/30 06:57:25

I fix the problem by running xfs_repair on /dev/mapper/centos_root and solving the problem.
also after @TrevorH pointed out that I need to update I run the command
and my version is :

Code: Select all

lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.9.2009 (Core)
Release:	7.9.2009
Codename:	Core

Post Reply