[linux-lvm] Desater Recovery <urgent>

Heinz J . Mauelshagen mauelshagen at sistina.com
Thu Apr 25 04:00:02 UTC 2002


All,

I supported Ralf on the phone and we analyzed, that the ext2 filesystem was
already *very* messy before e2fsadm could be run.


Brief history was:

- fs run as ext3 (heavily) used for weeks

- try to shrink unmounted fs with e2fsadm (using resize2fs) made e2fsadm
  end early because manual fsck was required; this was the point in time
  where a readonly mount and a backup was needed (but didn't happen) in
  order to save as much data as possible

- manual "fsck -fy" was run exposing piles of messages :-( which
  convinces me, that the fs data was messy already afterwards

- e2fsadm was run "successfully" ending up with smaller fs and larger
  LV size which is most likely caused by a resize2fs exit code != 0.


As already mentioned in other mails of this thread: no backups :-(

"Remind people of taking backup, remind people of taking backup, remind..."

Regards,
Heinz    -- The LVM Guy --



On Tue, Apr 23, 2002 at 08:47:40AM +0200, Bas wrote:
> > On Apr 22, 2002  18:22 +0100, Joe Thornber wrote:
> > > On Mon, Apr 22, 2002 at 07:14:05PM +0200, Ralf Zerres wrote:
> > > > no, i guess not.
> > > > I was using e2fsadm which is serializing the steps. As far as I know
> ...
> > >
> > > Yes e2fsadm should have resized the filesystem itself, so that's not
> > > the problem.
> >
> > Unless e2fsadm doesn't work properly with "- 4,5G"...
> >
> > Out of curiosity, which resizer did e2fsadm use?  resize2fs or
> > ext2resize?  By default it would have picked resize2fs if it is
> > installed.
> >
> > I don't suppose you recall (or better, have saved) any of the output
> > >from e2fsadm, resize2fs, e2fsck, anything?
> >
> > Cheers, Andreas
> > --
> > Andreas Dilger
> 
> Is it possible to extend the lv to the original size and run fsck on it ?
> Make a tarball of the available data in advance !
> 
> Good luck,
> Bas.
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list