* [linux-lvm] Does LVM always do 'dm suspend' when lvcreating a thin snapshot?
@ 2015-09-03 22:04 Mike McCracken
2015-09-04 11:05 ` Zdenek Kabelac
0 siblings, 1 reply; 3+ messages in thread
From: Mike McCracken @ 2015-09-03 22:04 UTC (permalink / raw
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
When creating a thin snapshot of a thin volume, does LVM always freeze the
FS?
I see when I run lvcreate with -vvv that it sends the 'dm suspend' message
to the origin lv, but on looking at the code I wasn't quite able to
convince myself that it will always do that, or under what circumstances it
won't.
Thanks,
-mike
[-- Attachment #2: Type: text/html, Size: 869 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Does LVM always do 'dm suspend' when lvcreating a thin snapshot?
2015-09-03 22:04 [linux-lvm] Does LVM always do 'dm suspend' when lvcreating a thin snapshot? Mike McCracken
@ 2015-09-04 11:05 ` Zdenek Kabelac
2015-09-04 16:52 ` Mike McCracken
0 siblings, 1 reply; 3+ messages in thread
From: Zdenek Kabelac @ 2015-09-04 11:05 UTC (permalink / raw
To: LVM general discussion and development
Dne 4.9.2015 v 00:04 Mike McCracken napsal(a):
> When creating a thin snapshot of a thin volume, does LVM always freeze the FS?
>
> I see when I run lvcreate with -vvv that it sends the 'dm suspend' message to
> the origin lv, but on looking at the code I wasn't quite able to convince
> myself that it will always do that, or under what circumstances it won't.
>
Hi
Yes - suspend of thin's snapshot origin is always enforced
as you normally want snapshot FS to be in consistent state.
Zdenek
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Does LVM always do 'dm suspend' when lvcreating a thin snapshot?
2015-09-04 11:05 ` Zdenek Kabelac
@ 2015-09-04 16:52 ` Mike McCracken
0 siblings, 0 replies; 3+ messages in thread
From: Mike McCracken @ 2015-09-04 16:52 UTC (permalink / raw
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]
OK, thanks for confirming!
I'd like to help improve the documentation about this - did I miss a place
where it was mentioned explicitly? If not, where would a discussion of FS
suspending fit? I'm happy to contribute a patch.
On Fri, Sep 4, 2015 at 4:05 AM, Zdenek Kabelac <zkabelac@redhat.com> wrote:
> Dne 4.9.2015 v 00:04 Mike McCracken napsal(a):
>
>> When creating a thin snapshot of a thin volume, does LVM always freeze
>> the FS?
>>
>> I see when I run lvcreate with -vvv that it sends the 'dm suspend'
>> message to
>> the origin lv, but on looking at the code I wasn't quite able to convince
>> myself that it will always do that, or under what circumstances it won't.
>>
>>
> Hi
>
> Yes - suspend of thin's snapshot origin is always enforced
> as you normally want snapshot FS to be in consistent state.
>
> Zdenek
>
> _______________________________________________
> 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/
>
[-- Attachment #2: Type: text/html, Size: 1811 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-04 16:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-03 22:04 [linux-lvm] Does LVM always do 'dm suspend' when lvcreating a thin snapshot? Mike McCracken
2015-09-04 11:05 ` Zdenek Kabelac
2015-09-04 16:52 ` Mike McCracken
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.