Crushmap doesn't match osd tree

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

 



Hi,
On version 0.56.4, I'm having a problem with my crush map.
The output of osd tree is:
# id    weight    type name    up/down    reweight

0    0    osd.0    up    1
1    0    osd.1    up    1
2    0    osd.2    up    1
3    0    osd.3    up    1
4    0    osd.4    up    1
5    0    osd.5    up    1

But there are buckets set in the crush map (Attached).

How can I fix this?
Editing the crush map and doing setcrushmap doesn't appear to change anything.

Cheers
Mike

-- 
Notice:  This email is confidential and may contain copyright material of 
Ocado Limited (the "Company"). Opinions and views expressed in this message 
may not necessarily reflect the opinions and views of the Company.

If you are not the intended recipient, please notify us immediately and 
delete all copies of this message. Please note that it is your 
responsibility to scan this message for viruses.

Company reg. no. 3875000.

Ocado Limited
Titan Court
3 Bishops Square
Hatfield Business Park
Hatfield
Herts
AL10 9NE
# begin crush map

# devices
device 0 osd.0
device 1 osd.1
device 2 osd.2
device 3 osd.3
device 4 osd.4
device 5 osd.5

# types
type 0 osd
type 1 host
type 2 rack
type 3 row
type 4 room
type 5 datacenter
type 6 root

# buckets
host ec02sv36 {
	id -2		# do not change unnecessarily
	# weight 0.010
	alg straw
	hash 0	# rjenkins1
	item osd.1 weight 0.010
}
host ec02sv34 {
	id -14		# do not change unnecessarily
	# weight 0.010
	alg straw
	hash 0	# rjenkins1
	item osd.5 weight 0.010
}
rack rack-6A.57779-petdpw25 {
	id -4		# do not change unnecessarily
	# weight 0.020
	alg straw
	hash 0	# rjenkins1
	item ec02sv36 weight 0.010
	item ec02sv34 weight 0.010
}
host ec02sv35 {
	id -3		# do not change unnecessarily
	# weight 0.010
	alg straw
	hash 0	# rjenkins1
	item osd.2 weight 0.010
}
rack rack-6A.57779-petdpw26 {
	id -5		# do not change unnecessarily
	# weight 0.010
	alg straw
	hash 0	# rjenkins1
	item ec02sv35 weight 0.010
}
room room-CR0.11386 {
	id -6		# do not change unnecessarily
	# weight 0.030
	alg straw
	hash 0	# rjenkins1
	item rack-6A.57779-petdpw25 weight 0.020
	item rack-6A.57779-petdpw26 weight 0.010
}
datacenter site-td {
	id -7		# do not change unnecessarily
	# weight 0.030
	alg straw
	hash 0	# rjenkins1
	item room-CR0.11386 weight 0.030
}
host ec01sv36 {
	id -8		# do not change unnecessarily
	# weight 0.010
	alg straw
	hash 0	# rjenkins1
	item osd.0 weight 0.010
}
host ec01sv34 {
	id -15		# do not change unnecessarily
	# weight 0.010
	alg straw
	hash 0	# rjenkins1
	item osd.3 weight 0.010
}
rack rack-9.41933-pehdpw09b {
	id -9		# do not change unnecessarily
	# weight 0.020
	alg straw
	hash 0	# rjenkins1
	item ec01sv36 weight 0.010
	item ec01sv34 weight 0.010
}
host ec01sv35 {
	id -12		# do not change unnecessarily
	# weight 0.010
	alg straw
	hash 0	# rjenkins1
	item osd.4 weight 0.010
}
rack rack-9.41933-pehdpw09a {
	id -13		# do not change unnecessarily
	# weight 0.010
	alg straw
	hash 0	# rjenkins1
	item ec01sv35 weight 0.010
}
room room-CR3.11391 {
	id -10		# do not change unnecessarily
	# weight 0.030
	alg straw
	hash 0	# rjenkins1
	item rack-9.41933-pehdpw09b weight 0.020
	item rack-9.41933-pehdpw09a weight 0.010
}
datacenter site-hd {
	id -11		# do not change unnecessarily
	# weight 0.030
	alg straw
	hash 0	# rjenkins1
	item room-CR3.11391 weight 0.030
}
root default {
	id -1		# do not change unnecessarily
	# weight 0.060
	alg straw
	hash 0	# rjenkins1
	item site-td weight 0.030
	item site-hd weight 0.030
}

# rules
rule data {
	ruleset 0
	type replicated
	min_size 4
	max_size 4
	step choose firstn 2 type datacenter
	step chooseleaf firstn 2 type rack
	step emit
}

# end crush map
_______________________________________________
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