* Could rados pool support tree view feature ? @ 2011-12-19 6:51 Jeff Wu 2011-12-19 17:16 ` Tommi Virtanen 0 siblings, 1 reply; 5+ messages in thread From: Jeff Wu @ 2011-12-19 6:51 UTC (permalink / raw) To: ceph-devel Hi , Could rados pool support tree view feature ?for instance : $rados lspools -m 172.16.10.10 data metadata rbd Product:00000001 ├── 00011 │ └── 00012 | └── 00013 Product:00000002 ├── 00021 │ └── 00022 | └── 00023 Product:00000003 ├── 00031 │ └── 00032 | └── 00033 This feature is very useful for us,if not,how to implement it ? Thanks, Jeff Wu -- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Could rados pool support tree view feature ? 2011-12-19 6:51 Could rados pool support tree view feature ? Jeff Wu @ 2011-12-19 17:16 ` Tommi Virtanen 2011-12-20 1:47 ` Jeff Wu 0 siblings, 1 reply; 5+ messages in thread From: Tommi Virtanen @ 2011-12-19 17:16 UTC (permalink / raw) To: cpwu; +Cc: ceph-devel On Sun, Dec 18, 2011 at 22:51, Jeff Wu <cpwu@tnsoft.com.cn> wrote: > Could rados pool support tree view feature ?for instance : > > $rados lspools -m 172.16.10.10 > data > metadata > rbd > Product:00000001 > ├── 00011 > │ └── 00012 > | └── 00013 What type are the 00011 and 00012 entries? Are they pools or objects, or what? RADOS pools are flat namespaces of objects, there's no tree structure there. You should be able to write that easily, for example less than 100 lines of Python using the "rados" module gets you the listing of the pools and the objects in them, and then you can use whatever your custom logic is for creating that tree shape. The Ceph team pretty much starts with the assumption that your pools are going to have at least millions of objects, so it's unlikely we'll write pretty visual navigation apps listing individual objects. The output would just be too long to be useful. -- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Could rados pool support tree view feature ? 2011-12-19 17:16 ` Tommi Virtanen @ 2011-12-20 1:47 ` Jeff Wu 2011-12-20 6:38 ` Gregory Farnum 0 siblings, 1 reply; 5+ messages in thread From: Jeff Wu @ 2011-12-20 1:47 UTC (permalink / raw) To: Tommi Virtanen; +Cc: ceph-devel Hi ,Tommi Thank you very much. 00011 and 00012 are sub-pools ,we want to map our iaas devices topology view meta data to these these sub-pools as a reference model. On Tue, 2011-12-20 at 01:16 +0800, Tommi Virtanen wrote: > On Sun, Dec 18, 2011 at 22:51, Jeff Wu <cpwu@tnsoft.com.cn> wrote: > > Could rados pool support tree view feature ?for instance : > > > > $rados lspools -m 172.16.10.10 > > data > > metadata > > rbd > > Product:00000001 > > ├── 00011 > > │ └── 00012 > > | └── 00013 > > What type are the 00011 and 00012 entries? Are they pools or objects, > or what? RADOS pools are flat namespaces of objects, there's no tree > structure there. > > You should be able to write that easily, for example less than 100 > lines of Python using the "rados" module gets you the listing of the > pools and the objects in them, and then you can use whatever your > custom logic is for creating that tree shape. > > The Ceph team pretty much starts with the assumption that your pools > are going to have at least millions of objects, so it's unlikely we'll > write pretty visual navigation apps listing individual objects. The > output would just be too long to be useful. -- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Could rados pool support tree view feature ? 2011-12-20 1:47 ` Jeff Wu @ 2011-12-20 6:38 ` Gregory Farnum 2011-12-20 8:57 ` Jeff Wu 0 siblings, 1 reply; 5+ messages in thread From: Gregory Farnum @ 2011-12-20 6:38 UTC (permalink / raw) To: cpwu; +Cc: Tommi Virtanen, ceph-devel Unfortunately pools are completely flat namespaces, and there's no hierarchical relationship between pools (well, really it's a feature, not something unfortunate). So any tree structure would need to be a completely external thing, which I guess you would probably do with naming conventions and some wrapper scripts. -Greg On Mon, Dec 19, 2011 at 5:47 PM, Jeff Wu <cpwu@tnsoft.com.cn> wrote: > Hi ,Tommi > Thank you very much. > > 00011 and 00012 are sub-pools ,we want to map our iaas devices topology > view meta data to these these sub-pools as a reference model. > > On Tue, 2011-12-20 at 01:16 +0800, Tommi Virtanen wrote: >> On Sun, Dec 18, 2011 at 22:51, Jeff Wu <cpwu@tnsoft.com.cn> wrote: >> > Could rados pool support tree view feature ?for instance : >> > >> > $rados lspools -m 172.16.10.10 >> > data >> > metadata >> > rbd >> > Product:00000001 >> > ├── 00011 >> > │ └── 00012 >> > | └── 00013 >> >> What type are the 00011 and 00012 entries? Are they pools or objects, >> or what? RADOS pools are flat namespaces of objects, there's no tree >> structure there. >> >> You should be able to write that easily, for example less than 100 >> lines of Python using the "rados" module gets you the listing of the >> pools and the objects in them, and then you can use whatever your >> custom logic is for creating that tree shape. >> >> The Ceph team pretty much starts with the assumption that your pools >> are going to have at least millions of objects, so it's unlikely we'll >> write pretty visual navigation apps listing individual objects. The >> output would just be too long to be useful. > > -- > 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 -- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Could rados pool support tree view feature ? 2011-12-20 6:38 ` Gregory Farnum @ 2011-12-20 8:57 ` Jeff Wu 0 siblings, 0 replies; 5+ messages in thread From: Jeff Wu @ 2011-12-20 8:57 UTC (permalink / raw) To: Gregory Farnum; +Cc: Tommi Virtanen, ceph-devel Hi Greg , Thanks! Jeff On Tue, 2011-12-20 at 14:38 +0800, Gregory Farnum wrote: > Unfortunately pools are completely flat namespaces, and there's no > hierarchical relationship between pools (well, really it's a feature, > not something unfortunate). So any tree structure would need to be a > completely external thing, which I guess you would probably do with > naming conventions and some wrapper scripts. > -Greg > > On Mon, Dec 19, 2011 at 5:47 PM, Jeff Wu <cpwu@tnsoft.com.cn> wrote: > > Hi ,Tommi > > Thank you very much. > > > > 00011 and 00012 are sub-pools ,we want to map our iaas devices topology > > view meta data to these these sub-pools as a reference model. > > > > On Tue, 2011-12-20 at 01:16 +0800, Tommi Virtanen wrote: > >> On Sun, Dec 18, 2011 at 22:51, Jeff Wu <cpwu@tnsoft.com.cn> wrote: > >> > Could rados pool support tree view feature ?for instance : > >> > > >> > $rados lspools -m 172.16.10.10 > >> > data > >> > metadata > >> > rbd > >> > Product:00000001 > >> > ├── 00011 > >> > │ └── 00012 > >> > | └── 00013 > >> > >> What type are the 00011 and 00012 entries? Are they pools or objects, > >> or what? RADOS pools are flat namespaces of objects, there's no tree > >> structure there. > >> > >> You should be able to write that easily, for example less than 100 > >> lines of Python using the "rados" module gets you the listing of the > >> pools and the objects in them, and then you can use whatever your > >> custom logic is for creating that tree shape. > >> > >> The Ceph team pretty much starts with the assumption that your pools > >> are going to have at least millions of objects, so it's unlikely we'll > >> write pretty visual navigation apps listing individual objects. The > >> output would just be too long to be useful. > > > > -- > > 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 -- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-12-20 8:57 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-12-19 6:51 Could rados pool support tree view feature ? Jeff Wu 2011-12-19 17:16 ` Tommi Virtanen 2011-12-20 1:47 ` Jeff Wu 2011-12-20 6:38 ` Gregory Farnum 2011-12-20 8:57 ` Jeff Wu
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.