* Fwd: Questions about ceph OSD @ 2010-11-03 2:18 Jeff Wu 2010-11-03 2:39 ` Yehuda Sadeh Weinraub 0 siblings, 1 reply; 5+ messages in thread From: Jeff Wu @ 2010-11-03 2:18 UTC (permalink / raw) To: Sage Weil, Gregory Farnum, colinm, henry_c_chang, joshd, samuelj Cc: ceph-devel@vger.kernel.org, Yonggang Liu [-- Attachment #1: Type: text/plain, Size: 176 bytes --] hi, Any ideas or suggestions about this? or , To solve this issue,i need deeply look into what parts ceph codes ,OSD ,CRUSH ,.OSD cluster expansion .. etc ? Thanks. Jeff.Wu [-- Attachment #2: 转发的信件 - Questions about ceph OSD --] [-- Type: message/rfc822, Size: 3258 bytes --] From: Jeff Wu <cpwu@tnsoft.com.cn> To: "sage@newdream.net" <sage@newdream.net>, "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org> Subject: Questions about ceph OSD Date: Tue, 2 Nov 2010 14:49:58 +0800 Message-ID: <1288680598.2366.253.camel@osd1> Hi , I have recently been working the preliminary research whether ceph can use at our cloud computing storage system in the future , ceph is a very very excellent file system.But ,Now ,i hit a very important problem for us: Normally, as ceph described , all of the data are saved at OSDs with CRUSHMAP at ceph system. but my goal is to : 1. add a ext3 disk to ceph system ,but doesn't set it as a OSD; 2. save the normal data at the OSDs of a ceph system; 3. save the special data to a local ext3 disk at a ceph system, the ext3 disk is not set as a ceph OSD,but its infos are added to MDS and MON,when Write the special data at a ceph client ,these special data are not saved to ceph server OSDs ,but saved at the local ext3 disk. like this: At ceph client: $ mount.ceph 1.2.3.4:6789:/ /ceph $ cd /ceph $ ls cloud user secret when do writing,"cloud and user" folder data are saved to ceph OSDs , but "secret" folder data are saved to a local ext3 disk . My question is: Q1- If i add a new OSD to the ceph system ,but i do a special CRUSH placement map . Could this ways solved this problem ?,If can ,How ? Q2 - If to implement this function as a patch myself, Could you give me any ideas ? or what parts of ceph codes(server/client) that i need look into ? Thanks for all help and reply . Jeff.Wu Transoft.inc ,Sr.software engineer. -- 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: Questions about ceph OSD 2010-11-03 2:18 Fwd: Questions about ceph OSD Jeff Wu @ 2010-11-03 2:39 ` Yehuda Sadeh Weinraub 2010-11-03 2:53 ` Jeff Wu 0 siblings, 1 reply; 5+ messages in thread From: Yehuda Sadeh Weinraub @ 2010-11-03 2:39 UTC (permalink / raw) To: Jeff Wu Cc: Sage Weil, Gregory Farnum, colinm, henry_c_chang, joshd, samuelj, ceph-devel@vger.kernel.org, Yonggang Liu Hi, there are probably a few directions that you can go, but I'm not sure which would be the easiest or whether it'd actually make sense. Just to have an idea about what you're really looking for, why wouldn't doing nfs mount over secret/ work? Is there a real need for that metadata to go through the mds? Yehuda On Tue, Nov 2, 2010 at 7:18 PM, Jeff Wu <cpwu@tnsoft.com.cn> wrote: > hi, > > Any ideas or suggestions about this? or , To solve this issue,i need > deeply look into what parts ceph codes ,OSD ,CRUSH ,.OSD cluster > expansion .. etc ? Thanks. > > > Jeff.Wu > > > ---------- Forwarded message ---------- > From: Jeff Wu <cpwu@tnsoft.com.cn> > To: "sage@newdream.net" <sage@newdream.net>, "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org> > Date: Tue, 2 Nov 2010 14:49:58 +0800 > Subject: Questions about ceph OSD > Hi , > > I have recently been working the preliminary research whether ceph > can use at our cloud computing storage system in the future , > ceph is a very very excellent file system.But ,Now ,i hit a very > important problem for us: > > Normally, as ceph described , all of the data are saved at OSDs with > CRUSHMAP at ceph system. > > but my goal is to : > 1. add a ext3 disk to ceph system ,but doesn't set it as a OSD; > 2. save the normal data at the OSDs of a ceph system; > 3. save the special data to a local ext3 disk at a ceph system, > the ext3 disk is not set as a ceph OSD,but its infos are added to > MDS and MON,when Write the special data at a ceph client ,these > special data are not saved to ceph server OSDs ,but saved at the local > ext3 disk. > > like this: > At ceph client: > $ mount.ceph 1.2.3.4:6789:/ /ceph > $ cd /ceph > $ ls > cloud user secret > > when do writing,"cloud and user" folder data are saved to ceph OSDs , > but "secret" folder data are saved to a local ext3 disk . > > My question is: > Q1- If i add a new OSD to the ceph system ,but i do a special CRUSH > placement map . Could this ways solved this problem ?,If can ,How ? > > Q2 - If to implement this function as a patch myself, Could you give me > any ideas ? or what parts of ceph codes(server/client) that i need look > into ? > > Thanks for all help and reply . > > > Jeff.Wu > Transoft.inc ,Sr.software engineer. > > > > > > -- > 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: Questions about ceph OSD 2010-11-03 2:39 ` Yehuda Sadeh Weinraub @ 2010-11-03 2:53 ` Jeff Wu 2010-11-03 3:23 ` Yehuda Sadeh Weinraub 0 siblings, 1 reply; 5+ messages in thread From: Jeff Wu @ 2010-11-03 2:53 UTC (permalink / raw) To: Yehuda Sadeh Weinraub Cc: Sage Weil, Gregory Farnum, colinm@hq.newdream.net, henry_c_chang@tcloudcomputing.com, joshd@hq.newdream.net, samuelj@hq.newdream.net, ceph-devel@vger.kernel.org, Yonggang Liu Hi Yehuda, Thank you for your reply so quickly,your idea is very useful for us. our design is that it only use ceph as our file system, don't use NFS or CIFS . i will continue to study ceph codes ,thanks. Jeff.wu 在 2010-11-03三的 10:39 +0800,Yehuda Sadeh Weinraub写道: > Hi, > > there are probably a few directions that you can go, but I'm not > sure which would be the easiest or whether it'd actually make sense. > Just to have an idea about what you're really looking for, why > wouldn't doing nfs mount over secret/ work? Is there a real need for > that metadata to go through the mds? > > Yehuda > > On Tue, Nov 2, 2010 at 7:18 PM, Jeff Wu <cpwu@tnsoft.com.cn> wrote: > > hi, > > > > Any ideas or suggestions about this? or , To solve this issue,i need > > deeply look into what parts ceph codes ,OSD ,CRUSH ,.OSD cluster > > expansion .. etc ? Thanks. > > > > > > Jeff.Wu > > > > > > ---------- Forwarded message ---------- > > From: Jeff Wu <cpwu@tnsoft.com.cn> > > To: "sage@newdream.net" <sage@newdream.net>, "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org> > > Date: Tue, 2 Nov 2010 14:49:58 +0800 > > Subject: Questions about ceph OSD > > Hi , > > > > I have recently been working the preliminary research whether ceph > > can use at our cloud computing storage system in the future , > > ceph is a very very excellent file system.But ,Now ,i hit a very > > important problem for us: > > > > Normally, as ceph described , all of the data are saved at OSDs with > > CRUSHMAP at ceph system. > > > > but my goal is to : > > 1. add a ext3 disk to ceph system ,but doesn't set it as a OSD; > > 2. save the normal data at the OSDs of a ceph system; > > 3. save the special data to a local ext3 disk at a ceph system, > > the ext3 disk is not set as a ceph OSD,but its infos are added to > > MDS and MON,when Write the special data at a ceph client ,these > > special data are not saved to ceph server OSDs ,but saved at the local > > ext3 disk. > > > > like this: > > At ceph client: > > $ mount.ceph 1.2.3.4:6789:/ /ceph > > $ cd /ceph > > $ ls > > cloud user secret > > > > when do writing,"cloud and user" folder data are saved to ceph OSDs , > > but "secret" folder data are saved to a local ext3 disk . > > > > My question is: > > Q1- If i add a new OSD to the ceph system ,but i do a special CRUSH > > placement map . Could this ways solved this problem ?,If can ,How ? > > > > Q2 - If to implement this function as a patch myself, Could you give me > > any ideas ? or what parts of ceph codes(server/client) that i need look > > into ? > > > > Thanks for all help and reply . > > > > > > Jeff.Wu > > Transoft.inc ,Sr.software engineer. > > > > > > > > > > > > -- > > 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: Questions about ceph OSD 2010-11-03 2:53 ` Jeff Wu @ 2010-11-03 3:23 ` Yehuda Sadeh Weinraub 2010-11-03 3:43 ` Jeff Wu 0 siblings, 1 reply; 5+ messages in thread From: Yehuda Sadeh Weinraub @ 2010-11-03 3:23 UTC (permalink / raw) To: Jeff Wu Cc: Sage Weil, Gregory Farnum, colinm@hq.newdream.net, henry_c_chang@tcloudcomputing.com, joshd@hq.newdream.net, samuelj@hq.newdream.net, ceph-devel@vger.kernel.org, Yonggang Liu Originally, the client <-> mds messages contained the full path of the files written, similar to cifs. This was a bit racy and problematic, but generally with a little modifications to the client code and to the protocol you'd be able to build and send that full path through with the osd I/O operations (again, I'm not sure what can of worms would be opened with the full-path, or whether it's actually feasible nowadays). The next thing you'd need is to modify the osd operations handling, and mirror each write operation to your ext3 partition. I think that'd be the easiest path to go, though somewhat hacky. Yehuda On Tue, Nov 2, 2010 at 7:53 PM, Jeff Wu <cpwu@tnsoft.com.cn> wrote: > Hi Yehuda, > > Thank you for your reply so quickly,your idea is very useful for us. > our design is that it only use ceph as our file system, > don't use NFS or CIFS . i will continue to study ceph codes ,thanks. > > Jeff.wu > > > > > 在 2010-11-03三的 10:39 +0800,Yehuda Sadeh Weinraub写道: >> Hi, >> >> there are probably a few directions that you can go, but I'm not >> sure which would be the easiest or whether it'd actually make sense. >> Just to have an idea about what you're really looking for, why >> wouldn't doing nfs mount over secret/ work? Is there a real need for >> that metadata to go through the mds? >> >> Yehuda >> >> On Tue, Nov 2, 2010 at 7:18 PM, Jeff Wu <cpwu@tnsoft.com.cn> wrote: >> > hi, >> > >> > Any ideas or suggestions about this? or , To solve this issue,i need >> > deeply look into what parts ceph codes ,OSD ,CRUSH ,.OSD cluster >> > expansion .. etc ? Thanks. >> > >> > >> > Jeff.Wu >> > >> > >> > ---------- Forwarded message ---------- >> > From: Jeff Wu <cpwu@tnsoft.com.cn> >> > To: "sage@newdream.net" <sage@newdream.net>, "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org> >> > Date: Tue, 2 Nov 2010 14:49:58 +0800 >> > Subject: Questions about ceph OSD >> > Hi , >> > >> > I have recently been working the preliminary research whether ceph >> > can use at our cloud computing storage system in the future , >> > ceph is a very very excellent file system.But ,Now ,i hit a very >> > important problem for us: >> > >> > Normally, as ceph described , all of the data are saved at OSDs with >> > CRUSHMAP at ceph system. >> > >> > but my goal is to : >> > 1. add a ext3 disk to ceph system ,but doesn't set it as a OSD; >> > 2. save the normal data at the OSDs of a ceph system; >> > 3. save the special data to a local ext3 disk at a ceph system, >> > the ext3 disk is not set as a ceph OSD,but its infos are added to >> > MDS and MON,when Write the special data at a ceph client ,these >> > special data are not saved to ceph server OSDs ,but saved at the local >> > ext3 disk. >> > >> > like this: >> > At ceph client: >> > $ mount.ceph 1.2.3.4:6789:/ /ceph >> > $ cd /ceph >> > $ ls >> > cloud user secret >> > >> > when do writing,"cloud and user" folder data are saved to ceph OSDs , >> > but "secret" folder data are saved to a local ext3 disk . >> > >> > My question is: >> > Q1- If i add a new OSD to the ceph system ,but i do a special CRUSH >> > placement map . Could this ways solved this problem ?,If can ,How ? >> > >> > Q2 - If to implement this function as a patch myself, Could you give me >> > any ideas ? or what parts of ceph codes(server/client) that i need look >> > into ? >> > >> > Thanks for all help and reply . >> > >> > >> > Jeff.Wu >> > Transoft.inc ,Sr.software engineer. >> > >> > >> > >> > >> > >> > -- >> > 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 > -- 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: Questions about ceph OSD 2010-11-03 3:23 ` Yehuda Sadeh Weinraub @ 2010-11-03 3:43 ` Jeff Wu 0 siblings, 0 replies; 5+ messages in thread From: Jeff Wu @ 2010-11-03 3:43 UTC (permalink / raw) To: Yehuda Sadeh Weinraub Cc: Sage Weil, Gregory Farnum, colinm@hq.newdream.net, henry_c_chang@tcloudcomputing.com, joshd@hq.newdream.net, samuelj@hq.newdream.net, ceph-devel@vger.kernel.org, Yonggang Liu hi yehuda, Thanks again. i will try it . Jeff. 在 2010-11-03三的 11:23 +0800,Yehuda Sadeh Weinraub写道: > Originally, the client <-> mds messages contained the full path of the > files written, similar to cifs. This was a bit racy and problematic, > but generally with a little modifications to the client code and to > the protocol you'd be able to build and send that full path through > with the osd I/O operations (again, I'm not sure what can of worms > would be opened with the full-path, or whether it's actually feasible > nowadays). > The next thing you'd need is to modify the osd operations handling, > and mirror each write operation to your ext3 partition. I think that'd > be the easiest path to go, though somewhat hacky. > > Yehuda > > On Tue, Nov 2, 2010 at 7:53 PM, Jeff Wu <cpwu@tnsoft.com.cn> wrote: > > Hi Yehuda, > > > > Thank you for your reply so quickly,your idea is very useful for us. > > our design is that it only use ceph as our file system, > > don't use NFS or CIFS . i will continue to study ceph codes ,thanks. > > > > Jeff.wu > > > > > > > > > > 在 2010-11-03三的 10:39 +0800,Yehuda Sadeh Weinraub写道: > >> Hi, > >> > >> there are probably a few directions that you can go, but I'm not > >> sure which would be the easiest or whether it'd actually make sense. > >> Just to have an idea about what you're really looking for, why > >> wouldn't doing nfs mount over secret/ work? Is there a real need for > >> that metadata to go through the mds? > >> > >> Yehuda > >> > >> On Tue, Nov 2, 2010 at 7:18 PM, Jeff Wu <cpwu@tnsoft.com.cn> wrote: > >> > hi, > >> > > >> > Any ideas or suggestions about this? or , To solve this issue,i need > >> > deeply look into what parts ceph codes ,OSD ,CRUSH ,.OSD cluster > >> > expansion .. etc ? Thanks. > >> > > >> > > >> > Jeff.Wu > >> > > >> > > >> > ---------- Forwarded message ---------- > >> > From: Jeff Wu <cpwu@tnsoft.com.cn> > >> > To: "sage@newdream.net" <sage@newdream.net>, "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org> > >> > Date: Tue, 2 Nov 2010 14:49:58 +0800 > >> > Subject: Questions about ceph OSD > >> > Hi , > >> > > >> > I have recently been working the preliminary research whether ceph > >> > can use at our cloud computing storage system in the future , > >> > ceph is a very very excellent file system.But ,Now ,i hit a very > >> > important problem for us: > >> > > >> > Normally, as ceph described , all of the data are saved at OSDs with > >> > CRUSHMAP at ceph system. > >> > > >> > but my goal is to : > >> > 1. add a ext3 disk to ceph system ,but doesn't set it as a OSD; > >> > 2. save the normal data at the OSDs of a ceph system; > >> > 3. save the special data to a local ext3 disk at a ceph system, > >> > the ext3 disk is not set as a ceph OSD,but its infos are added to > >> > MDS and MON,when Write the special data at a ceph client ,these > >> > special data are not saved to ceph server OSDs ,but saved at the local > >> > ext3 disk. > >> > > >> > like this: > >> > At ceph client: > >> > $ mount.ceph 1.2.3.4:6789:/ /ceph > >> > $ cd /ceph > >> > $ ls > >> > cloud user secret > >> > > >> > when do writing,"cloud and user" folder data are saved to ceph OSDs , > >> > but "secret" folder data are saved to a local ext3 disk . > >> > > >> > My question is: > >> > Q1- If i add a new OSD to the ceph system ,but i do a special CRUSH > >> > placement map . Could this ways solved this problem ?,If can ,How ? > >> > > >> > Q2 - If to implement this function as a patch myself, Could you give me > >> > any ideas ? or what parts of ceph codes(server/client) that i need look > >> > into ? > >> > > >> > Thanks for all help and reply . > >> > > >> > > >> > Jeff.Wu > >> > Transoft.inc ,Sr.software engineer. > >> > > >> > > >> > > >> > > >> > > >> > -- > >> > 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 > > -- 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:[~2010-11-03 3:43 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-11-03 2:18 Fwd: Questions about ceph OSD Jeff Wu 2010-11-03 2:39 ` Yehuda Sadeh Weinraub 2010-11-03 2:53 ` Jeff Wu 2010-11-03 3:23 ` Yehuda Sadeh Weinraub 2010-11-03 3:43 ` 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.