From: Andreas Dilger <adilger@enel.ucalgary.ca>
To: linux-fsdevel@vger.rutgers.edu (Linux FS development list),
linux-lvm@msede.com (Linux LVM mailing list),
linux-kernel@vger.rutgers.edu (Linux kernel development list)
Subject: ext2 online resizer available
Date: Sat, 16 Oct 1999 22:19:23 -0600 (MDT) [thread overview]
Message-ID: <199910170419.WAA26043@webber.adilger.net> (raw)
Hello all,
my online ext2 resizer is now available in a fully functional state. If
the underlying partition supports it, it is possible to resize an ext2
filesystem while it is mounted and in use by applications.
This capability is provided by a kernel patch (2.2/2.3 and 2.0 versions
available - should apply cleanly to most versions as that part of the
kernel code hasn't changed much in a long time) and some user-space tools.
The amount that you can resize a filesystem depends on the block size and
whether or not you have "prepared" the filesystem for large resizes. The
ext2 filesystem is maintained as a normal filesystem at all times, and it
can be used by a non-patched kernel at any time, and with one exception
(if you have an old e2fsck) will fsck clean after a resize.
Note that you need some way to resize the underlying partition (via LVM
probably) in order to resize the filesystem. For testing purposes you
can also create a small filesystem on a large partition, and then resize
to fill the partition.
Patches are available at my web site:
http://www-mddsp.enel.ucalgary.ca/People/adilger/online-ext2/
The user-space tools are now part of Lennert Buytenhek's ext2resize suite:
http://www.dsv.nl/~buytenh/ext2resize/
for which a patch is required from my site.
Please give it a good testing, as I haven't been able to find any problems
while putting a hundred copies of an 11MB filesystem tree into a filesystem
while doing thousands of resizes to the same mounted filesystem.
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
reply other threads:[~1999-10-17 4:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=199910170419.WAA26043@webber.adilger.net \
--to=adilger@enel.ucalgary.ca \
--cc=linux-fsdevel@vger.rutgers.edu \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®