LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-27-2023, 03:21 PM   #1
debianlearner
Member
 
Registered: May 2019
Posts: 80
Blog Entries: 1

Rep: Reputation: Disabled
Data Error Messages


I run a Desktop PC with Debian 11 and an AMD Ryzen CPU.

It has been running okay, but now I have seen the following message :-

kernel:[2083218.760570] EXT4-fs (dm-0): failed to convert unwritten
extents to written extents -- potential data loss! (inode 394119, error
-30)

This happened when running the Opera browser.

It was subsequently discovered that I could not open the Opera or Chrome browsers,

Firefox could be run but seemed to run in a reduced mode and could not open or download email files.

An attempt was then made to reboot the PC, but this failed :-

The reboot error says:

/dev/mapper/vgpiglit-root contains a file system with errors, check
forced.
Inodes that were a part of a corrupted orphan linked lost found.
/dev/mapper/vgpiglit-root : UNEXPECTED INCONSISTENCY; RUN fsck
manually.(i.e .,
without -a or -p options). fsck exited with status code 4. The root
filesystem on /dev/mapper/vgpiglit-root requires a manual fsck

There is then a flashing prompt after "(initramfs)".

URGENT. Can anyone please help (possibly over the phone) with rebooting the PC.as much work is needed on computer files over the next few days.
Attempts have been made to contact people who might be able to help, but no contacts made. People may be away due to it being a Holiday weekend.
 
Old 05-27-2023, 08:23 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Quote:
/dev/mapper/vgpiglit-root : UNEXPECTED INCONSISTENCY; RUN fsck
manually.(i.e .,
without -a or -p options)
. fsck exited with status code 4. The root
filesystem on /dev/mapper/vgpiglit-root requires a manual fsck
The error messages are telling that there is a potential issue with the file system on the root partition.

You could try booting into safe mode (that should be an option in the GRUB boot menu, although it might use some other term such as repair or maintenance), and then fscking the partitions. If you can't boot into safe mode, you could try booting into a Live USB/CD of something and fscking the partitions.

Here's more about the fsck command: https://linuxhandbook.com/fsck-command/

Also, once you get into the system, it would probably be a good idea to back up any crucial data to external media, just in case . . . .

Last edited by frankbell; 05-27-2023 at 08:30 PM. Reason: grammar
 
Old 05-28-2023, 05:28 AM   #3
debianlearner
Member
 
Registered: May 2019
Posts: 80

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Thanks very much for your reply.

I subsequently found this article :-

https://www.shellhacks.com/busybox-i...t-problem-fix/

which seems to offer a solution regarding a reboot.

I recognise that other error messages I received indicate a possibly failing HDD (I use HDDs rather than SSDs) or maybe even a RAM problem.
 
Old 05-29-2023, 11:05 AM   #4
debianlearner
Member
 
Registered: May 2019
Posts: 80

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Data Error Messages

I ran the fsck command as suggested in the shellbacks article I.e.

fsck -y /dev/mapper/vgpiglit-root

This repaired the root filesystem and enabled the PC to be rebooted.

The problem now is to discover which component produced the EXT4-ps data error message.
 
Old 05-29-2023, 07:47 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You can check your disks with https://linux.die.net/man/8/smartctl
 
Old 05-29-2023, 09:57 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Logs is always the place to start. If that inode is stil assigned (i.e. the fsck didn't free it) try this - might work, might barf as before ....
Code:
sudo debugfs -R "ncheck 394119" /dev/mapper/vgpiglit-root
Edit: Maybe I should add this is simply a display command to see if we can ascertain what file has (had) that inode allocated.

Last edited by syg00; 05-30-2023 at 01:15 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using grep to output error messages in /var/log/messages and using a loop? Billy_6052 Linux - Server 4 12-14-2014 11:01 AM
what does messages suppressed in /var/log/messages mean saavik Linux - Networking 2 05-07-2008 02:31 PM
Postfix: User messages are okay; but error messages themselves seem to be bouncing jgombos Linux - Server 3 03-03-2007 02:21 PM
From where am i getting error messages to /var/log/messages? prabhuacsp Programming 3 02-16-2005 08:59 AM
From where am i getting error messages to /var/log/messages? prabhuacsp Linux - Networking 1 02-16-2005 12:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration