linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Theodore Y. Ts'o" <tytso@mit.edu>
To: buytenh@dsv.nl
Cc: linux-lvm@msede.com, linux-fsdevel@vger.rutgers.edu
Subject: Re: [linux-lvm] Re: ext2resize
Date: Thu, 8 Jul 1999 18:56:54 -0400	[thread overview]
Message-ID: <199907082256.SAA13689@tsx-prime.MIT.EDU> (raw)
In-Reply-To: <004a01bec785$01f0f920$0102010a@adminstation.sgymsdam.nl> (buytenh@dsv.nl)

   From: "Lennert Buytenhek" <buytenh@dsv.nl>
   Date:   Tue, 6 Jul 1999 09:56:07 +0200

   I just got an email from John Finlay saying he's got a 52GB fs with
   6000+ block groups. So the 1024 block group limit is just bogus.
   The header in question which #defined the max # of block groups
   to be 1024 is wrong, then.

I'm curious *where* people thought a header defined the max # of block
groups to be 1024?  Yes, that limit is completely bogus.

   From: "Lennert Buytenhek" <buytenh@dsv.nl>
   Date:   Tue, 6 Jul 1999 10:56:06 +0200

   Moving the inode/block bitmap blocks is not that difficult when
   unmounted, but moving the inode table is tricky to get right (w.r.t
   atomicity). One ext2resize user got a segfault while the inode table
   was being moved (yes, that bug is fixed now) a while ago and
   we're still cleaning up the mess.

The trick here is to try *very* hard not to have to do an overlapping
move of the inode table (which you may be forced to do if the filesystem
is too full, but in most cases it can be avoided).  Then do a copy of
that portion of the inode table, and only update the GDT *after* the
inode table has been safely moved.  

You may have to move some extra data blocks belonging to files to do
this, though, so it's much easier to do this safely during an offline
resize. 

						- Ted

  parent reply	other threads:[~1999-07-08 22:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-06  7:56 [linux-lvm] Re: ext2resize Lennert Buytenhek
1999-07-08 14:34 ` tytso
1999-07-08 22:56 ` Theodore Y. Ts'o [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-07-06  8:56 Lennert Buytenhek
1999-07-06  8:47 Lennert Buytenhek
1999-07-05 20:49 Andreas Dilger
1999-07-05 19:47 Andreas Dilger
1999-07-07  5:27 ` John Finlay
1999-07-05  8:47 Lennert Buytenhek
1999-07-05 18:38 ` John Finlay
1999-07-05 18:55 ` John Finlay
1999-07-05  8:40 Lennert Buytenhek
1999-07-04 18:56 Andreas Dilger
1999-06-30  9:46 Admin
1999-07-02 16:58 ` Andreas Dilger
1999-07-05 17:03   ` Stephen C. Tweedie
     [not found] <009c01bebee1$aa81b9a0$0102010a@adminstation.sgymsdam.nl>
1999-06-30  7:34 ` Andreas Dilger

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=199907082256.SAA13689@tsx-prime.MIT.EDU \
    --to=tytso@mit.edu \
    --cc=buytenh@dsv.nl \
    --cc=linux-fsdevel@vger.rutgers.edu \
    --cc=linux-lvm@msede.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 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).