All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dale Kemp <dale@inet.net.nz>
To: Linux LVM <linux-lvm@msede.com>
Subject: Re: [linux-lvm] Generic resize tool
Date: Wed, 02 Aug 2000 15:23:52 +1200	[thread overview]
Message-ID: <39879448.8414ED6@inet.net.nz> (raw)
In-Reply-To: 200008011842.e71IgcS27484@webber.adilger.net

Andreas Dilger wrote:

> Hello,
> I'm wondering if people are interested in having a more generic resize tool
> than the current e2fsadm.  I've updated e2fsadm to have support for the
> GNU ext2resize tools (ext2resize and ext2online) in addition to resize2fs,
> but I was wondering about adding support for reiserfs resizing as well.
> At this point e2fsadm isn't a very good name for it anymore.
>
> I was thinking if renaming it to "chfs" the same as AIX LVM tool which
> handles both LV and FS resizing, among other things, and does not sound
> fs-specific.
>
> Cheers, Andreas

Earlier in discusions I suggested some common ground between volume
managers and filesystems, so that we can move forward in this area.

For the resize situation I suggest a simular way to mkfs which simply adds
a dot extension for each program, ie.

mkfs -t ext2    calls mkfs.ext2
mkfs -t minux calls mkfs.minux

I suggest we simply have:

resizefs -t ext2    calls resizefs.ext2
resizefs -t jfs calls resizefs.jfs

(Note resizefs.jfs can have its own unique options just like mkfs.<X> has,
all thats needed are some common elements)

Here we need a common set of options for resizing across all filesystems,
eg. --size [+|-]X[G|M|k]

eg.

resizefs -t ext2  --size +50M <partiton>

However we need volumes not just partitions.

resizevol -l lvm -t ext2 --size +50M /dev/lvm/lvol1

or,

resizevol -l ibmlvms -t jfs --size +50M lvol4

Exactly how this is implemented I haven't given too much thought,
but I would like IBM, SGI and LVM team get together on this but maybe
I'm dreaming again... Are you listening IBM? Lets get it tidy now not
later. I'm not asking IBM to give up there JFS/LVMS port (which is a very
good idea) I'm asking them to help work towards a better solution for
linux in general. If "chfs" is generic enough then we can make that the
"linux standard".

-- Dale.

  parent reply	other threads:[~2000-08-02  3:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-01 18:42 [linux-lvm] Generic resize tool Andreas Dilger
2000-08-01 19:53 ` Eric M. Hopper
2000-08-01 21:11   ` Mark Allen
2000-08-02  3:23 ` Dale Kemp [this message]
2000-08-02 10:04 ` Jens Benecke
2000-08-02 17:55   ` Andreas Dilger
2000-08-03 19:26     ` Jens Benecke

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=39879448.8414ED6@inet.net.nz \
    --to=dale@inet.net.nz \
    --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 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.