[ceph-users] 答复: Re: can not add osd
Hi I have deploied ceph osd according official Ceph docs,and the same error came out again. 发件人: Karan Singh 收件人: yang.bi...@zte.com.cn, 抄送: ceph-users 日期: 2014/12/16 22:51 主题: Re: [ceph-users] can not add osd Hi You logs does not provides much information , if you are following any other documentation for Ceph , i would recommend you to follow official Ceph docs. http://ceph.com/docs/master/start/quick-start-preflight/ Karan Singh Systems Specialist , Storage Platforms CSC - IT Center for Science, Keilaranta 14, P. O. Box 405, FIN-02101 Espoo, Finland mobile: +358 503 812758 tel. +358 9 4572001 fax +358 9 4572302 http://www.csc.fi/ On 16 Dec 2014, at 09:55, yang.bi...@zte.com.cn wrote: hi When i execute "ceph-deploy osd prepare node3:/dev/sdb",always come out err like this : [node3][WARNIN] INFO:ceph-disk:Running command: /bin/umount -- /var/lib/ceph/tmp/mnt.u2KXW3 [node3][WARNIN] umount: /var/lib/ceph/tmp/mnt.u2KXW3: target is busy. Then i execute "/bin/umount -- /var/lib/ceph/tmp/mnt.u2KXW3",result is ok. ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately. ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately. ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] 'rbd list' stuck
The cluster state must be wrong,but how to recovery? root@node3 ceph-cluster]# ceph -w cluster 1365f2dd-b86c-436c-a64f-3318a937f3c2 health HEALTH_WARN 64 pgs incomplete; 64 pgs stale; 64 pgs stuck inactive; 64 pgs stuck stale; 64 pgs stuck unclean; 8 requests are blocked > 32 sec monmap e1: 1 mons at {node3=10.74.120.79:6789/0}, election epoch 1, quorum 0 node3 osdmap e38: 3 osds: 3 up, 3 in pgmap v80: 64 pgs, 1 pools, 0 bytes data, 0 objects 100 MB used, 164 GB / 164 GB avail 64 stale+incomplete 2014-12-18 09:51:44.156184 mon.0 [INF] pgmap v80: 64 pgs: 64 stale+incomplete; 0 bytes data, 100 MB used, 164 GB / 164 GB avail Hi Why command 'rbd list'executed on monitor stuck,any prompt should be appreciated! Backtree: [] futex_wait_queue_me+0xde/0x140 [] futex_wait+0x179/0x280 [] do_futex+0xfe/0x5e0 [] SyS_futex+0x80/0x180 [] system_call_fastpath+0x16/0x1b [] 0x Best Regards! YangBin ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately. ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[ceph-users] 'rbd list' stuck
Hi Why command 'rbd list'executed on monitor stuck,any prompt should be appreciated! Backtree: [] futex_wait_queue_me+0xde/0x140 [] futex_wait+0x179/0x280 [] do_futex+0xfe/0x5e0 [] SyS_futex+0x80/0x180 [] system_call_fastpath+0x16/0x1b [] 0x Best Regards! YangBin ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately. ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] can not add osd
From official Ceph docs,i still get the same err: [root@node3 ceph-cluster]# ceph-deploy osd activate node2:/dev/sdb1 [ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.21): /usr/bin/ceph-deploy osd activate node2:/dev/sdb1 [ceph_deploy.osd][DEBUG ] Activating cluster ceph disks node2:/dev/sdb1: [node2][DEBUG ] connected to host: node2 [node2][DEBUG ] detect platform information from remote host [node2][DEBUG ] detect machine type [ceph_deploy.osd][INFO ] Distro info: CentOS Linux 7.0.1406 Core [ceph_deploy.osd][DEBUG ] activating host node2 disk /dev/sdb1 [ceph_deploy.osd][DEBUG ] will use init type: sysvinit [node2][INFO ] Running command: ceph-disk -v activate --mark-init sysvinit --mount /dev/sdb1 [node2][WARNIN] INFO:ceph-disk:Running command: /sbin/blkid -p -s TYPE -ovalue -- /dev/sdb1 [node2][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mount_options_xfs [node2][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mount_options_xfs [node2][WARNIN] DEBUG:ceph-disk:Mounting /dev/sdb1 on /var/lib/ceph/tmp/mnt.NC9pdv with options noatime,inode64 [node2][WARNIN] INFO:ceph-disk:Running command: /usr/bin/mount -t xfs -o noatime,inode64 -- /dev/sdb1 /var/lib/ceph/tmp/mnt.NC9pdv [node2][WARNIN] DEBUG:ceph-disk:Cluster uuid is cadb2f14-e2ea-41fb-8050-a2f0fe447475 [node2][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid [node2][WARNIN] DEBUG:ceph-disk:Cluster name is ceph [node2][WARNIN] DEBUG:ceph-disk:OSD uuid is 8bbf6631-8722-4e97-bf18-06253143acf6 [node2][WARNIN] DEBUG:ceph-disk:Allocating OSD id... [node2][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring osd create --concise 8bbf6631-8722-4e97-bf18-06253143acf6 [node2][WARNIN] ERROR:ceph-disk:Failed to activate [node2][WARNIN] DEBUG:ceph-disk:Unmounting /var/lib/ceph/tmp/mnt.NC9pdv [node2][WARNIN] Traceback (most recent call last): [node2][WARNIN] File "/usr/sbin/ceph-disk", line 2784, in [node2][WARNIN] main() [node2][WARNIN] File "/usr/sbin/ceph-disk", line 2762, in main [node2][WARNIN] args.func(args) [node2][WARNIN] File "/usr/sbin/ceph-disk", line 1996, in main_activate [node2][WARNIN] init=args.mark_init, [node2][WARNIN] File "/usr/sbin/ceph-disk", line 1819, in mount_activate [node2][WARNIN] os.rmdir(path) [node2][WARNIN] OSError: [Errno 16] Device or resource busy: '/var/lib/ceph/tmp/mnt.NC9pdv' [node2][ERROR ] RuntimeError: command returned non-zero exit status: 1 [ceph_deploy][ERROR ] RuntimeError: Failed to execute command: ceph-disk -v activate --mark-init sysvinit --mount /dev/sdb1 发件人: Karan Singh 收件人: yang.bi...@zte.com.cn, 抄送: ceph-users 日期: 2014/12/16 22:51 主题: Re: [ceph-users] can not add osd Hi You logs does not provides much information , if you are following any other documentation for Ceph , i would recommend you to follow official Ceph docs. http://ceph.com/docs/master/start/quick-start-preflight/ Karan Singh Systems Specialist , Storage Platforms CSC - IT Center for Science, Keilaranta 14, P. O. Box 405, FIN-02101 Espoo, Finland mobile: +358 503 812758 tel. +358 9 4572001 fax +358 9 4572302 http://www.csc.fi/ On 16 Dec 2014, at 09:55, yang.bi...@zte.com.cn wrote: hi When i execute "ceph-deploy osd prepare node3:/dev/sdb",always come out err like this : [node3][WARNIN] INFO:ceph-disk:Running command: /bin/umount -- /var/lib/ceph/tmp/mnt.u2KXW3 [node3][WARNIN] umount: /var/lib/ceph/tmp/mnt.u2KXW3: target is busy. Then i execute "/bin/umount -- /var/lib/ceph/tmp/mnt.u2KXW3",result is ok. ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately. ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other d
[ceph-users] can not add osd
hi When i execute "ceph-deploy osd prepare node3:/dev/sdb",always come out err like this : [node3][WARNIN] INFO:ceph-disk:Running command: /bin/umount -- /var/lib/ceph/tmp/mnt.u2KXW3 [node3][WARNIN] umount: /var/lib/ceph/tmp/mnt.u2KXW3: target is busy. Then i execute "/bin/umount -- /var/lib/ceph/tmp/mnt.u2KXW3",result is ok. ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately. ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[ceph-users] can not add osd
hi I am newly use ceph,when mon start up ,ceph -s show "no monitors specified to connect to. Error connecting to cluster: ObjectNotFound"(even in the mon). What reason may be? ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately. ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[ceph-users] work with share disk
Hi Can mutiple ceph nodes work on one single share disk? Just like RedHat Global FS or Oralce ocfs2. ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately. ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com