linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM extend and shrink at Run time supported file systems
@ 2013-08-08 21:35 selva
  2013-08-09  9:57 ` Zdenek Kabelac
  0 siblings, 1 reply; 2+ messages in thread
From: selva @ 2013-08-08 21:35 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

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.

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

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

Regards
Selva

[-- Attachment #2: Type: text/html, Size: 628 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] LVM extend and shrink at Run time supported file systems
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Zdenek Kabelac @ 2013-08-09  9:57 UTC (permalink / raw)
  To: LVM general discussion and development; +Cc: selva

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-09  9:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).