Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 63015 invoked from network); 19 Oct 2009 21:33:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Oct 2009 21:33:31 -0000 Received: (qmail 30194 invoked by uid 500); 19 Oct 2009 21:33:30 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 30144 invoked by uid 500); 19 Oct 2009 21:33:30 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 30134 invoked by uid 99); 19 Oct 2009 21:33:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 21:33:29 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of glenn@rempe.us designates 209.85.211.186 as permitted sender) Received: from [209.85.211.186] (HELO mail-yw0-f186.google.com) (209.85.211.186) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 21:33:18 +0000 Received: by ywh16 with SMTP id 16so2937211ywh.13 for ; Mon, 19 Oct 2009 14:32:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.91.19.15 with SMTP id w15mr5273393agi.12.1255987976484; Mon, 19 Oct 2009 14:32:56 -0700 (PDT) In-Reply-To: References: <8098243e0910191218p7176c2eflc090a1516a41f5e@mail.gmail.com> <8098243e0910191235g6329ae36p48d1e4a4cd217530@mail.gmail.com> <8098243e0910191253m1977fc75q4433305b6f09f0e9@mail.gmail.com> From: Glenn Rempe Date: Mon, 19 Oct 2009 14:32:36 -0700 Message-ID: <6cfccb3d0910191432v41f9cd34g7ca89fac9f4a3ec0@mail.gmail.com> Subject: Re: couch behavior for san snapshots To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=001485f94df02e3f2f0476507d77 X-Virus-Checked: Checked by ClamAV on apache.org --001485f94df02e3f2f0476507d77 Content-Type: text/plain; charset=UTF-8 Not sure if this will help at all, but I am also using EBS to store a large cdb DB. It is recommended that the filesystem that you want to snapshot on EBS is frozen (or unmounted) if that is possible to help ensure a coherent EBS snapshot. For example, on my mysql and couchdb volumes I use the XFS filesystem which has an XFS freeze command which I use to temporarily lock the FS and flush it to disk, and then request the snapshot. You can do this in a script and it takes only a few seconds of disk downtime. I believe writes are cached during this period. I have been using this with mysql but have not yet set it up for my couchdb volume. See : http://developer.amazonwebservices.com/connect/entry.jspa?categoryID=100&externalID=1663 http://alestic.com/2009/09/ec2-consistent-snapshot HTH On Mon, Oct 19, 2009 at 1:55 PM, Chris Anderson wrote: > On Mon, Oct 19, 2009 at 12:53 PM, Alex P wrote: > > a simple copy seems to work just fine. db shows up with the right seq > number > > etc. > > cool. totally wanna learn about the SAN roundtrip. :) > > > > > On Mon, Oct 19, 2009 at 2:37 PM, Paul Davis >wrote: > > > >> On Mon, Oct 19, 2009 at 3:35 PM, Alex P wrote: > >> > cdb catalogs databases purely on file name and presence in the > >> appropriate > >> > directory, right? so if i copy db1 to db1_copy, i should see db1_copy > >> show > >> > up in futon? > >> > >> Yepper. Make sure the permissions are correct after copying though. > >> > >> Paul Davis > >> > > > > > > -- > Chris Anderson > http://jchrisa.net > http://couch.io > -- Glenn Rempe email : glenn@rempe.us voice : (415) 894-5366 or (415)-89G-LENN twitter : @grempe contact info : http://www.rempe.us/contact.html pgp : http://www.rempe.us/gnupg.txt --001485f94df02e3f2f0476507d77--