All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: lvm-devel@redhat.com
Subject: Patch for adding --resize to manpage
Date: Fri, 18 Jun 2010 11:48:18 +0200	[thread overview]
Message-ID: <4C1B40E2.6020606@redhat.com> (raw)
In-Reply-To: <98BA4E4E-36F1-4A2F-9F1B-326C85F3BFE0@redhat.com>

Dne 18.6.2010 00:10, Jonathan Brassow napsal(a):
> Under lvextend/'--force', s/without any question/without any questions/.
>
> Under lvextend/'--resizefs', The sentence about 'fsadm' seems to imply that it
> is necessary in addition to the argument. Is this the case? If not, perhaps we
> could say something like, "fsadm can be used to resize a filesystem separately
> if this option is not used."


It works rather this way:

lvresize calculates new blocksize from command line options and
- resizes LV and execs fsadm for fs resize (lvextend)
- or execs fsadm for fs shrink and then reduces LV (lvreduce)

It will not work without fsadm as the lvresize command does not know anything 
about filesystems and their utilities for its resizing.

The other way around is - to use only  fsadm - which will use lvresize.
It should have easier syntax for user - on the other hand - doesn't handle 
given sizes  - i.e.  1.5GB (float numbers) are not yet supported by this tool 
and user needs to use 1500M.

Zdenek



      reply	other threads:[~2010-06-18  9:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-08 13:17 Patch for adding --resize to manpage Zdenek Kabelac
2010-06-17 10:33 ` Milan Broz
2010-06-17 22:10 ` Jonathan Brassow
2010-06-18  9:48   ` Zdenek Kabelac [this message]

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=4C1B40E2.6020606@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=lvm-devel@redhat.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.