💻Tech/👨‍💻etc

[SOLVED] CDSW docker daemons fail to start

_viper_ 2020. 1. 17. 09:11
반응형

 


CDSW docker daemons fail to start with the following error:

 

Error starting daemon: error initializing graphdriver: devmapper: Unable to take ownership of thin-pool (docker-thinpool) that already has used data blocks.

or

Non existing device docker-thinpool

 

This issue occurs when the block devices you specified for the Docker Block Device field already have data on them. This is a safeguard to prevent block devices from being wiped inadvertently. Note that resolving this resolving this issue involves deleting data from the block devices.

 

To resolve this issue, perform the following steps:

   >> CDSW Stop  >>  ps -ef | grep -i cdsw | awk '{print $2}' | xargs kill 

  1. Verify that it is okay to delete the data on the block device.
  2. SSH to the Cloudera Data Science Workbench master,worker host.
  3. Run the following script:/opt/cloudera/parcels/CDSW/scripts/teardown-docker.sh
  4. In the Cloudera Manager Admin Console, select the Cloudera Data Science Workbench service.
  5. On the Instances tab, select the Docker Daemons.
  6. Click Actions for Selected (n) > Prepare Node. (if the process does not end, stop and run again)
  7. Start the Cloudera Data Science Workbench service by clicking Actions > Start.

 

🔗 Reference : https://docs.cloudera.com/documentation/data-science-workbench/1-6-x/topics/cdsw_troubleshooting.html