"fsck failed" on lvm/raid1 setup

From: David Bruce (Bruce_at_lifelinkfound.org)
Date: 02/18/05

  • Next message: Ralph Katz: "Re: slew of kbuildsycoca warnings"
    Date: Fri, 18 Feb 2005 13:57:02 -0500
    To: <debian-user@lists.debian.org>
    
    

    My home box is running Debian unstable with kernel 2.6.10 installed onto two IDE drives setup as raid-1 (thanks, Debian-Installer). I am not at that machine now, but the arrangement is basically:
    hda1 - /boot 128 MB
    hda5 and hdc5 - raid1 device 120 GB used as logical volume group for lvm2, with separate logical volumes as follows (if I recall correctly):
    /dev/mapper/linux-root
    /dev/mapper/linux-usr
    /dev/mapper/linux-home
    /dev/mapper/linux-tmp
    /dev/mapper/linux-var
     
    /boot is ext3, everything else is reiserfs 3.6
     
    During the boot-up process, I get a message "fsck failed, please repair manually - enter root password for maintenance or press Ctrl-D to exit this shell" immediately after fsck checks /dev/mapper/linux-var. The system still seems to work normally if I hit Ctrl-D and resume booting.
     
    My understanding from Google is that the recommended way to address this is to boot from a rescue disk or something like Knoppix and run fsck on all of the partitions when unmounted. However, Knoppix just shows me the underlying hda5 and hdc5 partitions, not the lvm/raid setup. I've read through man fsck without much enlightenment.
     
    Questions:
    1. Can I fix this by entering some commands after entering the root password during the boot process? I've tried reiserfsck with several different options without success.
    2. Can I boot with the Sarge install disk and somehow correct the process?
    3. If #1 and #2 don't work out, can I start up raid and lvm under Knoppix and attack the problem? I'm worried about screwing up my system further.
    4. If I do nothing, should I expect my system to croak?
     
    Thanks for any advice, and please excuse the following workplace-generated legalese.
     
    David Bruce
     
     
    David S. Bruce, M.D., F.A.C.S.
    LifeLink Transplant Institute
    409 Bayshore Boulevard
    Tampa, FL 33606
    (813) 253-2640

    The information contained in this e-mail may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. LifeLink.

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Ralph Katz: "Re: slew of kbuildsycoca warnings"

    Relevant Pages

    • Re: How to Move from 1 drive to another?
      ... >>Before I forget, install, configure and configure smartmontools. ... thought I would try ReiserFS for the ... >>This will be quicker than doing it with cp or tar. ... boot directories to archive. ...
      (Debian-User)
    • Re: [opensuse] Efficacy of file systems (for some applications)
      ... I found the reference/comments about ext3 and Reiserfs, both used as 'defaults' in openSuse, interesting to say the least. ... I can understand the problem with fast deletion, but not that you can get corruption in reiserfs due to the large files used. ... I installed is running VERY well on XFS.) ... That's not a big deal in itself: both reiserfs and ext3 did recover fine on next boot; but xfs failed reconstruction and the whole install failed. ...
      (SuSE)
    • Re: Gentoo CD for fixing - Bad Idea?
      ... > partition as ReiserFs, however, it is not listing it as reiserfs. ... effect and even parted don't know the filesystems on the slices. ... most binary based distros don't install sources by default. ... Everything has to do with what you want to do, XFS uses RAM to store stuff ...
      (alt.linux)
    • Re: FC6 doesnt boot on VIA C3
      ... file system should be started, the boot process stops without further ... Did you install on this PC? ... all Fedora binaries can contain this illegal instruction. ...
      (Fedora)
    • mandrake 10 installed OK w/out inserting UN & PW, but now insists I login USING them.... :-( WT
      ... mandrake 10 without entering a username and password when the CD's asked ... I never entered any during the CD install, ... available that I could -now- press to make it boot; ...
      (comp.os.linux.setup)