Skip to contentSkip to conversation

clm-6005

DISCUSSION Nick Orlov 3 participants 5 messages Apr 15, 2002

lore
Share & tools
lore

Nick Orlov

author
#0 lore raw

Hi All,

two days ago I have made a decision to make /usr readonly and remount it rw only for upgrades (my /usr is on reiserfs).

today I have found next messages in my kern.log:

Apr 14 12:06:21 nikolas kernel: clm-6005: writing inode 275524 on
readonly FS
Apr 14 12:06:21 nikolas kernel: clm-6005: writing inode 275475 on
readonly FS
Apr 14 13:44:06 nikolas kernel: clm-6005: writing inode 82746 on

readonly FS
....and so on....

I'm not a kernel developer and i'm not familar with reiserfs code enough to find this bug.

But it seems for me that something wrong with
fs/reiserfs/super.c:reiserfs_remount

P.S. kernel: 2.4.19-pre6-rmap12i, mount: mount-2.11n P.P.S I'm not subscribed for this list, so please cc me P.P.P.S sorry for my non-perfect english. I know that many reiserfs developers are russian guys, so feel free to use russian :)

Signature · 2 lines
With best wishes,
	Nick Orlov.
#1 lore raw

Hello!

Quoted 10 lines · Nick Orlov

two days ago I have made a decision to make /usr readonly and remount it rw only for upgrades (my /usr is on reiserfs).
today I have found next messages in my kern.log:

Apr 14 12:06:21 nikolas kernel: clm-6005: writing inode 275524 on
readonly FS
Apr 14 12:06:21 nikolas kernel: clm-6005: writing inode 275475 on
readonly FS
Apr 14 13:44:06 nikolas kernel: clm-6005: writing inode 82746 on

readonly FS
....and so on....

Hm. I am not sure of the cause yet, may be this is atime is tried to be updated on previously open files or something like that.
Useless/strange warnings should go away for sure.
I will come with the patch once I figure where the problem lies.

Thank you for your report.

Bye,
Oleg

#2 lore raw
Quoted 15 lines · Oleg Drokin

Hello!

Quoted 10 lines · Nick Orlov

two days ago I have made a decision to make /usr readonly and remount it rw only for upgrades (my /usr is on reiserfs).
today I have found next messages in my kern.log:

Apr 14 12:06:21 nikolas kernel: clm-6005: writing inode 275524 on
readonly FS
Apr 14 12:06:21 nikolas kernel: clm-6005: writing inode 275475 on
readonly FS
Apr 14 13:44:06 nikolas kernel: clm-6005: writing inode 82746 on

readonly FS
....and so on....

Quoted 4 lines

Hm. I am not sure of the cause yet, may be this is atime is tried to be updated on previously open files or something like that.
Useless/strange warnings should go away for sure.
I will come with the patch once I figure where the problem lies.

Lets start by finding out what files those inode numbers correspond to. Could you please do a find /usr -inum 82746 (and for each of the other inodes numbers listed), then do an ls -la on that file and send us the output?

Is /usr mounted readonly from /etc/fstab, or is it mounted rw first, and then remounted to readonly?

-chris

#3 lore raw

Hello!

Quoted 4 lines · Chris Mason

Lets start by finding out what files those inode numbers correspond to. Could you please do a find /usr -inum 82746 (and for each of the other inodes numbers listed), then do an ls -la on that file and send us the output?

Nikita made a hint that pipes, sockets and device nodes can still cause such behaviour on RO fs (or is it already delat with?).
Though I do not think /usr contains any pipes/sockets/device nodes ;)

Bye,
Oleg

author
#4 lore raw
In reply to Oleg Drokin

Hello,

below is a list files related for "strange" inodes:

find /usr -inum 18596
/usr/lib/locale/ru_RU.koi8r/LC_MESSAGES/SYS_LC_MESSAGES
find /usr -inum 18595
/usr/lib/locale/ru_RU.koi8r/LC_MONETARY
find /usr -inum 18594
/usr/lib/locale/ru_RU.koi8r/LC_COLLATE
find /usr -inum 18593

	/usr/lib/locale/ru_RU.koi8r/LC_TIME

find /usr -inum 18592
/usr/lib/locale/ru_RU.koi8r/LC_NUMERIC
find /usr -inum 18591
/usr/lib/locale/ru_RU.koi8r/LC_CTYPE
find /usr -inum 47833
/usr/local
find /usr -inum 275524
/usr/bin/dpkg
find /usr -inum 275475
/usr/share/locale/ru/LC_MESSAGES/dpkg.mo
find /usr -inum 82746

	/usr/lib/gconv/KOI8-R.so

As you can see - no pipes, no sockets, no device nodes.

Signature · 2 lines
With best wishes,
	Nick Orlov.