linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] question about extending snapshots
@ 2013-01-05  0:00 Brian Chrisman
  2013-01-07 13:27 ` Heinz Mauelshagen
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Chrisman @ 2013-01-05  0:00 UTC (permalink / raw)
  To: linux-lvm

I'm running rhel6.2 nearly stock.
When I mount a snapshot (writable) and perform an lvextend, the CoW
table increases in size, but the logical volume size (for example,
blockdev output) doesn't change itself.
Is this impossible because the regions of the snapshot volume wouldn't
have any corresponding regions in the origin volume?
Is there any way to change the size reported by a snapshot?

What I'm trying to do is take a snapshot, mount it, do stuff to it,
and if I need, make it bigger, and if I need to, just drop it and
create a new one.
If I just take a snapshot and modify the origin and use a merge, then
space becomes an issue.

thanks,
Brian

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

* Re: [linux-lvm] question about extending snapshots
  2013-01-05  0:00 [linux-lvm] question about extending snapshots Brian Chrisman
@ 2013-01-07 13:27 ` Heinz Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz Mauelshagen @ 2013-01-07 13:27 UTC (permalink / raw)
  To: LVM general discussion and development

On 01/05/2013 01:00 AM, Brian Chrisman wrote:
> I'm running rhel6.2 nearly stock.
> When I mount a snapshot (writable) and perform an lvextend, the CoW
> table increases in size, but the logical volume size (for example,
> blockdev output) doesn't change itself.

You deploy more COW space to allow for a larger change set either 
applied to the origin or the snapshot or both doing so, yes.

_But_ snapshots always have origin size.

> Is this impossible because the regions of the snapshot volume wouldn't
> have any corresponding regions in the origin volume?

Yes.

> Is there any way to change the size reported by a snapshot?
>
> What I'm trying to do is take a snapshot, mount it, do stuff to it,
> and if I need, make it bigger, and if I need to, just drop it and
> create a new one.
> If I just take a snapshot and modify the origin and use a merge, then
> space becomes an issue.

Watch new snapshots and thin provisioning, which'll help the space issue 
in future RHEL and existjng upstream dm/lvm releases.


Heinz

>
> thanks,
> Brian
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

end of thread, other threads:[~2013-01-07 13:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-05  0:00 [linux-lvm] question about extending snapshots Brian Chrisman
2013-01-07 13:27 ` Heinz Mauelshagen

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).