From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Nelson Subject: Re: deb/rpm package purge Date: Tue, 19 Mar 2013 15:05:02 -0500 Message-ID: <5148C4EE.5090205@inktank.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ie0-f170.google.com ([209.85.223.170]:63157 "EHLO mail-ie0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750886Ab3CSUFG (ORCPT ); Tue, 19 Mar 2013 16:05:06 -0400 Received: by mail-ie0-f170.google.com with SMTP id c11so1189229ieb.1 for ; Tue, 19 Mar 2013 13:05:06 -0700 (PDT) In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Sage Weil Cc: ceph-devel@vger.kernel.org, james.page@ubuntu.com, gcs@debian.hu On 03/19/2013 02:48 PM, Sage Weil wrote: > Should the package purge remove /var/lib/ceph/* (potential mon data, osd > data) and/or /var/log/ceph/* (logs)? Right now it does, but mysql, for > example, leaves /var/lib/mysql where it is (not sure about logs). I'm definitely for leaving mon/osd data in place. Those files are created at cluster creation time, not when the packages are installed. They may have been created by a totally different installation of Ceph than the packaged version. What's worse is that you can't get the files back simply by reinstalling the package. With the way things currently are, a package purge will effectively permanently destroy your cluster. Purge should get rid of configuration files, but I don't think it should destroy user data which is what it effectively is doing now. > > sage > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >