Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I received a message:

kernel:[123456.789012] journal commit I/O error

Which disk drive had the journal error?

share|improve this question
add comment

1 Answer 1

Search dmesg output for the timestamp value:

dmesg|grep -A 10 905494.178634

10 is the number of lines to show after the match. Increase if needed. It should start with something like:

[123456.789012] journal commit I/O error
[123456.789042] EXT3-fs (dm-1): error: ext3_put_super: Couldn't clean up the journal

You can identify that it's the same event because the timestamp is very close. In this case, it's a dm (device mapper) disk, but I think for normal drives it would show sda1 or similar.

To find out which drive this really is, do:

sudo e2label dm-1

This only works if you use a label (if not, add one to all your drives for the future). If it weren't in the ext* family, you would have to use a different label command.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.