SHARE
TWEET

Untitled

s3an2 Aug 31st, 2016 18 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@ceph-mon1:~# ceph -s
  2.     cluster f082a4b2-4094-4896-8053-56ed45e3662c
  3.      health HEALTH_ERR
  4.             1 pgs inconsistent
  5.             1 scrub errors
  6.             noout,sortbitwise flag(s) set
  7.      monmap e1: 3 mons at {ceph-mon1=172.27.175.1:6789/0,ceph-mon2=172.27.175.2:6789/0,ceph-mon3=172.27.175.3:6789/0}
  8.             election epoch 56, quorum 0,1,2 ceph-mon1,ceph-mon2,ceph-mon3
  9.       fsmap e34649: 1/1/1 up {0=ceph-mds1=up:standby-replay}
  10.      osdmap e27169: 36 osds: 36 up, 36 in
  11.             flags noout,sortbitwise
  12.       pgmap v3257043: 4608 pgs, 2 pools, 3703 GB data, 89505 kobjects
  13.             12357 GB used, 14277 GB / 26634 GB avail
  14.                 4607 active+clean
  15.                    1 active+clean+inconsistent
  16.   client io 3195 kB/s rd, 418 kB/s wr, 220 op/s rd, 0 op/s wr
  17.  
  18.  
  19. root@ceph-mon1:~# ceph health detail
  20. HEALTH_ERR 1 pgs inconsistent; 1 scrub errors; noout,sortbitwise flag(s) set
  21. pg 5.62 is active+clean+inconsistent, acting [17,28,6]
  22. 1 scrub errors
  23. noout,sortbitwise flag(s) set
  24. root@ceph-mon1:~#
  25.  
  26. root@ceph-mon1:~# ceph pg 5.62 query | grep degraded
  27.             "last_undegraded": "2016-08-31 14:46:34.101638",
  28.                 "num_objects_degraded": 0,
  29.                 "last_undegraded": "2016-08-28 07:48:03.726345",
  30.                     "num_objects_degraded": 0,
  31.                 "last_undegraded": "2016-08-28 08:04:54.001432",
  32.                     "num_objects_degraded": 0,
  33.  
  34.  
  35. #confirm version
  36.  
  37. root@ceph-mon1:~# for i in 2 3 4 ; do ssh ceph-osd$i 'for i in `ls /var/run/ceph/ceph-osd.*.asok` ; do ceph --admin-daemon $i version ; done' ; done
  38. {"version":"10.2.2"}
  39. {"version":"10.2.2"}
  40. {"version":"10.2.2"}
  41. {"version":"10.2.2"}
  42. {"version":"10.2.2"}
  43. {"version":"10.2.2"}
  44. {"version":"10.2.2"}
  45. {"version":"10.2.2"}
  46. {"version":"10.2.2"}
  47. {"version":"10.2.2"}
  48. {"version":"10.2.2"}
  49. {"version":"10.2.2"}
  50. {"version":"10.2.2"}
  51. {"version":"10.2.2"}
  52. {"version":"10.2.2"}
  53. {"version":"10.2.2"}
  54. {"version":"10.2.2"}
  55. {"version":"10.2.2"}
  56.  
  57. ##confirm arch
  58.  
  59. root@ceph-mon1:~# for i in 2 3 4; do ssh ceph-osd$i 'uname -m'; done
  60. x86_64
  61. x86_64
  62. x86_64
  63.  
  64. root@ceph-mon1:~# ssh ceph-osd2 xfs_info /dev/sda1 ; ssh ceph-osd3 xfs_info /dev/sde1 ; ssh ceph-osd4 xfs_info /dev/sdd1
  65. meta-data=/dev/sda1              isize=2048   agcount=4, agsize=48510517 blks
  66.          =                       sectsz=4096  attr=2, projid32bit=1
  67.          =                       crc=1        finobt=1 spinodes=0
  68. data     =                       bsize=4096   blocks=194042065, imaxpct=25
  69.          =                       sunit=0      swidth=0 blks
  70. naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
  71. log      =internal               bsize=4096   blocks=94747, version=2
  72.          =                       sectsz=4096  sunit=1 blks, lazy-count=1
  73. realtime =none                   extsz=4096   blocks=0, rtextents=0
  74. meta-data=/dev/sde1              isize=2048   agcount=4, agsize=48510517 blks
  75.          =                       sectsz=4096  attr=2, projid32bit=1
  76.          =                       crc=1        finobt=1 spinodes=0
  77. data     =                       bsize=4096   blocks=194042065, imaxpct=25
  78.          =                       sunit=0      swidth=0 blks
  79. naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
  80. log      =internal               bsize=4096   blocks=94747, version=2
  81.          =                       sectsz=4096  sunit=1 blks, lazy-count=1
  82. realtime =none                   extsz=4096   blocks=0, rtextents=0
  83. meta-data=/dev/sdd1              isize=2048   agcount=4, agsize=48510517 blks
  84.          =                       sectsz=4096  attr=2, projid32bit=1
  85.          =                       crc=1        finobt=1 spinodes=0
  86. data     =                       bsize=4096   blocks=194042065, imaxpct=25
  87.          =                       sunit=0      swidth=0 blks
  88. naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
  89. log      =internal               bsize=4096   blocks=94747, version=2
  90.          =                       sectsz=4096  sunit=1 blks, lazy-count=1
  91. realtime =none                   extsz=4096   blocks=0, rtextents=0
  92. root@ceph-mon1:~#
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top