* Two possible bugs in V3 ReiserFS and 2.4.31 kernel??
@ 2005-08-22 20:15 Cris Rhea
2005-08-23 11:04 ` Vladimir V. Saveliev
0 siblings, 1 reply; 2+ messages in thread
From: Cris Rhea @ 2005-08-22 20:15 UTC (permalink / raw)
To: reiserfs-list
Background:
Dell 6600 (4 processor, 8GB memory) with RHAS3 loaded.
Email product vendor suggests using ReiserFS V3 on mail spool directory
for speed (many files in one directory).
Since RedHat does not support/include ReiserFS in their kernels, download
and build the latest 2.4 kernel:
linux-2.4.31.tar.gz (ftp.kernel.org)
From my reading, there are NO patches for ReiserFS...
Take current kernel config (RedHat's kernel-2.4.21-i686-smp.config) and
use it for the base for the 2.4.31 kernel (make oldconfig). Take defaults
(mostly "N") for all new features. Reiserfs is a module.
Download, compile, and install reiserfsprogs-3.6.19.tar.gz.
Upon reboot, reiserfs shows up in lsmod....
mkreiserfs -b 2048 /dev/sdc1 (sdc1 is a RAID-5 hardware LUN on the Dell
PERC controller. Only one partition defined
[entire disk] as type 83.)
Command completes successfully.
reiserfsck /dev/sdc1 also works successfully....
Mount via fstab or via: mount -t reiserfs /dev/sdc1 /var/spool/MHS1
fails with:
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
or too many mounted file systems
Running the mkreiserfs without the "-b 2048" works fine (correctly mounts).
Second problem.... if one labels the filesystem during build
(mkreiserfs -l "/var/spool/MHS1" /dev/sdc1), this fails to mount if you
use the "LABEL=/var/spool/MHS1" option in /etc/fstab. This is supposed to
work on 3.6 per the FAQ.
I didn't find much on the 'net other than patches/problems for early
2.4 kernels.
I'm having a hard time believing nobody has ever tried "-b 2048" on
V3 ReiserFS previously.... must be something hosed in the latest
kernel.....
--- Cris
--
Cristopher J. Rhea Mayo Foundation
Research Computing Facility Pavilion 2-25
crhea@Mayo.EDU Rochester, MN 55905
(507) 284-0587 Fax: (507) 284-5231
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Two possible bugs in V3 ReiserFS and 2.4.31 kernel??
2005-08-22 20:15 Two possible bugs in V3 ReiserFS and 2.4.31 kernel?? Cris Rhea
@ 2005-08-23 11:04 ` Vladimir V. Saveliev
0 siblings, 0 replies; 2+ messages in thread
From: Vladimir V. Saveliev @ 2005-08-23 11:04 UTC (permalink / raw)
To: Cris Rhea; +Cc: reiserfs-list
Hello
Cris Rhea wrote:
> Background:
>
> Dell 6600 (4 processor, 8GB memory) with RHAS3 loaded.
> Email product vendor suggests using ReiserFS V3 on mail spool directory
> for speed (many files in one directory).
>
> Since RedHat does not support/include ReiserFS in their kernels, download
> and build the latest 2.4 kernel:
>
> linux-2.4.31.tar.gz (ftp.kernel.org)
>
>>From my reading, there are NO patches for ReiserFS...
>
> Take current kernel config (RedHat's kernel-2.4.21-i686-smp.config) and
> use it for the base for the 2.4.31 kernel (make oldconfig). Take defaults
> (mostly "N") for all new features. Reiserfs is a module.
>
> Download, compile, and install reiserfsprogs-3.6.19.tar.gz.
>
> Upon reboot, reiserfs shows up in lsmod....
>
> mkreiserfs -b 2048 /dev/sdc1 (sdc1 is a RAID-5 hardware LUN on the Dell
> PERC controller. Only one partition defined
> [entire disk] as type 83.)
> Command completes successfully.
>
> reiserfsck /dev/sdc1 also works successfully....
>
> Mount via fstab or via: mount -t reiserfs /dev/sdc1 /var/spool/MHS1
> fails with:
>
> mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
> or too many mounted file systems
>
> Running the mkreiserfs without the "-b 2048" works fine (correctly mounts).
>
Yes, please use always default block size.
> Second problem.... if one labels the filesystem during build
> (mkreiserfs -l "/var/spool/MHS1" /dev/sdc1), this fails to mount if you
> use the "LABEL=/var/spool/MHS1" option in /etc/fstab. This is supposed to
> work on 3.6 per the FAQ.
>
this works perfectly on 2.6.13-rc6-mm1. And probably on earlier 2.6 kernels.
> I didn't find much on the 'net other than patches/problems for early
> 2.4 kernels.
>
> I'm having a hard time believing nobody has ever tried "-b 2048" on
> V3 ReiserFS previously.... must be something hosed in the latest
> kernel.....
This is known reiserfs problem: no block sizes other than default one
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-23 11:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-22 20:15 Two possible bugs in V3 ReiserFS and 2.4.31 kernel?? Cris Rhea
2005-08-23 11:04 ` Vladimir V. Saveliev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.