* [linux-lvm] e2fsck error
@ 2001-03-12 21:02 hail narcissus
2001-03-12 22:29 ` Andreas Dilger
0 siblings, 1 reply; 4+ messages in thread
From: hail narcissus @ 2001-03-12 21:02 UTC (permalink / raw)
To: linux-lvm
I am trying to resize my ext2 fs but I get an error from ext2resize:
ext2resize: ext2_open: filesystem has errors! e2fsck first!
ext2resize: can't open /dev/junior/site
At this point I do did a 'umount /dev/junior/site'
Then I do a 'e2fsck -fyv /dev/junior/site &'
It returns this:
Pass 1: Checking inodes, blocks, and sizes
Group 3125's block bitmap at 102400000 conflicts with some other fs block.
Relocate? yes
Group 3125's inode bitmap at 102400001 conflicts with some other fs block.
Relocate? yes
It finds other errors which I believe it fixes but not the above error. If
I re-run e2fsck then it comes up with the above error again.
Thanks!!
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] e2fsck error
2001-03-12 21:02 hail narcissus
@ 2001-03-12 22:29 ` Andreas Dilger
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Dilger @ 2001-03-12 22:29 UTC (permalink / raw)
To: linux-lvm
You write:
> I am trying to resize my ext2 fs but I get an error from ext2resize:
>
> ext2resize: ext2_open: filesystem has errors! e2fsck first!
> ext2resize: can't open /dev/junior/site
>
> At this point I do did a 'umount /dev/junior/site'
> Then I do a 'e2fsck -fyv /dev/junior/site &'
You should probably run "e2fsck -fpv /dev/junior/site", because there
are a few anwers which should be "n" and not "y". The "-p" option
will pick the right one (-y always answers "y"). It may not make a
difference in this case. Also, don't run it in the background, in
case it wants to ask some questions.
> It returns this:
>
> Pass 1: Checking inodes, blocks, and sizes
> Group 3125's block bitmap at 102400000 conflicts with some other fs block.
> Relocate? yes
>
> Group 3125's inode bitmap at 102400001 conflicts with some other fs block.
> Relocate? yes
Strangely, the bitmaps are in the same location as a superblock and group
descriptor backup (group 3125 = 5^5 is a "sparse" group).
> It finds other errors which I believe it fixes but not the above error. If
> I re-run e2fsck then it comes up with the above error again.
Strange. e2fsck _should_ be able to fix this, but maybe it has never
been tested before. How did you get into this situation in the first place?
Your previous posting indicated that you weren't running e2fsck on your
filesystem with errors? What version of ext2resize are you using? Did
you ever "force" a resize? In any case, probably a good time to make a
backup.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] e2fsck error
@ 2001-03-12 23:33 hail narcissus
2001-03-13 1:44 ` Andreas Dilger
0 siblings, 1 reply; 4+ messages in thread
From: hail narcissus @ 2001-03-12 23:33 UTC (permalink / raw)
To: linux-lvm
Running resize2fs was successful. Got another 140GB added to my LV now.
I'm running e2fsck -fvp now to see if there are any more errors, but it
doesn't get the errors right off the bat like it use to so it might have
fixed itself during the resize.
>From: Andreas Dilger <adilger@turbolinux.com>
>Reply-To: linux-lvm@sistina.com
>To: linux-lvm@sistina.com
>Subject: Re: [linux-lvm] e2fsck error
>Date: Mon, 12 Mar 2001 15:29:18 -0700 (MST)
>
>You write:
> > I am trying to resize my ext2 fs but I get an error from ext2resize:
> >
> > ext2resize: ext2_open: filesystem has errors! e2fsck first!
> > ext2resize: can't open /dev/junior/site
> >
> > At this point I do did a 'umount /dev/junior/site'
> > Then I do a 'e2fsck -fyv /dev/junior/site &'
>
>You should probably run "e2fsck -fpv /dev/junior/site", because there
>are a few anwers which should be "n" and not "y". The "-p" option
>will pick the right one (-y always answers "y"). It may not make a
>difference in this case. Also, don't run it in the background, in
>case it wants to ask some questions.
>
> > It returns this:
> >
> > Pass 1: Checking inodes, blocks, and sizes
> > Group 3125's block bitmap at 102400000 conflicts with some other fs
>block.
> > Relocate? yes
> >
> > Group 3125's inode bitmap at 102400001 conflicts with some other fs
>block.
> > Relocate? yes
>
>Strangely, the bitmaps are in the same location as a superblock and group
>descriptor backup (group 3125 = 5^5 is a "sparse" group).
>
> > It finds other errors which I believe it fixes but not the above error.
>If
> > I re-run e2fsck then it comes up with the above error again.
>
>Strange. e2fsck _should_ be able to fix this, but maybe it has never
>been tested before. How did you get into this situation in the first
>place?
>Your previous posting indicated that you weren't running e2fsck on your
>filesystem with errors? What version of ext2resize are you using? Did
>you ever "force" a resize? In any case, probably a good time to make a
>backup.
>
>Cheers, Andreas
>--
>Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
> \ would they cancel out, leaving him still hungry?"
>http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] e2fsck error
2001-03-12 23:33 [linux-lvm] e2fsck error hail narcissus
@ 2001-03-13 1:44 ` Andreas Dilger
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Dilger @ 2001-03-13 1:44 UTC (permalink / raw)
To: linux-lvm
You write:
> Running resize2fs was successful. Got another 140GB added to my LV now.
I can't see that resize2fs would run if there are filesystem errors. It
is far more paranoid about resizing than ext2resize (it forces you to run
e2fsck, even on a clean filesystem, while ext2resize only needs it if the
filesystem is dirty).
> I'm running e2fsck -fvp now to see if there are any more errors, but it
> doesn't get the errors right off the bat like it use to so it might have
> fixed itself during the resize.
Probably takes a long time, but well worth it... Maybe the errors were
cleaned up the last time you ran e2fsck? It would have been useful to
check the filesystem status with "dumpe2fs -h <dev>" before you did the
resize/e2fsck, to see if it was clean or not.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-03-13 1:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-12 23:33 [linux-lvm] e2fsck error hail narcissus
2001-03-13 1:44 ` Andreas Dilger
-- strict thread matches above, loose matches on Subject: below --
2001-03-12 21:02 hail narcissus
2001-03-12 22:29 ` Andreas Dilger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).