Advertisement
Guest User

Untitled

a guest
Jun 5th, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.86 KB | None | 0 0
  1. $ sudo ceph health detail
  2. HEALTH_WARN Reduced data availability: 1 pg inactive, 1 pg stale; Degraded data redundancy: 1 pg undersized
  3. PG_AVAILABILITY Reduced data availability: 1 pg inactive, 1 pg stale
  4.     pg 1.2d is stuck stale for 158544.853823, current state stale+undersized+peered, last acting [11]
  5. PG_DEGRADED Degraded data redundancy: 1 pg undersized
  6.     pg 1.2d is stuck undersized for 158551.331873, current state stale+undersized+peered, last acting [11]
  7.  
  8. $ sudo ceph pg map 1.2d
  9. osdmap e281 pg 1.2d (1.2d) -> up [10,2,9] acting [10,2,9]
  10.  
  11. $ sudo ceph pg 1.2d query
  12. Error ENOENT: i don't have pgid 1.2d
  13.  
  14. $ sudo ceph pg repair 1.2d
  15. instructing pg 1.2d on osd.10 to repair
  16.  
  17. $ sudo ceph pg dump_stuck stale
  18. ok
  19. PG_STAT STATE                   UP   UP_PRIMARY ACTING ACTING_PRIMARY
  20. 1.2d    stale+undersized+peered [11]         11   [11]             11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement