Re: deb/rpm package purge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux