linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Klaus Strebel <klaus.strebel@gmx.net>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: linux-xfs@oss.sgi.com
Subject: Re: [linux-lvm] xfs_freeze & lvm2
Date: Tue, 18 Oct 2005 14:06:54 +0200	[thread overview]
Message-ID: <4354E55E.8040003@gmx.net> (raw)
In-Reply-To: <434FB3D0.5010704@hq.vsaa.lv>

Rich schrieb:
> i am not subscribed, so i would be thankful if i could get a reply with 
> cc. thanks.
> 
> i tried making snapshots of xfs filesystem on lvm2. if xfs was frozen, 
> lvcreate stopped at
> 
>     Suspending space-data
>          dm suspend space-data  N
> 
> issuing xfs_freeze -u allowed the process to continue.
> in this list, Thu, 09 Jun 2005 Klaus Strebel wrote :
> 
> "with LVM2 the XFS filesystem is 'frozen' automaticly on the mount 
> -onouuid,ro ( not quite sure, but probably also for LVM1 ..., think it's 
> in the XFS code ).
> So, forget xfs_freeze."
> 
> as i understand it, consistent copy is created when lvcreate is issued, 
> not when snapshot volume is mounted - is this right ?
As i understood things, no. Mounttime matters ;-) see 
<http://www.tldp.org/HOWTO/LVM-HOWTO/snapshotintro.html> and as example 
<http://www.tldp.org/HOWTO/LVM-HOWTO/snapshots_backup.html>.

> if so, shouldn't filesystem also be frozen when a snapshot volume is 
> created ?
... see above ...
> if it actually is done together with snapshot, does this mean that i 
> really can forget about xfs_freeze and just create snapshots ?
> must i specify ro in mount options or is this optional ?
Well, if i'm wrong ( and to be honest, i didn't play around with all the 
stuff for 1 1/2 years now :-( ) somebody might correct me, but if i 
remember postings from linux-xfs mailing list, rw-snapshots with XFS is 
not quite unstable ...

Cheers
Klaus

-- 

Klaus Strebel, Dipl.-Inform. (FH), mailto:klaus.strebel@gmx.net

/"\
\ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
/ \

  reply	other threads:[~2005-10-18 12:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-14 13:34 [linux-lvm] xfs_freeze & lvm2 Rich
2005-10-18 12:06 ` Klaus Strebel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-10-20 12:20 Rich

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=4354E55E.8040003@gmx.net \
    --to=klaus.strebel@gmx.net \
    --cc=linux-lvm@redhat.com \
    --cc=linux-xfs@oss.sgi.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).