On Fri, Apr 22, 2016 at 12:54 PM, Samuel Sieb <samuel@xxxxxxxx> wrote: > On 04/22/2016 07:26 AM, maderios wrote: >> >> On 04/22/2016 02:39 PM, Jeffrey Ross wrote: >>> >>> I have the following error reported in my logs, I've had it for quite >>> some time and through several reboots >>> >>> EXT4-fs (md2): error count: 1 >>> EXT4-fs (md2): initial error at 1452554514: ext4_lookup:1343: inode >>> 1308162 >>> EXT4-fs (md2): last error at 1452554514: ext4_lookup:1343: inode 1308162 >>> >>> >>> md2 is my root partition, I ran "find / -mount -inum 1308162" find >>> didn't return any value. >>> >>> How can I track down this error, identify what file it refers to and >>> clear the error out? if it matters, its an older Fedora system (16 to >>> be exact) >> >> Hi >> 'md2' is not a partition name. I don't understand... > > > It's a RAID device. > >> Anyway, you can't repair mounted partition. >> You must use livecd to repair your / partition with e2fsck >> Example if your / partition is /dev/sda3 >> In a console as root: >> e2sfsck -f /dev/sda3 >> > That's a good method. However, you can run safely run e2fsck on a mounted > filesystem in read-only mode. This can give some false-positives, but it > might be able to give you an idea of what's wrong. > > e2fsck -fn /dev/sda3 > > -f to force it, -n to do it-read-only In the OP's example where an md2 device was affected, it needs fsck run on /dev/md2 (assembled and running but not mounted). Since md2 is his root fs, that means a.) boot from alternate media or b.) use boot parameter rd.break=pre-mount and do it at the dracut shell, but this might require manually running the array, I'm not sure whether it will be running at this point but it probably won't be mounted (check first). -- Chris Murphy -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org