linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Stuart D. Gathman" <stuart@bmsi.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Page cache corruption when creating a snapshot
Date: Fri, 29 Feb 2008 14:53:06 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0802291354300.17897-100000@bmsred.bmsi.com> (raw)
In-Reply-To: <200802291732.m1THWfD7013248@outgoing.mit.edu>

On Fri, 29 Feb 2008 ghudson@MIT.EDU wrote:

>   rm -rf /tmp/test
>   mkdir /tmp/test
>   # Put around 60MB of files into /tmp/test
>   find /tmp/test -type f | xargs md5sum > /tmp/sum.pre

Ran the last four lines several times on my Centos-5 system with
/tmp and the snapshot VG on different volume groups.  (/tmp on rootvg)
# du /tmp/test
84688   /tmp/test
# lvs backvg2/DFL
  LV   VG      Attr   LSize  Origin Snap%  Move Log Copy% 
  DFL  backvg2 -wi-a- 10.00G 

>   lvcreate --size 2G --snapshot /dev/backvg2/DFL --name DFL_snap
>   find /tmp/test -type f | xargs md5sum > /tmp/sum.post
>   lvremove -f /dev/backvg2/DFL_snap
>   diff -u /tmp/sum.pre /tmp/sum.

Doesn't seem to fail for us.  (Sighs with relief.)  

-- 
	      Stuart D. Gathman <stuart@bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

      parent reply	other threads:[~2008-02-29 19:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29 17:32 [linux-lvm] Page cache corruption when creating a snapshot ghudson
2008-02-29 18:31 ` Alasdair G Kergon
2008-02-29 19:11   ` Greg Hudson
2008-02-29 19:10     ` Bryn M. Reeves
2008-02-29 19:35       ` Greg Hudson
2008-02-29 20:14         ` Alasdair G Kergon
2008-03-04 23:57           ` Greg Hudson
2008-02-29 19:29     ` malahal
2008-02-29 19:53 ` Stuart D. Gathman [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=Pine.LNX.4.44.0802291354300.17897-100000@bmsred.bmsi.com \
    --to=stuart@bmsi.com \
    --cc=linux-lvm@redhat.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).