linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Gavin Flower <gavinflower@yahoo.com>
Cc: ext3-users@redhat.com, linux-raid@vger.kernel.org
Subject: Re: physical size of the device inconsistent with superblock, after RAID problems
Date: Fri, 18 Feb 2011 12:51:25 +1100	[thread overview]
Message-ID: <20110218125125.22037092@notabene.brown> (raw)
In-Reply-To: <122234.22513.qm@web65103.mail.ac2.yahoo.com>

On Thu, 17 Feb 2011 15:53:11 -0800 (PST) Gavin Flower <gavinflower@yahoo.com>
wrote:

> Hi Neil,
> 
> My attempted post to ext3-users@redhat.com, had not been published there (even though I had emailed it 4 days ago!), as at a minute ago.
> 
> I finally bit the bullet and went ahead.
> 
> I accepted the fixes put forward by fsck associated with bitmap differences, and rebooted.
> 
> Still problems.
> 
> Still had the discrepancy in the file size.  So I ran the command:
> 
> resize2fs -p /dev/md1 76799616
> 
> I used the smaller of the 2 block counts, as:
> (a) I needed to reduce the file system size, because I had already reduced the RAID size (I _SHOULD_ have done this first, before resizing the RAID), and
> (b) it is reported as the 'physical' size of the device, so it is likely to be the correct value IMHO
> 
> The system the came up successfully after a reboot, and I was able to log in as normal.
> 
> There appeared to be no apparent loss of data, not that I did an exhaustive systematic check. However, several users have logged on successfully, and it is playing its part as gateway to the Internet, and squid appears to be providing its normal functionality.
> 
> Neil, your help and encouragement was/is greatly appreciated!
> 

Excellent!  I'm glad you found a way through.
As you didn't really trim very much from your device it is certainly possible
that no critical data was there.  Quite possibly resize2fs would have told
you if there was (I certainly hope it would have done).

NeilBrown
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-02-18  1:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-17 23:53 physical size of the device inconsistent with superblock, after RAID problems Gavin Flower
2011-02-18  1:51 ` NeilBrown [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-02-18  3:50 Gavin Flower
2011-02-15  3:14 Gavin Flower

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=20110218125125.22037092@notabene.brown \
    --to=neilb@suse.de \
    --cc=ext3-users@redhat.com \
    --cc=gavinflower@yahoo.com \
    --cc=linux-raid@vger.kernel.org \
    /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 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).