linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: selva <selvait90@gmail.com>
Subject: Re: [linux-lvm] LVM extend and shrink at Run time supported file systems
Date: Fri, 09 Aug 2013 11:57:55 +0200	[thread overview]
Message-ID: <5204BD23.8040203@redhat.com> (raw)
In-Reply-To: <CALuwh1VtEnazECmysDmeOE9TfuE7p0pkFStU+LNuZsWWOjkqsQ@mail.gmail.com>

Dne 8.8.2013 23:35, selva napsal(a):
> Hi All,
>
> I extended the Linear LVM without Unmounting the Logical Volume. But Most of
> the docs suggest to unmount the LVM in shrink process.

I believe not MOST but EVERY docs suggest this ;)

> 1. Is it possible to shrink the LVM at Runtime (with out Unmount). If yes,
> What is correct way to do it.
>

You can shrink any lvm2 device online - as long as you don't care about data 
on this volume - but somehow I don't think it's matching your case...
In typical case you want to shrink filesystem first.
lvreduce support option '-r'  but for obvious reasons requires umount....


> Also I found in some places that only few file system supports Runtime Extend
> and Shrink of LVM.
>
> 2. What are file systems supports LVM extend and shrink without Unmount

Well - btrfs is known to be capable of online shrink - but in that case you 
don't need lvm2 ;)

None of the filesystems like 'extX', 'xfs', 'reiserfs' could be reduced online.

Zdenek

      reply	other threads:[~2013-08-09  9:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-08 21:35 [linux-lvm] LVM extend and shrink at Run time supported file systems selva
2013-08-09  9:57 ` 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=5204BD23.8040203@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=selvait90@gmail.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).