cannot mount reiserfs with nonstandard journal size
I'm using reiserfsprogs 3.6.11 on a Slackware 9.0 machine with Kernel 2.4.20 which I patched with the patches from /pub/reiserfs-for-2.4/2.4.20-pending
When I
mkreiserfs /dev/sdb1
(standard journal size), I can mount the file system with
mount -t reiserfs /dev/sdb1 /back
without problems.
If, however, I create it with
mkreiserfs -s 1025 /dev/sdb1
or any other journal size, the same mount will fail with
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
or too many mounted file systems
Checking the file system with
reiserfsck /dev/sdb1
fails with the message
Failed to open the journal device ((null)).
The check works fine if I either add the --no-journal-available or the -j /dev/sdb1 option.
My questions:
- Is this behaviour correct?
- Is there a way (mount option?) to mount reiserfs with non-standard journal sizes?
Thanks,
Laurenz Brein
Hello!
Quoted 7 lines · Laurenz Brein
I'm using reiserfsprogs 3.6.11 on a Slackware 9.0 machine with Kernel 2.4.20 which I patched with the patches from /pub/reiserfs-for-2.4/2.4.20-pending If, however, I create it with
mkreiserfs -s 1025/dev/sdb1
or any other journal size, the same mount will fail with
mount: wrong fs type, bad option, bad superblock on/dev/sdb1,
or too many mounted file systems
Yes. You need extra patch with support for nonstandard journals.
You can get one at e.g. ftp://ftp.suse.com/pub/people/mason/patches/data-logging/2.4.20/01-relocation-5.diff.gz
Quoted 6 lines
Checking the file system with
reiserfsck/dev/sdb1
fails with the message
Failed to open the journal device ((null)).
The check works fine if I either add the --no-journal-available or the -j/dev/sdb1option.
Hm. We had similar bug fixed already.
Vitaly is looking at this currently and will provide you with a bugfix.
Quoted 2 lines
My questions:
- Is this behaviour correct?
It is correct for the kernel, not correct for reiserfsck
Quoted 2 lines
- Is there a way (mount option?) to mount reiserfs with non-standard journal sizes?
You need to apply a patch to 2.4.20 (or upgrade to 2.4.22 or 2.6.0-test)
Bye,
Oleg
Hi,
Quoted 23 lines · Oleg Drokin
Hello!
Quoted 7 lines · Laurenz Brein
I'm using reiserfsprogs 3.6.11 on a Slackware 9.0 machine with Kernel 2.4.20 which I patched with the patches from /pub/reiserfs-for-2.4/2.4.20-pending If, however, I create it with
mkreiserfs -s 1025/dev/sdb1
or any other journal size, the same mount will fail with
mount: wrong fs type, bad option, bad superblock on/dev/sdb1,
or too many mounted file systemsYes. You need extra patch with support for nonstandard journals. You can get one at e.g. ftp://ftp.suse.com/pub/people/mason/patches/data-logging/2.4.20/01-relocati on-5.diff.gz
Quoted 6 lines
Checking the file system with
reiserfsck/dev/sdb1
fails with the message
Failed to open the journal device ((null)).
The check works fine if I either add the --no-journal-available or the -j/dev/sdb1option.
Quoted 2 lines
Hm. We had similar bug fixed already.
Vitaly is looking at this currently and will provide you with a bugfix.
yes, I fixed it but it have not got into any release yet, so you have to specify the journal device with 3.6.11.
Signature · 2 lines
Thanks, Vitaly Fertman