Hi, I have a similar question when testing. When I restarted my OSD server, the OSD cannot join the OSD pool automatically. I have to login into the OSD server and type "cosd -i #"(# is the number of OSD). My question is, can monitor or MDS automatically detect OSDes, other MDSs or monitors and add them into the pool when they restart? Thanks! å 2011å3æ17æäå3:20ïUpendra Moturi <upendra.m@xxxxxxxxxxxx> åéï > Hi > > I too had the same problem. > Only one option i found(just for testing)i had to stop the cluster and > start it again. > > /etc/init.d/ceph start osd<n> does not do anything as this not even > going into start case . > > 2011/3/17 Upendra Moturi <upendra.m@xxxxxxxxxxxx> >> >> I too had the same problem. >> Only one option i found(just for testing)i had to stop the cluster and start it again. >> >> /etc/init.d/ceph start osd<n> does not do anything as this not even going into start case . >> >> >> 2011/3/17 Samuel Just <samuelj@xxxxxxxxxxxxxxx> >>> >>> ÂFrom the looks of the fdisk output, it seems that the disk was not >>> recognized by the OS when it was reinserted? The OSD daemon won't be >>> able to start if the disk is not found. >>> -Sam >>> >>> On 03/16/2011 05:08 PM, huang jun wrote: >>> > Hiï >>> > Recently, I try to do "adding/removing osds " in ceph wiki >>> > Here is what I ave done >>> > <1> build a cluster with mon/mds/osd0 in the same machine "host0" >>> >   And start it,everything is ok >>> > <2> follow the wiki ceph ,add a disk (/dev/sdb4)into host0 >>> >  ÂIt's ok ,"ceph osd dump -o - "show that there are two osds and >>> > state are in/up >>> > <3> write a 4G file >>> > pull out the osd1 when it about writes 2G ,the osd1 was marked down >>> > and 5 mins laster >>> > it was marked out,but use "df -hl " >>> > I Âfind "/dev/sdb4 885G Â2.7M Â885G  1% /data/osd1" (it's right?) >>> > so when re-insert the disk ," fdisk -l" show me: >>> > >>> > Disk /dev/sda: 1000.2 GB, 1000204886016 bytes >>> > 255 heads, 63 sectors/track, 121601 cylinders >>> > Units = cylinders of 16065 * 512 = 8225280 bytes >>> > Disk identifier: 0x000d6542 >>> >  ÂDevice Boot   ÂStart     End   ÂBlocks  Id ÂSystem >>> > /dev/sda1  *      1    Â3263  Â26210016  83 ÂLinux >>> > /dev/sda2      Â3264    Â6134  Â23061307+  f ÂW95 Ext'd (LBA) >>> > /dev/sda3      Â6135   Â121601  927488677+ Â83 ÂLinux >>> > /dev/sda5      Â3264    Â4307   8385898+ Â82 ÂLinux swap / Solaris >>> > /dev/sda6      Â4308    Â5612  Â10482381  83 ÂLinux >>> > /dev/sda7      Â5613    Â6134   4192933+ Â83 ÂLinux >>> > >>> > Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes >>> > 255 heads, 63 sectors/track, 121601 cylinders >>> > Units = cylinders of 16065 * 512 = 8225280 bytes >>> > Disk identifier: 0x000549cb >>> >  ÂDevice Boot   ÂStart     End   ÂBlocks  Id ÂSystem >>> > /dev/sdc1  *      1    Â3263  Â26210016  83 ÂLinux >>> > /dev/sdc2      Â3264    Â6134  Â23061307+  f ÂW95 Ext'd (LBA) >>> > /dev/sdc4      Â6135   Â121601  927488677+ Â83 ÂLinux >>> > /dev/sdc5      Â3264    Â4307   8385898+ Â82 ÂLinux swap / Solaris >>> > /dev/sdc6      Â4308    Â5612  Â10482381  83 ÂLinux >>> > /dev/sdc7      Â5613    Â6134   4192933+ Â83 ÂLinux >>> > >>> > And finally I can not start osd1 >>> > Because "/etc/init.d/ceph start osd1 " do nothing >>> > Where is my problem?can you find it out for me? >>> > thanks >>> > -- >>> > 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 >> >> >> >> -- >> Thanks and Regards, >> Upendra.M > > > > -- > Thanks and Regards, > Upendra.M > -- > 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 > -- Best Regards, Sylar Shen -- 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