raid/lvm restore question

From: Dave (dspear99ca_at_yahoo.delete.com)
Date: 05/28/04

  • Next message: Dave: "Re: raid/lvm restore question"
    Date: Fri, 28 May 2004 19:19:00 GMT
    
    

    I have the following situation:

    I screwed up my RH9 2.4.25 (heavily patched) config by "updating" the
    linux-wlan-ng driver for my wireless NIC. I had been seeing transient
    networking errors and, well, it seemed like a pretty safe bet. 8-(.
    Apparently the "new" driver install script does not clean up the old
    drivers... I've found a few extraneous files around and don't have the
    patience to sift through and find all the problem children. AT ANY RATE, I
    can boot to single user, force the correct drivers to install, and all is
    well.

    No problem, says I with a well-deserved pat on the back... I do backups
    nightly. I'll just restore "/" from last week's DLT full.

    Well, maybe I shouldn't overwrite my current, broken-yet-functional,
    installation...

    Now, root is on a logical volume '/dev/Volume00/RootVol' which is on a
    software RAID-5 array, '/dev/md1'. Complicated for restoring. So I boot
    off of cd, start my raid volumes, activate my volume groups, and create a
    new logical volume I call '/dev/Volume00/TempVol'. Aha, I can mount it. So
    I restore '/' from tape, all is good. It's all there. I change
    "/etc/fstab" to reflect the new root location '/dev/Volume00/TempRoot'. I
    change "/etc/lilo.conf" and run lilo and reboot.

    I get so far in booting the kernel. When it tries to mount root I get
    errors such as "corrupt superblock on /dev/Volume00/TempRoot... run
    e2fsck -b 8193 blah blah blah." Drops me into a shell. I run pvscan, yup,
    there's /dev/md1 with VG "Volume00". I run vgscan, whoops, no volumes
    found. Hmm, let's try "vgchange -a y /dev/Volume00". Error, "Raid device
    /dev/md1 is inconsistent".

    So, what am I doing wrong here. Obviously the device '/dev/md1' is okay, I
    can still boot my broken installation no complaints. Is there anywhere
    other than /etc/fstab and lilo that need updating?

    Thanks

    Dave


  • Next message: Dave: "Re: raid/lvm restore question"

    Relevant Pages

    • Re: XP HOME BOOT FAILURE
      ... you remove the driver for the graphics card, ... >> If you run a repair install as I initially described, ... A repair install should bypass that but it will ... >>>> on, follow the screens. ...
      (microsoft.public.windowsxp.accessibility)
    • Problems with Touchpad,keyboard and USB after Ideacom update (solu
      ... and keyboard .I have made fresh install of XP Home and have all updated ... recomended update from Driver detective,that i use offten. ... allready and when i do this it knocks off my USB mouse leaving me not able to ... 2.Mutil-Access driver HCT driver verify crash fix! ...
      (microsoft.public.windowsxp.general)
    • Re: XP update loses sound card
      ... I assume you tried a forced install of a soundcard? ... should try the sound card driver from Toshiba ... The WINMM WDM Audio driver is out of the list now. ... The sound is enabled and uninstalling the Microsoft WINMM WDM Audio ...
      (microsoft.public.windowsupdate)
    • OT: What do you do with your old computers?
      ... connected that to the WLAN as well, using a small USB wireless link. ... And what about backups for petesp4 and Bigblack? ... Once it was talking to the network, I decided to install the printer and the ... driver, and was marked as an unknown device. ...
      (comp.lang.cobol)
    • Re: Modem Install Problems
      ... PCI: PCI BIOS revision 2.10 entry at 0xfb9c0, ... ACPI tables contain no PCI IRQ routing entries ... Serial driver version 5.05c with HUB-6 MANY_PORTS ... install: cannot stat `536ep.o': No such file or directory ...
      (comp.os.linux.setup)