From: Oleg Drokin <green@namesys.com>
To: Bruce <bestb@sympatico.ca>
Cc: reiserfs-list@namesys.com
Subject: Re: Can resize_reiserfs do non-destructive resizing??
Date: Mon, 18 Nov 2002 11:19:32 +0300 [thread overview]
Message-ID: <20021118111932.E3827@namesys.com> (raw)
In-Reply-To: <200211172140.49258.bestb@sympatico.ca>
Hello!
On Sun, Nov 17, 2002 at 09:40:49PM -0500, Bruce wrote:
> I have a desktop machine that was running Debian 3.0, installed on a 40Gig
> harddrive (single partition hda2 + swap hda1) formatted with reiserfs; the
> drive had about 10gig data on it. I wanted to test out Mandrake 9.0, and
> understood that the diskdrake program would handle resizing of the existing
> reiser partition (using resize_reiserfs, I assume). The diskdrake program
> suggested I backup as a precaution, but did not indicate that the resizing
> would be destructive.
resize_reiserfs is a non-destructive resizer.
> I let it resize the existing partition to 20Gig. It seemed to work, and
> Mandrake installed without any problems. However, since then I have not been
> able to access the Debian partition - can't boot from it, can't mount it,
> nothing. Trying to boot from that partition results in:
> attempt to access beyond end of device
> 03:02 rw=0 want 21364740 limit 21310191
> reiserfs_read_super: unable to read bitmap
> kernel panic....
Well, that means that the size of your debian partition is 10655092 megabytes,
but reiserfs filesystem is expecting the partition to be 10682370 megabytes
(as written in superblock).
You might try to use reiserfsck --rebuild-sb followed by subsequent
reiserfsck --rebuild-tree to bring reiserfs superblock data back in sync
with partition table. That will be dangerous if beginning of partition have
changed its location since mkfs time, though.
> Is this a problem with diskdrake's handling of resize_reiserfs??
> resize_reiserfs itself??
Hard to tell actually. Looks like filesystem have the size
changed, but partition table was not adjusted accordingly. Note
that resize_reiserfs does not touch partition tables at all.
> It could also be due to physical problems with the hard drive, which had
> reported bad blocks some time ago. Is this more likely the cause of the
> problem??
Well, it does not look like hard drive problem.
Bye,
Oleg
next prev parent reply other threads:[~2002-11-18 8:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-18 2:40 Can resize_reiserfs do non-destructive resizing?? Bruce
2002-11-18 8:19 ` Oleg Drokin [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-18 13:51 Bruce
2002-11-18 13:53 ` Oleg Drokin
2002-11-19 15:48 ` Bruce
2002-11-19 15:56 ` Oleg Drokin
2002-11-19 16:00 ` Bruce
2002-11-19 16:12 ` Dieter Nützel
2002-11-19 16:33 ` Todd Lyons
2002-11-19 16:51 ` Dieter Nützel
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=20021118111932.E3827@namesys.com \
--to=green@namesys.com \
--cc=bestb@sympatico.ca \
--cc=reiserfs-list@namesys.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.