* Mounting reiserfs with nonstandard journal size fails
@ 2002-10-29 23:36 Torrey Hoffman
2002-10-30 6:39 ` [reiserfs-list] " Oleg Drokin
2002-10-30 21:29 ` Hans Reiser
0 siblings, 2 replies; 4+ messages in thread
From: Torrey Hoffman @ 2002-10-29 23:36 UTC (permalink / raw)
To: Linux Kernel, Reiserfs List
I'm having trouble mounting a reiserfs filesystem created with a
nonstandard (smaller) journal size. But if I use the default journal
size, it works fine.
The filesystem is on a 64 MB compact flash attached to a USB reader. It
has a single partition, which appears as /dev/sda1.
I've done a little detective work with strace'ing mount (8). It calls
mount (2) which fails with EINVAL, which seems to indicate a bad
superblock in this case. It appears that the in-kernel superblock
parsing for reiserfs does not understand non-standard journal sizes.
My kernel is an updated Red Hat 7.3 (2.4.18-10) and my reiserfsprogs are
3.6.3, downloaded from www.namesys.com and compiled locally. My mount
program is version 2.11n, the standard Red Hat version.
Is this fixed in later kernels?
Another strange thing I noticed: if I strace a successful mount of the
normal reiserfs, I see two calls to mount (2) in the output. The first
returns ENOSYS, which is not documented on the mount(2) manpage, but the
second identical call succeeds. Weird. Time to have a look at the
mount sourcecode I guess...
successful mount strace output:
...
mount("/dev/sda1", "/mnt/flash", "reiserfs", 0xc0ed0000, 0) = -1 ENOSYS
(Function not implemented)
mount("/dev/sda1", "/mnt/flash", "reiserfs", 0xc0ed0000, 0) = 0
...
Torrey Hoffman
thoffman@arnor.net
torrey.hoffman@myrio.com
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [reiserfs-list] Mounting reiserfs with nonstandard journal size fails
2002-10-29 23:36 Mounting reiserfs with nonstandard journal size fails Torrey Hoffman
@ 2002-10-30 6:39 ` Oleg Drokin
2002-10-30 21:29 ` Hans Reiser
1 sibling, 0 replies; 4+ messages in thread
From: Oleg Drokin @ 2002-10-30 6:39 UTC (permalink / raw)
To: Torrey Hoffman; +Cc: Linux Kernel, Reiserfs List
Hello!
On Tue, Oct 29, 2002 at 03:36:20PM -0800, Torrey Hoffman wrote:
> I'm having trouble mounting a reiserfs filesystem created with a
> nonstandard (smaller) journal size. But if I use the default journal
> size, it works fine.
Sure. Non-standard journal is only supported in 2.5 kernel for now.
Bye,
Oleg
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [reiserfs-list] Mounting reiserfs with nonstandard journal size fails
2002-10-29 23:36 Mounting reiserfs with nonstandard journal size fails Torrey Hoffman
2002-10-30 6:39 ` [reiserfs-list] " Oleg Drokin
@ 2002-10-30 21:29 ` Hans Reiser
2002-10-31 5:43 ` Oleg Drokin
1 sibling, 1 reply; 4+ messages in thread
From: Hans Reiser @ 2002-10-30 21:29 UTC (permalink / raw)
To: Oleg Drokin; +Cc: Torrey Hoffman, Linux Kernel, Reiserfs List
Oleg Drokin wrote:
>Hello!
>
>On Tue, Oct 29, 2002 at 03:36:20PM -0800, Torrey Hoffman wrote:
>
>
>>I'm having trouble mounting a reiserfs filesystem created with a
>>nonstandard (smaller) journal size. But if I use the default journal
>>size, it works fine.
>>
>>
>
>Sure. Non-standard journal is only supported in 2.5 kernel for now.
>
>Bye,
> Oleg
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>
>
>
That should be in the queue for the next pre1, yes?
--
Hans
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [reiserfs-list] Mounting reiserfs with nonstandard journal size fails
2002-10-30 21:29 ` Hans Reiser
@ 2002-10-31 5:43 ` Oleg Drokin
0 siblings, 0 replies; 4+ messages in thread
From: Oleg Drokin @ 2002-10-31 5:43 UTC (permalink / raw)
To: Hans Reiser; +Cc: Torrey Hoffman, Linux Kernel, Reiserfs List
Hello!
On Thu, Oct 31, 2002 at 12:29:29AM +0300, Hans Reiser wrote:
> >>I'm having trouble mounting a reiserfs filesystem created with a
> >>nonstandard (smaller) journal size. But if I use the default journal
> >>size, it works fine.
> >Sure. Non-standard journal is only supported in 2.5 kernel for now.
> That should be in the queue for the next pre1, yes?
Yes. Also lots of other stuff which we, unfortunatelly have not
put in 2.5, too.
Bye,
Oleg
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-10-31 5:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-29 23:36 Mounting reiserfs with nonstandard journal size fails Torrey Hoffman
2002-10-30 6:39 ` [reiserfs-list] " Oleg Drokin
2002-10-30 21:29 ` Hans Reiser
2002-10-31 5:43 ` Oleg Drokin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox