Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to stop CM agent from remounting a failed datanode drive.

Highlighted

How to stop CM agent from remounting a failed datanode drive.

Contributor

 When CM agent found a datanode drive failed, it will try to create a new data directory under / file system. Is there a way to stop CM aget from doing that?

2 REPLIES 2

Re: How to stop CM agent from remounting a failed datanode drive.

Contributor

Here is an example of the problem:

 

1: A datanode has the following data dir /hadoop1 /hadoop2 /hadoop3 on three sepereate disks.

2: /hadoop1 is offline because of disk failure

3: When restart cm agent and datanode service, it will find /hadoop1 is missing from kernel /proc/mounts, the agent will try recreate /hadoop1 but mount it on / filesystem. The / file system will soon be filled up.

Highlighted

Re: How to stop CM agent from remounting a failed datanode drive.

Super Collaborator

Can you list an example of files and folder that are filling up under /hadoop1

Don't have an account?
Coming from Hortonworks? Activate your account here