Skip to contentSkip to conversation

Always creating PGs

DISCUSSION Tomoki BENIYA 2 participants 3 messages May 10, 2012 – May 28, 2012

lore
Share & tools
lore
#0 lore raw

Hi, all

I created Ceph file system using Debian7 of 64bit.

I found that PGs of 'creating' status are never finished.

# ceph pg stat
v17596: 1204 pgs: 8 creating, 1196 active+clean; 25521 MB data, 77209 MB used, 2223 GB / 2318 GB avail
                  ~~~~~~~~~~
                  always creating, why?
# ceph pg dump|grep creating
1.1p6   0       0       0       0       0       0       0       creating        0.000000        0'0     0'0     []      []      0'0     0.000000
0.1p7   0       0       0       0       0       0       0       creating        0.000000        0'0     0'0     []      []      0'0     0.000000
1.1p7   0       0       0       0       0       0       0       creating        0.000000        0'0     0'0     []      []      0'0     0.000000
0.1p6   0       0       0       0       0       0       0       creating        0.000000        0'0     0'0     []      []      0'0     0.000000
1.1p8   0       0       0       0       0       0       0       creating        0.000000        0'0     0'0     []      []      0'0     0.000000
0.1p9   0       0       0       0       0       0       0       creating        0.000000        0'0     0'0     []      []      0'0     0.000000
1.1p9   0       0       0       0       0       0       0       creating        0.000000        0'0     0'0     []      []      0'0     0.000000
0.1p8   0       0       0       0       0       0       0       creating        0.000000        0'0     0'0     []      []      0'0     0.000000

Configuration is wrong?
How to resolve this problem?

========================================
[global]
auth supported = cephx
max open files = 131072
log_to_syslog = true
pid file = /var/run/ceph/$name.pid
keyring = /etc/ceph/keyring.bin

[mon]
mon data = /ceph/$name

[mon.0]
host = mon0
mon addr = 192.168.233.81:6789

[mon.1]
host = mon1
mon addr = 192.168.233.82:6789

[mon.2]
host = mon2
mon addr = 192.168.233.83:6789

[mds]
keyring = /etc/ceph/keyring.$name

[mds.0]
host = mds0

[osd]
osd journal = /var/journal
osd journal size = 1000
keyring = /etc/ceph/keyring.$name

[osd.0]
host = osd0
btrfs devs = /dev/sdb1
osd data = /ceph0
osd journal = /var/journal0

[osd.1]
host = osd0
btrfs devs = /dev/sdc1
osd data = /ceph1
osd journal = /var/journal1

[osd.2]
host = osd1
btrfs devs = /dev/sdb1
osd data = /ceph0
osd journal = /var/journal0

[osd.3]
host = osd1
btrfs devs = /dev/sdc1
osd data = /ceph1
osd journal = /var/journal1

[osd.4]
host = osd2
btrfs devs = /dev/sdb1
osd data = /ceph0
osd journal = /var/journal0

[osd.5]
host = osd2
btrfs devs = /dev/sdc1
osd data = /ceph1
osd journal = /var/journal1

[osd.6]
host = osd3
btrfs devs = /dev/sdb1
osd data = /ceph0
osd journal = /var/journal0

[osd.7]
host = osd3
btrfs devs = /dev/sdc1
osd data = /ceph1
osd journal = /var/journal1

[osd.8]
host = osd4
btrfs devs = /dev/sdb1
osd data = /ceph0
osd journal = /var/journal0

[osd.9]
host = osd4
btrfs devs = /dev/sdc1
osd data = /ceph1
osd journal = /var/journal1
========================================

Thanks.

Signature · 1 line
Tomoki BENIYA <[email protected]>
#1 lore raw
Quoted 9 lines · Tomoki BENIYA

I found that PGs of 'creating' status are never finished.

# ceph pg stat
v17596: 1204 pgs: 8 creating, 1196 active+clean; 25521 MB data, 77209 MB used, 2223 GB / 2318 GB avail
                 ~~~~~~~~~~
                 always creating, why?
# ceph pg dump|grep creating
1.1p6   0       0       0       0       0       0       0       creating        0.000000        0'0     0'0     []      []      0'0     0.000000

Sounds like another report we've had recently, under the subject "PGs stuck in creating state"
http://comments.gmane.org/gmane.comp.file-systems.ceph.devel/6078

Please read that thread. That wart should go away at 0.47. --
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

I upgraded 0.47.
I had confirmed to have been resolved this problem.

Thank you.

Quoted 20 lines · On Thu, 10 May 2012 15:10:50 -0700 Tommi Virtanen <[email protected]> wrote:
Quoted 9 lines · Tomoki BENIYA

I found that PGs of 'creating' status are never finished.

# ceph pg stat
v17596: 1204 pgs: 8 creating, 1196 active+clean; 25521 MB data, 77209 MB used, 2223 GB / 2318 GB avail
? ? ? ? ? ? ? ? ?~~~~~~~~~~
? ? ? ? ? ? ? ? ?always creating, why?
# ceph pg dump|grep creating
1.1p6 ? 0 ? ? ? 0 ? ? ? 0 ? ? ? 0 ? ? ? 0 ? ? ? 0 ? ? ? 0 ? ? ? creating ? ? ? ?0.000000 ? ? ? ?0'0 ? ? 0'0 ? ? [] ? ? ?[] ? ? ?0'0 ? ? 0.000000

Sounds like another report we've had recently, under the subject "PGs stuck in creating state"
http://comments.gmane.org/gmane.comp.file-systems.ceph.devel/6078

Please read that thread. That wart should go away at 0.47. --
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Tomoki BENIYA <[email protected]>