Skip to contentSkip to conversation

A Few Questions about Ceph

DISCUSSION Mark Nigh 4 participants 9 messages Feb 18, 2011 – Mar 21, 2011

lore
Share & tools
lore

Mark Nigh

author
#0 lore raw

I have been doing significant research and testing of Ceph as a long-term solution for our Cloud Storage Solution.

I hope this is the right forum to ask a few questions.

1. I have a 3 node cluster. the first cluster is running the mon, msd and osd0 daemons. The second node is running the osd1 daemon only. I am able to mount the x.x.x.x:/ /mnt/ceph just fine. I have added a 3 node and am running the osd daemon only. I don't want to add this node to the placement group of the 1st 2 nodes, but rather add a 4th and have the 3rd and 4th in a placement group. This would be helpful for different customers or different applications that may or may not need replication to a second data center.

2. Is there anyway to create sub-directories in the client mount for example, mount -t ceph x.x.x.x:/subdirectory /mnt/ceph

I am looking forward to placing ceph into our production network as our backup target.

Thank you,

Mark Nigh

#1 lore raw

Hi Mark,

Quoted 3 lines · Mark Nigh

I have been doing significant research and testing of Ceph as a long-term solution for our Cloud Storage Solution.

While every new user is welcome to Ceph, please do understand that is still under heavy development and is NOT production ready.

Quoted 7 lines

1. I have a 3 node cluster. the first cluster is running the mon, msd and osd0 daemons. The second node is running the osd1 daemon only. I am able to mount the x.x.x.x:/ /mnt/ceph just fine. I have added a 3 node and am running the osd daemon only. I don't want to add this node to the placement group of the 1st 2 nodes, but rather add a 4th and have the 3rd and 4th in a placement group. This would be helpful for different customers or different applications that may or may not need replication to a second data center.

Yes, that is possible. You can create a CRUSH-map
( http://ceph.newdream.net/wiki/Custom_data_placement_with_CRUSH ). Every RADOS pool has a cruhsrule attribute, here you can device which rule to use.

When using the Ceph filesystem you can also specify a CRUSH rule per directory, this can be done with the "cephfs" command:

I haven't used the tool myself yet, but I think something like this should be possible:

$ cephfs -p data-on-ssd /mnt/ceph/dir1/sub2

The "data-on-ssd" pool then has a CRUSH rule which only uses OSD's with SSD's in t hem.

Quoted 3 lines

2. Is there anyway to create sub-directories in the client mount for example, mount -t ceph x.x.x.x:/subdirectory /mnt/ceph

Yes, you can mount every subdirectory you want. Simply mount the root first, create the directories you want and then start mounting those new subdirectories.

Quoted 3 lines

I am looking forward to placing ceph into our production network as our backup target.

I'm just going to repeat myself. Ceph is great, but it is still under heavy development. Testing and feedback is needed and very welcome, but right now it's not suitable for production.

Regards,

Wido

Quoted 9 lines

Thank you,

Mark Nigh

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

#2 lore raw
Quoted 6 lines · Wido den Hollander

While every new user is welcome to Ceph, please do understand that is still under heavy development and is NOT production ready.

I'm just going to repeat myself. Ceph is great, but it is still under heavy development. Testing and feedback is needed and very welcome, but right now it's not suitable for production.

Hi Wido,
what exactly is missing in Ceph to be considered suitable for production?

Signature · 2 lines
Benoit "tsuna" Sigoure
Software Engineer @ www.StumbleUpon.com
#3 lore raw

Hi,

Quoted 10 lines · tsuna
Quoted 6 lines · Wido den Hollander

While every new user is welcome to Ceph, please do understand that is still under heavy development and is NOT production ready.

I'm just going to repeat myself. Ceph is great, but it is still under heavy development. Testing and feedback is needed and very welcome, but right now it's not suitable for production.

Hi Wido,
what exactly is missing in Ceph to be considered suitable for production?

Ofcourse, it depends on your demands, but right now Ceph still experiences some crashes, so does btrfs, this combination can be dangerous for your data.

I'd recommend everybody to test Ceph, run if for some time and make your own decision, but I personally think that at this point, Ceph is not ready for production in terms of stability and data safety.

Wido

author
#4 lore raw
In reply to Wido den Hollander

Wido,

Thanks for the great information. I do have a follow up question. When I create my 3rd and 4th OSD nodes, how do I go about mounting that data? So for example, I am on a client and want to mount the data on the 3 and 4th nodes (different placement groups) and not the data on the 1st and 2nd OSDs.

Am I looking at this incorrectly? To do what I am looking for, I would probably have to create a new FS with a msd and mon, etc?

I was able to mount the subdirectory as you suggested on a Fedora 14 box (mount -t ceph x.x.x.x:/subdir1 /mnt/ceph), but when I do a ls I get permission denied.

Thank you,

Mark Nigh

-----Original Message-----
From: Wido den Hollander [mailto:[email protected]]
Sent: Friday, February 18, 2011 8:25 AM
To: Mark Nigh
Cc: [email protected]
Subject: Re: A Few Questions about Ceph

Hi Mark,

Quoted 3 lines · Mark Nigh

I have been doing significant research and testing of Ceph as a long-term solution for our Cloud Storage Solution.

While every new user is welcome to Ceph, please do understand that is still under heavy development and is NOT production ready.

Quoted 7 lines

1. I have a 3 node cluster. the first cluster is running the mon, msd and osd0 daemons. The second node is running the osd1 daemon only. I am able to mount the x.x.x.x:/ /mnt/ceph just fine. I have added a 3 node and am running the osd daemon only. I don't want to add this node to the placement group of the 1st 2 nodes, but rather add a 4th and have the 3rd and 4th in a placement group. This would be helpful for different customers or different applications that may or may not need replication to a second data center.

Yes, that is possible. You can create a CRUSH-map
( http://ceph.newdream.net/wiki/Custom_data_placement_with_CRUSH ). Every RADOS pool has a cruhsrule attribute, here you can device which rule to use.

When using the Ceph filesystem you can also specify a CRUSH rule per directory, this can be done with the "cephfs" command:

I haven't used the tool myself yet, but I think something like this should be possible:

$ cephfs -p data-on-ssd /mnt/ceph/dir1/sub2

The "data-on-ssd" pool then has a CRUSH rule which only uses OSD's with SSD's in t hem.

Quoted 3 lines

2. Is there anyway to create sub-directories in the client mount for example, mount -t ceph x.x.x.x:/subdirectory /mnt/ceph

Yes, you can mount every subdirectory you want. Simply mount the root first, create the directories you want and then start mounting those new subdirectories.

Quoted 3 lines

I am looking forward to placing ceph into our production network as our backup target.

I'm just going to repeat myself. Ceph is great, but it is still under heavy development. Testing and feedback is needed and very welcome, but right now it's not suitable for production.

Regards,

Wido

Quoted 9 lines

Thank you,

Mark Nigh

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

This transmission and any attached files are privileged, confidential or otherwise the exclusive property of the intended recipient or Netelligent Corporation. If you are not the intended recipient, any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is strictly prohibited. If you have received this transmission in error, please contact us immediately by responding to this message or by telephone (314-392-6900) and promptly destroy the original transmission and its attachments.

#5 lore raw

Hi Mark,

Quoted 4 lines · Mark Nigh

Wido,

Thanks for the great information. I do have a follow up question. When I create my 3rd and 4th OSD nodes, how do I go about mounting that data? So for example, I am on a client and want to mount the data on the 3 and 4th nodes (different placement groups) and not the data on the 1st and 2nd OSDs.

First, you can't mount data which is on a specific OSD. You have to add the OSD's to the cluster:
http://ceph.newdream.net/wiki/OSD_cluster_expansion/contraction

When you did that, you can create a new CRUSH rule and assign a specific pool/CRUSH rule to a directory.

You can mount every directy you want, so on your new client you can mount the directory which has that CRUSH rule (cephfs tool).

Quoted 1 line

Am I looking at this incorrectly? To do what I am looking for, I would probably have to create a new FS with a msd and mon, etc?

Like I explained, not fully. Ceph places data on OSD's like to tell it to (CRUSH map).

Quoted 2 lines

I was able to mount the subdirectory as you suggested on a Fedora 14 box (mount -t ceph x.x.x.x:/subdir1 /mnt/ceph), but when I do a ls I get permission denied.

I'm not sure what that could be? Are you sure you are root? If not, do you have the right permissions to do a ls there? No AppArmor or SELinux which is in your way?

Wido

Quoted 80 lines

Thank you,

Mark Nigh

-----Original Message-----
From: Wido den Hollander [mailto:[email protected]]
Sent: Friday, February 18, 2011 8:25 AM
To: Mark Nigh
Cc: [email protected]
Subject: Re: A Few Questions about Ceph

Hi Mark,

Quoted 3 lines · Mark Nigh

I have been doing significant research and testing of Ceph as a long-term solution for our Cloud Storage Solution.

While every new user is welcome to Ceph, please do understand that is still under heavy development and is NOT production ready.

Quoted 7 lines

1. I have a 3 node cluster. the first cluster is running the mon, msd and osd0 daemons. The second node is running the osd1 daemon only. I am able to mount the x.x.x.x:/ /mnt/ceph just fine. I have added a 3 node and am running the osd daemon only. I don't want to add this node to the placement group of the 1st 2 nodes, but rather add a 4th and have the 3rd and 4th in a placement group. This would be helpful for different customers or different applications that may or may not need replication to a second data center.

Yes, that is possible. You can create a CRUSH-map
( http://ceph.newdream.net/wiki/Custom_data_placement_with_CRUSH ). Every RADOS pool has a cruhsrule attribute, here you can device which rule to use.

When using the Ceph filesystem you can also specify a CRUSH rule per directory, this can be done with the "cephfs" command:

I haven't used the tool myself yet, but I think something like this should be possible:

$ cephfs -p data-on-ssd /mnt/ceph/dir1/sub2

The "data-on-ssd" pool then has a CRUSH rule which only uses OSD's with SSD's in t hem.

Quoted 3 lines

2. Is there anyway to create sub-directories in the client mount for example, mount -t ceph x.x.x.x:/subdirectory /mnt/ceph

Yes, you can mount every subdirectory you want. Simply mount the root first, create the directories you want and then start mounting those new subdirectories.

Quoted 3 lines

I am looking forward to placing ceph into our production network as our backup target.

I'm just going to repeat myself. Ceph is great, but it is still under heavy development. Testing and feedback is needed and very welcome, but right now it's not suitable for production.

Regards,

Wido

Quoted 9 lines

Thank you,

Mark Nigh

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

This transmission and any attached files are privileged, confidential or otherwise the exclusive property of the intended recipient or Netelligent Corporation. If you are not the intended recipient, any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is strictly prohibited. If you have received this transmission in error, please contact us immediately by responding to this message or by telephone (314-392-6900) and promptly destroy the original transmission and its attachments.

author
#6 lore raw

Wido,

Thanks for your input. Has there be any talk/discussions around support on the upcoming release of v1.0. I see in the roadmap that is slated for April. I have been testing Ceph for about 1 month now with limited issues and would like to place this file system into our production environment as a backup target. We would be willing to purchase a reasonable fee-based support contract to augment our limited staff here.

My apologies if this is the incorrect forum for discussions like this, but I am not aware of any others.

Thank you,

Mark Nigh
Systems Architect
Netelligent Corporation
[email protected]
(p) 314.392.6926

-----Original Message-----
From: Wido den Hollander [mailto:[email protected]]
Sent: Monday, February 21, 2011 6:28 AM
To: Mark Nigh
Cc: [email protected]
Subject: RE: A Few Questions about Ceph

Hi Mark,

Quoted 4 lines · Mark Nigh

Wido,

Thanks for the great information. I do have a follow up question. When I create my 3rd and 4th OSD nodes, how do I go about mounting that data? So for example, I am on a client and want to mount the data on the 3 and 4th nodes (different placement groups) and not the data on the 1st and 2nd OSDs.

First, you can't mount data which is on a specific OSD. You have to add the OSD's to the cluster:
http://ceph.newdream.net/wiki/OSD_cluster_expansion/contraction

When you did that, you can create a new CRUSH rule and assign a specific pool/CRUSH rule to a directory.

You can mount every directy you want, so on your new client you can mount the directory which has that CRUSH rule (cephfs tool).

Quoted 1 line

Am I looking at this incorrectly? To do what I am looking for, I would probably have to create a new FS with a msd and mon, etc?

Like I explained, not fully. Ceph places data on OSD's like to tell it to (CRUSH map).

Quoted 2 lines

I was able to mount the subdirectory as you suggested on a Fedora 14 box (mount -t ceph x.x.x.x:/subdir1 /mnt/ceph), but when I do a ls I get permission denied.

I'm not sure what that could be? Are you sure you are root? If not, do you have the right permissions to do a ls there? No AppArmor or SELinux which is in your way?

Wido

Quoted 73 lines

Thank you,

Mark Nigh

-----Original Message-----
From: Wido den Hollander [mailto:[email protected]]
Sent: Friday, February 18, 2011 8:25 AM
To: Mark Nigh
Cc: [email protected]
Subject: Re: A Few Questions about Ceph

Hi Mark,

Quoted 3 lines · Mark Nigh

I have been doing significant research and testing of Ceph as a long-term solution for our Cloud Storage Solution.

While every new user is welcome to Ceph, please do understand that is still under heavy development and is NOT production ready.

Quoted 7 lines

1. I have a 3 node cluster. the first cluster is running the mon, msd and osd0 daemons. The second node is running the osd1 daemon only. I am able to mount the x.x.x.x:/ /mnt/ceph just fine. I have added a 3 node and am running the osd daemon only. I don't want to add this node to the placement group of the 1st 2 nodes, but rather add a 4th and have the 3rd and 4th in a placement group. This would be helpful for different customers or different applications that may or may not need replication to a second data center.

Yes, that is possible. You can create a CRUSH-map
( http://ceph.newdream.net/wiki/Custom_data_placement_with_CRUSH ). Every RADOS pool has a cruhsrule attribute, here you can device which rule to use.

When using the Ceph filesystem you can also specify a CRUSH rule per directory, this can be done with the "cephfs" command:

I haven't used the tool myself yet, but I think something like this should be possible:

$ cephfs -p data-on-ssd /mnt/ceph/dir1/sub2

The "data-on-ssd" pool then has a CRUSH rule which only uses OSD's with SSD's in t hem.

Quoted 3 lines

2. Is there anyway to create sub-directories in the client mount for example, mount -t ceph x.x.x.x:/subdirectory /mnt/ceph

Yes, you can mount every subdirectory you want. Simply mount the root first, create the directories you want and then start mounting those new subdirectories.

Quoted 3 lines

I am looking forward to placing ceph into our production network as our backup target.

I'm just going to repeat myself. Ceph is great, but it is still under heavy development. Testing and feedback is needed and very welcome, but right now it's not suitable for production.

Regards,

Wido

Quoted 5 lines

Thank you,

Mark Nigh

Quoted 7 lines
Quoted 4 lines

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

This transmission and any attached files are privileged, confidential or otherwise the exclusive property of the intended recipient or Netelligent Corporation. If you are not the intended recipient, any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is strictly prohibited. If you have received this transmission in error, please contact us immediately by responding to this message or by telephone (314-392-6900) and promptly destroy the original transmission and its attachments.

This transmission and any attached files are privileged, confidential or otherwise the exclusive property of the intended recipient or Netelligent Corporation. If you are not the intended recipient, any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is strictly prohibited. If you have received this transmission in error, please contact us immediately by responding to this message or by telephone (314-392-6900) and promptly destroy the original transmission and its attachments.

#7 lore raw

Hi,

Quoted 3 lines · Mark Nigh

Wido,

Thanks for your input. Has there be any talk/discussions around support on the upcoming release of v1.0. I see in the roadmap that is slated for April. I have been testing Ceph for about 1 month now with limited issues and would like to place this file system into our production environment as a backup target. We would be willing to purchase a reasonable fee-based support contract to augment our limited staff here.

Currently there is no commercial support available. There have been discussions about this, but I'm not sure what the state is.

I'm not Ceph developer not am I a member of the team, I'm just someone who is very enthusiastic about Ceph.

From what I've heard/read is that they are thinking about setting up a support program when v1.0 is out.

If Ceph is meeting your demands at this point in time it's up to you if you want to take it into semi-production.

During the day there will be people hanging around in the IRC (I'm online between 09:00 and 19:00 GMT +1), so you are free to ask around when you run into troubles.

Feedback from (semi-)production env's is needed to make Ceph even better, so please, do so!

But, like I always, make sure you have a good backup of your data!

Quoted 3 lines

My apologies if this is the incorrect forum for discussions like this, but I am not aware of any others.

Currently this is the right place, when the volume of the list becomes to high there will be a -users and -dev list (I guess).

Wido

#8 lore raw

On Monday, March 21, 2011 at 4:43 AM, Wido den Hollander wrote:
Hi,

Quoted 11 lines · Mark Nigh
Quoted 3 lines

Wido,

Thanks for your input. Has there be any talk/discussions around support on the upcoming release of v1.0. I see in the roadmap that is slated for April. I have been testing Ceph for about 1 month now with limited issues and would like to place this file system into our production environment as a backup target. We would be willing to purchase a reasonable fee-based support contract to augment our limited staff here.

Currently there is no commercial support available. There have been discussions about this, but I'm not sure what the state is.

I'm not Ceph developer not am I a member of the team, I'm just someone who is very enthusiastic about Ceph.

There was an announcement about this recently:
http://blog.dreamhost.com/2011/03/09/support-for-ceph-is-coming/

See http://cephsupport.com/ to get on the mailing list. :) -Greg