i'm stuck with one stuck pg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

I've got a mini cluster and one pg I can't get clean.
I tried everything.

Maybe someone here has an idea?

Or can I just delete this pg somehow cause it has no objects...

I'm use as tunables:

tunable choose_local_tries 0
tunable choose_local_fallback_tries 0
tunable choose_total_tries 50


> ceph health detail
HEALTH_WARN 1 pgs stuck unclean
pg 0.34 is stuck unclean for 113026.470082, current state
active+remapped, last acting [2,1]


> ceph osd tree
# id	weight	type name	up/down	reweight
-1	4.5	root default
-2	4		host rokix
0	2			osd.0	up	1	
1	2			osd.1	up	1	
-3	0		host prometheus
-4	0		host linux-90as
-5	0.5		host classix
2	0.28			osd.2	up	1


> ceph pg dump_stuck unclean
ok
pg_stat	objects	mip	degr	unf	bytes	log	disklog	state	state_stamp	v
reported	up	acting	last_scrub	scrub_stamp	last_deep_scrub	deep_scrub_stamp
0.34	0	0	0	0	0	0	0	active+remapped	2014-02-02 17:38:47.604242	0'0
741:134	[2]	[2,1]	0'0	2014-02-02 10:28:15.657027	0'0	2014-02-02
10:28:15.657027



> ceph pg 0.34 query
{ "state": "active+remapped",
  "epoch": 741,
  "up": [
        2],
  "acting": [
        2,
        1],
  "info": { "pgid": "0.34",
      "last_update": "0'0",
      "last_complete": "0'0",
      "log_tail": "0'0",
      "last_user_version": 0,
      "last_backfill": "MAX",
      "purged_snaps": "[]",
      "history": { "epoch_created": 1,
          "last_epoch_started": 654,
          "last_epoch_clean": 654,
          "last_epoch_split": 0,
          "same_up_since": 652,
          "same_interval_since": 653,
          "same_primary_since": 636,
          "last_scrub": "0'0",
          "last_scrub_stamp": "2014-02-02 10:28:15.657027",
          "last_deep_scrub": "0'0",
          "last_deep_scrub_stamp": "2014-02-02 10:28:15.657027",
          "last_clean_scrub_stamp": "2014-02-02 10:28:15.657027"},
      "stats": { "version": "0'0",
          "reported_seq": "134",
          "reported_epoch": "741",
          "state": "active+remapped",
          "last_fresh": "2014-02-03 13:10:51.994639",
          "last_change": "2014-02-02 17:38:47.604242",
          "last_active": "2014-02-03 13:10:51.994639",
          "last_clean": "2014-02-02 16:17:21.537236",
          "last_became_active": "0.000000",
          "last_unstale": "2014-02-03 13:10:51.994639",
          "mapping_epoch": 652,
          "log_start": "0'0",
          "ondisk_log_start": "0'0",
          "created": 1,
          "last_epoch_clean": 654,
          "parent": "0.0",
          "parent_split_bits": 0,
          "last_scrub": "0'0",
          "last_scrub_stamp": "2014-02-02 10:28:15.657027",
          "last_deep_scrub": "0'0",
          "last_deep_scrub_stamp": "2014-02-02 10:28:15.657027",
          "last_clean_scrub_stamp": "2014-02-02 10:28:15.657027",
          "log_size": 0,
          "ondisk_log_size": 0,
          "stats_invalid": "0",
          "stat_sum": { "num_bytes": 0,
              "num_objects": 0,
              "num_object_clones": 0,
              "num_object_copies": 0,
              "num_objects_missing_on_primary": 0,
              "num_objects_degraded": 0,
              "num_objects_unfound": 0,
              "num_read": 0,
              "num_read_kb": 0,
              "num_write": 0,
              "num_write_kb": 0,
              "num_scrub_errors": 0,
              "num_shallow_scrub_errors": 0,
              "num_deep_scrub_errors": 0,
              "num_objects_recovered": 0,
              "num_bytes_recovered": 0,
              "num_keys_recovered": 0},
          "stat_cat_sum": {},
          "up": [
                2],
          "acting": [
                2,
                1]},
      "empty": 1,
      "dne": 0,
      "incomplete": 0,
      "last_epoch_started": 654},
  "recovery_state": [
        { "name": "Started\/Primary\/Active",
          "enter_time": "2014-02-02 17:38:47.604212",
          "might_have_unfound": [],
          "recovery_progress": { "backfill_target": -1,
              "waiting_on_backfill": 0,
              "last_backfill_started": "0\/\/0\/\/-1",
              "backfill_info": { "begin": "0\/\/0\/\/-1",
                  "end": "0\/\/0\/\/-1",
                  "objects": []},
              "peer_backfill_info": { "begin": "0\/\/0\/\/-1",
                  "end": "0\/\/0\/\/-1",
                  "objects": []},
              "backfills_in_flight": [],
              "recovering": [],
              "pg_backend": { "pull_from_peer": [],
                  "pushing": []}},
          "scrub": { "scrubber.epoch_start": "0",
              "scrubber.active": 0,
              "scrubber.block_writes": 0,
              "scrubber.finalizing": 0,
              "scrubber.waiting_on": 0,
              "scrubber.waiting_on_whom": []}},
        { "name": "Started",
          "enter_time": "2014-02-02 17:38:46.521187"}]}


Best Regards

Ingo

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux