Re: [ceph-users] Renaming pools used by CephFS

2014-09-19 Thread Sage Weil
On Fri, 19 Sep 2014, Jeffrey Ollie wrote:
 I've got a Ceph system (running 0.80.5) at home that I've been messing
 around with, partly to learn Ceph, but also as reliable storage for all of
 my media.  During the process I deleted the data and metadata pools used by
 CephFS and recreated them.  However, when I recreated the filesystem, the
 pool called data got assigned as a metadata pool and the pool called
 metadata got assigned as a data pool.
 
 Is there a safe way to rename the pools?  It's purely an aesthetic thing (I
 think), so if it's difficult/dangerous to do I'll leave it be.

 ceph osd pool rename old new

sage
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Renaming pools used by CephFS

2014-09-19 Thread Gregory Farnum
On Fri, Sep 19, 2014 at 10:21 AM, Jeffrey Ollie j...@ocjtech.us wrote:
 I've got a Ceph system (running 0.80.5) at home that I've been messing
 around with, partly to learn Ceph, but also as reliable storage for all of
 my media.  During the process I deleted the data and metadata pools used by
 CephFS and recreated them.  However, when I recreated the filesystem, the
 pool called data got assigned as a metadata pool and the pool called
 metadata got assigned as a data pool.

 Is there a safe way to rename the pools?  It's purely an aesthetic thing (I
 think), so if it's difficult/dangerous to do I'll leave it be.

You can rename pools with ceph osd pool rename current_name new_name.
Generally it's not a good idea to mess around with the CephFS pools,
though — in Giant  you'll be prevented from deleting them. ;)
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com