All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Zarochentsev <zam@namesys.com>
To: umka@clusterfs.com
Cc: Russell Sears <sears@eecs.berkeley.edu>, reiserfs-list@namesys.com
Subject: Re: Resierfs Resize -> Corrupt bitmap.
Date: Thu, 5 Feb 2004 11:46:24 +0300	[thread overview]
Message-ID: <20040205084623.GD1733@backtop.namesys.com> (raw)
In-Reply-To: <402151E4.1060100@cs.berkeley.edu>

On Wed, Feb 04, 2004 at 08:11:16PM +0000, Russell Sears wrote:
> I used parted to resize my reiserfs partion from 20Gig to 29Gig, and ran 
> reiserfsck afterwards, just in case.  I got the messages that I pasted 
> into the bottom.  (Basicly, resize corrupted the bitmap, and reiserfsck 
> --fix-fixable fixed it.)

The problem can be in libreiserfs used by gnu parted (if your fs was not
corrupted before resizing), I re-sent to the libreiserfs maintainer. 

> 
> I'm using the following versions of software, on Debian testing (Really 
> on a verison of Morphix):
> parted       1.6.6-3.1
> reiserfsprog 3.6.11-1.1
> libreiserfs0 0.3.0.4-1
> 
> I have a patched 2.4.24 kernel:
> supermount-1.2.11
> bootsplash-3.0.7
> xattr-0.8.65
> acl-0.8.65
> nfsacl-0.8.65
> Kernel-Win4Lin3-2.4.24 / mki-adapter
> knoppix-kernel
> linux-2.4.24-ntfs-2.1.6a
> 
> And the following third party modules:
> cloop
> loop-aes
> translucency
> madwifi
> 
> My hardware is:
> IBM Thinkpad R40.  The drive is an 80Gig Maxtor in a firewire case. 
> parted sees it as 80Gig, but fdisk / cfdisk sees it as 60 gig. 
> Apparently, I'm only using the first 60 gig of the drive.  The drive 
> must have been incorrectly detected as a 60Gig drive years ago, on a 
> normal IDE controller.
> 
> Parted said this after the resize:
> 
> Using /dev/sdb
> Information: The operating system thinks the geometry on /dev/sdb is 
> 7473/255/63.  Therefore, cylinder 1024 ends at 8032.499M.
> (parted) print
> Disk geometry for /dev/sdb: 0.000-58623.468 megabytes
> Disk label type: msdos
> Minor    Start       End     Type      Filesystem  Flags
> 1          0.031   8001.123  primary   reiserfs    boot
> 2       8001.123   8024.655  primary   ext3
> 3       8024.656  58619.992  extended
> 5       8024.687  37166.000  logical   reiserfs
> 6      37166.032  58619.992  logical   ext3
> 
> 
> If there's any more information you would like, please CC to me, as I'm 
> not on this list.
> 
> 
> Thanks,
> Rusty
> 
> 
> 
> 
> sh-2.05b# reiserfsck /dev/sdb5
> reiserfsck 3.6.11 (2003 www.namesys.com)
> 
> *************************************************************
> ** If you are using the latest reiserfsprogs and  it fails **
> ** please  email bug reports to reiserfs-list@namesys.com, **
> ** providing  as  much  information  as  possible --  your **
> ** hardware,  kernel,  patches,  settings,  all reiserfsck **
> ** messages  (including version),  the reiserfsck logfile, **
> ** check  the  syslog file  for  any  related information. **
> ** If you would like advice on using this program, support **
> ** is available  for $25 at  www.namesys.com/support.html. **
> *************************************************************
> 
> Will read-only check consistency of the filesystem on /dev/sdb5
> Will put log info to 'stdout'
> 
> Do you want to run this program?[N/Yes] (note need to type Yes if you 
> do):Yes
> ###########
> reiserfsck --check started at Wed Feb  4 19:31:46 2004
> ###########
> Replaying journal..
> 0 transactions replayed
> Zero bit found in on-disk bitmap after the last valid bit.
> Checking internal tree..finished
> Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs.
> Checking Semantic tree:
> finished
> 2 found corruptions can be fixed when running with --fix-fixable
> ###########
> reiserfsck finished at Wed Feb  4 19:32:15 2004
> ###########
> sh-2.05b#
> sh-2.05b$ sudo reiserfsck /dev/sdb5 --fix-fixable
> reiserfsck 3.6.11 (2003 www.namesys.com)
> 
> *************************************************************
> ** If you are using the latest reiserfsprogs and  it fails **
> ** please  email bug reports to reiserfs-list@namesys.com, **
> ** providing  as  much  information  as  possible --  your **
> ** hardware,  kernel,  patches,  settings,  all reiserfsck **
> ** messages  (including version),  the reiserfsck logfile, **
> ** check  the  syslog file  for  any  related information. **
> ** If you would like advice on using this program, support **
> ** is available  for $25 at  www.namesys.com/support.html. **
> *************************************************************
> 
> Will check consistency of the filesystem on /dev/sdb5
> and will fix what can be fixed without --rebuild-tree
> Will put log info to 'stdout'
> 
> Do you want to run this program?[N/Yes] (note need to type Yes if you 
> do):Yes
> ###########
> reiserfsck --fix-fixable started at Wed Feb  4 19:52:41 2004
> ###########
> Replaying journal..
> 0 transactions replayed
> Zero bit found in on-disk bitmap after the last valid bit. Fixed.
> Checking internal tree..finished
> Comparing bitmaps..vpf-10630: The on-disk and the correct bitmaps 
> differs. Will be fixed later.
> Checking Semantic tree:
> finished
> No corruptions found
> There are on the filesystem:
>         Leaves 4817
>         Internal nodes 34
>         Directories 13
>         Other files 180
>         Data block pointers 4822473 (27051 of them are zero)
>         Safe links 0
> ###########
> reiserfsck finished at Wed Feb  4 19:53:17 2004
> ###########
> sh-2.05b$ sudo reiserfsck /dev/sdb5
> reiserfsck 3.6.11 (2003 www.namesys.com)
> 
> *************************************************************
> ** If you are using the latest reiserfsprogs and  it fails **
> ** please  email bug reports to reiserfs-list@namesys.com, **
> ** providing  as  much  information  as  possible --  your **
> ** hardware,  kernel,  patches,  settings,  all reiserfsck **
> ** messages  (including version),  the reiserfsck logfile, **
> ** check  the  syslog file  for  any  related information. **
> ** If you would like advice on using this program, support **
> ** is available  for $25 at  www.namesys.com/support.html. **
> *************************************************************
> 
> Will read-only check consistency of the filesystem on /dev/sdb5
> Will put log info to 'stdout'
> 
> Do you want to run this program?[N/Yes] (note need to type Yes if you 
> do):Yes
> ###########
> reiserfsck --check started at Wed Feb  4 19:53:57 2004
> ###########
> Replaying journal..
> 0 transactions replayed
> Checking internal tree..finished
> Comparing bitmaps..finished
> Checking Semantic tree:
> finished
> No corruptions found
> There are on the filesystem:
>         Leaves 4817
>         Internal nodes 34
>         Directories 13
>         Other files 180
>         Data block pointers 4822473 (27051 of them are zero)
>         Safe links 0
> ###########
> reiserfsck finished at Wed Feb  4 19:54:23 2004
> ###########
> 
> 
> 

-- 
Alex.

  reply	other threads:[~2004-02-05  8:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-04 20:11 Resierfs Resize -> Corrupt bitmap Russell Sears
2004-02-05  8:46 ` Alex Zarochentsev [this message]
2004-02-05  8:55   ` Yury V. Umanets

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040205084623.GD1733@backtop.namesys.com \
    --to=zam@namesys.com \
    --cc=reiserfs-list@namesys.com \
    --cc=sears@eecs.berkeley.edu \
    --cc=umka@clusterfs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.