Skip to contentSkip to conversation

How tell what version of reiserfs my filesystem is?

DISCUSSION Nick Urbanik 3 participants 6 messages Apr 3, 2002 – Apr 9, 2002

lore
Share & tools
lore
#0 lore raw

Dear team,

How do I tell whether each of my file systems is 3.5 or 3.6?

--
Nick Urbanik RHCE [email protected]
Dept. of Information & Communications Technology Hong Kong Institute of Vocational Education (Tsing Yi)
Tel: (852) 2436 8576, (852) 2436 8579 Fax: (852) 2436 8526
PGP: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C 23 7B ID: 7529555D
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24

#1 lore raw

Hello!

Quoted 1 line · Nick Urbanik

How do I tell whether each of my file systems is 3.5 or 3.6?

If you run 2.2.x kernel, then you have reiserfs v3.5
If you have 2.[45].x kernel, then look it to the dmesg output (or in the boot logs). If there is following message appears after reiserfs mount messages: 'reiserfs: using 3.5.x disk format', it means that filesystem is v3.5 format,
otherwise it is v3.6 format.

Also with recent 2.4 kernels (2.4.17+), you can lookup this info in the /proc filesystem if you have enabled CONFIG_REISERFS_PROC_INFO.

Bye,
Oleg

#2 lore raw
Quoted 8 lines · Oleg Drokin
Quoted 1 line

How do I tell whether each of my file systems is 3.5 or 3.6?

If you run 2.2.x kernel, then you have reiserfs v3.5
If you have 2.[45].x kernel, then look it to the dmesg output (or in the boot logs). If there is following message appears after reiserfs mount messages: 'reiserfs: using 3.5.x disk format', it means that filesystem is v3.5 format,
otherwise it is v3.6 format.

So I must be using v3.6 format, though I created these file systems a very long time ago, but with a 2.4.x kernel.

I have been using 2.4.19-pre5. What does this mean in dmesg output:
Using r5 hash to sort names
ReiserFS version 3.6.25

Quoted 2 lines

Also with recent 2.4 kernels (2.4.17+), you can lookup this info in the /proc filesystem if you have enabled CONFIG_REISERFS_PROC_INFO.

I had it off.
About CONFIG_REISERFS_PROC_INFO, Configure.help says: "This also increases amount of kernel memory required for each mount."

By approximately how much does it do so? For six large reiserfs file systems?

Thank you, Oleg.

--
Nick Urbanik RHCE [email protected]
Dept. of Information & Communications Technology Hong Kong Institute of Vocational Education (Tsing Yi)
Tel: (852) 2436 8576, (852) 2436 8579 Fax: (852) 2436 8526
PGP: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C 23 7B ID: 7529555D
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24

#3 lore raw

Hello!

Quoted 3 lines · Nick Urbanik

I have been using 2.4.19-pre5. What does this mean in dmesg output:
Using r5 hash to sort names
ReiserFS version 3.6.25

It means your filesystem is using r5 hash. Version information is obsolette and will be removed soon.

Quoted 7 lines
Quoted 2 lines

Also with recent 2.4 kernels (2.4.17+), you can lookup this info in the /proc filesystem if you have enabled CONFIG_REISERFS_PROC_INFO.

I had it off.
About CONFIG_REISERFS_PROC_INFO, Configure.help says: "This also increases amount of kernel memory required for each mount." By approximately how much does it do so? For six large reiserfs file systems?

+8Kb of code (ie, common for no matter how much reiserfs fses you have) plus ~440 bytes for each filesystem mounted for counters.

Of course there is little performance hit (cpu time eaten) to actually increment these counters.

Bye,
Oleg

#4 lore raw
Quoted 8 lines · Oleg Drokin
Quoted 7 lines
Quoted 2 lines

Also with recent 2.4 kernels (2.4.17+), you can lookup this info in the /proc filesystem if you have enabled CONFIG_REISERFS_PROC_INFO.

I had it off.
About CONFIG_REISERFS_PROC_INFO, Configure.help says: "This also increases amount of kernel memory required for each mount." By approximately how much does it do so? For six large reiserfs file systems?

Quoted 5 lines

+8Kb of code (ie, common for no matter how much reiserfs fses you have) plus ~440 bytes for each filesystem mounted for counters.

Of course there is little performance hit (cpu time eaten) to actually increment these counters.

I'll enable it in my future kernel builds. Thank you again, Oleg.

--
Nick Urbanik RHCE [email protected]
Dept. of Information & Communications Technology Hong Kong Institute of Vocational Education (Tsing Yi)
Tel: (852) 2436 8576, (852) 2436 8579 Fax: (852) 2436 8526
PGP: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C 23 7B ID: 7529555D
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24

#5 lore raw
In reply to Oleg Drokin

Hello Oleg,

the kernel-config-help for this suggests not to enable unless you want to do reiserfs-debugging. But based on the data you provided, it doesn't hurt much on modern pc's to enable it at all. So perhaps you should also provide these data for the help text.

Best regards,

Bernd

Quoted 8 lines

+8Kb of code (ie, common for no matter how much reiserfs fses you have) plus ~440 bytes for each filesystem mounted for counters.

Of course there is little performance hit (cpu time eaten) to actually increment these counters.

Bye,
Oleg