From: Cris Rhea Subject: Two possible bugs in V3 ReiserFS and 2.4.31 kernel?? Date: Mon, 22 Aug 2005 15:15:35 -0500 Message-ID: <20050822201535.GA15324@kaizen.mayo.edu> Mime-Version: 1.0 Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: reiserfs-list@namesys.com 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