Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ceph-mon1:~# ceph -s
- cluster f082a4b2-4094-4896-8053-56ed45e3662c
- health HEALTH_ERR
- 1 pgs inconsistent
- 1 scrub errors
- noout,sortbitwise flag(s) set
- 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}
- election epoch 56, quorum 0,1,2 ceph-mon1,ceph-mon2,ceph-mon3
- fsmap e34649: 1/1/1 up {0=ceph-mds1=up:standby-replay}
- osdmap e27169: 36 osds: 36 up, 36 in
- flags noout,sortbitwise
- pgmap v3257043: 4608 pgs, 2 pools, 3703 GB data, 89505 kobjects
- 12357 GB used, 14277 GB / 26634 GB avail
- 4607 active+clean
- 1 active+clean+inconsistent
- client io 3195 kB/s rd, 418 kB/s wr, 220 op/s rd, 0 op/s wr
- root@ceph-mon1:~# ceph health detail
- HEALTH_ERR 1 pgs inconsistent; 1 scrub errors; noout,sortbitwise flag(s) set
- pg 5.62 is active+clean+inconsistent, acting [17,28,6]
- 1 scrub errors
- noout,sortbitwise flag(s) set
- root@ceph-mon1:~#
- root@ceph-mon1:~# ceph pg 5.62 query | grep degraded
- "last_undegraded": "2016-08-31 14:46:34.101638",
- "num_objects_degraded": 0,
- "last_undegraded": "2016-08-28 07:48:03.726345",
- "num_objects_degraded": 0,
- "last_undegraded": "2016-08-28 08:04:54.001432",
- "num_objects_degraded": 0,
- #confirm version
- 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
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- {"version":"10.2.2"}
- ##confirm arch
- root@ceph-mon1:~# for i in 2 3 4; do ssh ceph-osd$i 'uname -m'; done
- x86_64
- x86_64
- x86_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
- meta-data=/dev/sda1 isize=2048 agcount=4, agsize=48510517 blks
- = sectsz=4096 attr=2, projid32bit=1
- = crc=1 finobt=1 spinodes=0
- data = bsize=4096 blocks=194042065, imaxpct=25
- = sunit=0 swidth=0 blks
- naming =version 2 bsize=4096 ascii-ci=0 ftype=1
- log =internal bsize=4096 blocks=94747, version=2
- = sectsz=4096 sunit=1 blks, lazy-count=1
- realtime =none extsz=4096 blocks=0, rtextents=0
- meta-data=/dev/sde1 isize=2048 agcount=4, agsize=48510517 blks
- = sectsz=4096 attr=2, projid32bit=1
- = crc=1 finobt=1 spinodes=0
- data = bsize=4096 blocks=194042065, imaxpct=25
- = sunit=0 swidth=0 blks
- naming =version 2 bsize=4096 ascii-ci=0 ftype=1
- log =internal bsize=4096 blocks=94747, version=2
- = sectsz=4096 sunit=1 blks, lazy-count=1
- realtime =none extsz=4096 blocks=0, rtextents=0
- meta-data=/dev/sdd1 isize=2048 agcount=4, agsize=48510517 blks
- = sectsz=4096 attr=2, projid32bit=1
- = crc=1 finobt=1 spinodes=0
- data = bsize=4096 blocks=194042065, imaxpct=25
- = sunit=0 swidth=0 blks
- naming =version 2 bsize=4096 ascii-ci=0 ftype=1
- log =internal bsize=4096 blocks=94747, version=2
- = sectsz=4096 sunit=1 blks, lazy-count=1
- realtime =none extsz=4096 blocks=0, rtextents=0
- root@ceph-mon1:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement