reiserfs question

Darin Perusich Darin.Perusich at cognigencorp.com
Tue Nov 13 15:58:46 EST 2001


i had already link reiserfsck to fsck.reiserfs and set the fstab options
to 0 0. the fix was to add a line to the rc.sysinit that tests to see
what the fstype is. here's the patch from www.namesys.com.

--BEGIN--

--- rc.sysinit.orig     Mon Jul 30 22:58:45 2001
+++ rc.sysinit  Mon Jul 30 22:57:16 2001
@@ -211,7 +211,8 @@
 
  _RUN_QUOTACHECK=0
  ROOTFSTYPE=`grep " / " /proc/mounts | awk '{ print $3 }'`
-if [ -z "$fastboot" -a "$ROOTFSTYPE" != "nfs" ]; then
+if [ -z "$fastboot" -a "$ROOTFSTYPE" != "nfs" \
+                    -a "$ROOTFSTYPE" != "reiserfs" ]; then
 
          STRING=$"Checking root filesystem"
         echo $STRING

--END--

Robert Dege wrote:
> 
> Here's what Geocrawler came up with:
> 
> > I installed reiserfs on all my partitions except /boot
>   >
>   > When it boots it comes to Reiserfs checking / and just sits there with
>   > "will put log info to stderr" forever until you hit ENTER key.
>   >
>   > Anyone seen this?
>   >
> 
> Probably, reiserfsck awaits for confirmation from you. It is not supposed
> to be started by bootup scripts. Although, if your bootup scripts used
> fsck -a, reiserfsck would not wait for confirmation. (At least it is
> supposed to be so).
> 
> You might want to:
> ln /sbin/reiserfsck /sbin/fsck.reiserfs
> 
> or
> 
> change fs_freq and fs_passno (5-th and 6-th records) of lines in
> /etc/fstab which describe how to mount reiserfs partitions.
> 
> -Rob
> 
> > i'm setting up a few redhat 7.1 systems and all the filesystems on these
> > machines are reiserfs, with the exception of /boot. i found a nifty
> > "updates" floppy that lets you create reiser filesystems thru the redhat
> > installer, very cool, let me know if anyone wants it. anyway, when the
> > system boots up and it goes to mount / it pauses as says " Will put log
> > info to stderr" and expects either a <CR> or yes <CR>. what really gets
> > me is that i've modifed /etc/fstab to NOT fsck /.
> >
> > any ideas?
> >
> > i'm using a custom kernel, 2.4.14 that i've patched to support LVM
> > (logical volume managment) but i'm getting the same thing with the stock
> > redhat smp and enterprise kernels.
> >
> > --
> > Darin Perusich
> > Unix Systems Administrator
> > Cognigen Corp.
> > darinper at cognigencorp.com
> >
> 
> Dege
> 
> Inside some of us is a thin person struggling to get out, but
> they can usually be sedated with a few pieces of chocolate cake.

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper at cognigencorp.com


More information about the nflug mailing list