Skip to contentSkip to conversation

HEALTH_WARNING

DISCUSSION Martin Wilderoth 3 participants 4 messages Apr 2, 2011 – Apr 3, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hello,

I have seperate partitions for my osd and the btrfs file system. I also use SSD-disk for journaling.

But I got problem when the root system was filled up with logfiles on one host, the file system reported out of diskspace.

But the osd's were not filled to 100%. Later I realised that the root system on one of the osd hosts (osd2 and osd3) had no space left, to much logging.

The only way I know to recover is to create a new filesystem in the cluster :-) But it's bad fot the data :-)

When i get problems with one osd it seems as if they are crashing one by one. And i dont know how to get them up again whitout deleting all the data.
Hi,

Quoted 5 lines · Martin Wilderoth

Hello,

One of my hosts run out of diskspace on the root file system (logfiles) So I restared ceph. Discoverd the low diskspace during the restart. osd2 and osd3

Do you have separate partitions for your OSD data? Or do you have one big / partition? I'd recommend a separate partition for your OSD's.

Quoted 8 lines

ceph health gives a message like this

HEALTH_WARN osdmonitor: num_osds = 6, num_up_osds = 4, num_in_osds = 4 Some PGs are: degraded,peering

now osd.1 is dead all the other are running

How do I get the running one up and in ? and how do I know which ods it is ?

$ ceph osd dump -o - 

That should tell you which OSD is down/out.

Quoted 2 lines

how do I recover the dead one ?

Normally starting the OSD would be enough. Look closely though, you might have hit a bug which caused the OSD to crash. If so, there should be a file called "core" in / which has a core-dump and could tell why the OSD crashed:

$ gdb /usr/bin/cosd /core 

Make sure you have the debug symbols (-dbg packages) installed when doing so.

If you monitor 'ceph -w' then, you should see the cluster recover and all OSD's should be up & in.

Wido

--
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
Quoted 6 lines

The only way I know to recover is to create a new filesystem in the cluster :-) But it's bad fot the data :-)

When i get problems with one osd it seems as if they are crashing one by one. And i dont know how to get them up again whitout deleting all the data.

Which version of ceph are you running? We had similar problem before. I would like to know if recent fixes for osd recovery (>= v0.25.1) have already resolved this problem.

Thanks,
Henry

#3 lore raw

I'm running 0.25.2 from the debian repository squeeze. so it's the latest i think

Quoted 6 lines

The only way I know to recover is to create a new filesystem in the cluster :-) But it's bad fot the data :-)

When i get problems with one osd it seems as if they are crashing one by one. And i dont know how to get them up again whitout deleting all the data.

Which version of ceph are you running? We had similar problem before. I would like to know if recent fixes for osd recovery (>= v0.25.1) have already resolved this problem.

Thanks,
Henry

#4 lore raw
In reply to Martin Wilderoth
Quoted 8 lines · Martin Wilderoth

Hello,

I have seperate partitions for my osd and the btrfs file system. I also use SSD-disk for journaling.

But I got problem when the root system was filled up with logfiles on one host, the file system reported out of diskspace.

Quoted 7 lines

But the osd's were not filled to 100%. Later I realised that the root system on one of the osd hosts (osd2 and osd3) had no space left, to much logging.

The only way I know to recover is to create a new filesystem in the cluster :-) But it's bad fot the data :-)

When i get problems with one osd it seems as if they are crashing one by one. And i dont know how to get them up again whitout deleting all the data.

You should be able to simply clear up some space (don't remove any of the actual OSD data though!) and then start up the OSD daemon, at which point it ought to automatically rejoin the cluster. Is this not working? If not, please start up the daemon with higher levels of debug logging and put the logs somewhere accessible. -Greg