<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: CDSW installation: Entries in DOCKER_BLOCK_DEVICES must only be block devices in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDSW-installation-Entries-in-DOCKER-BLOCK-DEVICES-must-only/m-p/81097#M84212</link>
    <description>&lt;P&gt;Thanks Boris for the below information. Will try the same.&lt;/P&gt;</description>
    <pubDate>Sun, 14 Oct 2018 18:17:35 GMT</pubDate>
    <dc:creator>t5</dc:creator>
    <dc:date>2018-10-14T18:17:35Z</dc:date>
    <item>
      <title>CDSW installation: Entries in DOCKER_BLOCK_DEVICES must only be block devices</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDSW-installation-Entries-in-DOCKER-BLOCK-DEVICES-must-only/m-p/80978#M84210</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a problem by adding CDS 1.4 as service on my CDH 5.14.&lt;BR /&gt;The error-message is:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ERROR:: Entries in DOCKER_BLOCK_DEVICES must only be block devices: [/dev/xvde]: 1

ERROR:: Unable to create storage for docker.: 1&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I did so far or tried out:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Added two new Hosts to my Cluster (Master and Worder for CDSW)&lt;/LI&gt;
&lt;LI&gt;Installed CDSW successfully with Cloudera Manager&lt;/LI&gt;
&lt;LI&gt;Formatted and mounted one block device to /var/lib/cdsw for the Application Block Device (CDSW Documentation Page 45)&lt;/LI&gt;
&lt;LI&gt;At this point I am not sure what to paste in during the installation for DOCKER_BLOCK_DEVICES&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Block_Device.png" style="width: 714px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4925iB6A66D4025C2B48B/image-dimensions/714x75?v=v2" width="714" height="75" role="button" title="Block_Device.png" alt="Block_Device.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I tried here severl paths without success.&lt;BR /&gt;As I understood I can choose myself here a path for instance&amp;nbsp;/dev/xvde (Example can be found on CDSW documentation page 48) and the installer will do the work (format and mount Docker on each gateway host)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Full-Log from Cloudera Manager after the installation aborts:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Mi 10. Okt 11:26:24 CEST 2018
Current working directory: /run/cloudera-scm-agent/process/2762-cdsw-CDSW_DOCKER-prepare_node
Launching one-off process: /usr/lib64/cmf/service/csd/csd.sh prepare_node true
Mi 10. Okt 11:26:24 CEST 2018
JAVA_HOME=/usr/java/jdk1.8.0_181
Using /run/cloudera-scm-agent/process/2762-cdsw-CDSW_DOCKER-prepare_node as conf dir
Using scripts/control.sh as process script
CONF_DIR=/run/cloudera-scm-agent/process/2762-cdsw-CDSW_DOCKER-prepare_node
CMF_CONF_DIR=/etc/cloudera-scm-agent
Checking if [nfs-utils.x86_64] is installed...OK
Checking if [redhat-lsb-core.x86_64] is installed...OK
Checking if [nmap-ncat.x86_64] is installed...OK
Checking if [selinux-policy-targeted.noarch] is installed...OK
Checking if [libtool-ltdl.x86_64] is installed...OK
Checking if [libcgroup.x86_64] is installed...OK
Checking if [libseccomp.x86_64] is installed...OK
Checking if [lvm2.x86_64] is installed...OK
Checking if [bridge-utils.x86_64] is installed...OK
Checking if [policycoreutils-python.x86_64] is installed...OK
Checking if [ntp.x86_64] is installed...OK
Checking if [ebtables.x86_64] is installed...OK
Checking if [bind-utils.x86_64] is installed...OK
Checking if [openssl.x86_64] is installed...OK
Checking if [e2fsprogs.x86_64] is installed...OK
Checking if [rsync.x86_64] is installed...OK
Checking if [selinux-policy.noarch] is installed...OK
Checking if [gawk.x86_64] is installed...OK
Checking if [sed.x86_64] is installed...OK
Checking if [coreutils.x86_64] is installed...OK
Checking if [util-linux.x86_64] is installed...OK
Checking if [ncurses.x86_64] is installed...OK
Checking if [socat.x86_64] is installed...OK
Setting up docker storage.

ERROR:: Entries in DOCKER_BLOCK_DEVICES must only be block devices: [/dev/xvde]: 1

ERROR:: Unable to create storage for docker.: 1
Exit code: 1&lt;/PRE&gt;
&lt;P&gt;Grateful for any help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:27:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDSW-installation-Entries-in-DOCKER-BLOCK-DEVICES-must-only/m-p/80978#M84210</guid>
      <dc:creator>Baris</dc:creator>
      <dc:date>2026-04-21T13:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: CDSW installation: Entries in DOCKER_BLOCK_DEVICES must only be block devices</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDSW-installation-Entries-in-DOCKER-BLOCK-DEVICES-must-only/m-p/81093#M84211</link>
      <description>&lt;P&gt;I could solve the problem myself. As written in the documentation you have to have a block device for Docker. This can be either a second hard drive or a file which works as a block device.&lt;/P&gt;&lt;P&gt;Since I have only one hard drive on every CDSW-Host I had to create a block device as a file.&lt;BR /&gt;Following steps might be helpful for someone:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Creating a file (300GB) out of our aivalable block device (hard drive) under /home/myBlockDevice :&lt;BR /&gt;dd if=/dev/sda of=/home/myBlockDevice bs=1M count=300000&lt;/LI&gt;&lt;LI&gt;Format file with ext4:&lt;BR /&gt;mkfs.ext4 /home/myBlockDevice&lt;/LI&gt;&lt;LI&gt;Bind file with loop device loop0:&lt;BR /&gt;losetup /dev/loop0 /home/myBlockDevice&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Do the following if you wish to bind your newely created block-device after a reboot of your host with the loop device:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;nano /etc/rc.local&lt;/LI&gt;&lt;LI&gt;Paste: losetup /dev/loop0 /home/myBlockDevice&lt;/LI&gt;&lt;LI&gt;Safe file and close&lt;/LI&gt;&lt;LI&gt;Run following comment on shell&amp;nbsp;&amp;nbsp;to ensure that the script will be executed during boot:&lt;BR /&gt;chmod +x /etc/rc.d/rc.local&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In this example the path of DOCKER_BLOCK_DEVICES during the installation of CDSW will be /dev/loop0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 18:08:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDSW-installation-Entries-in-DOCKER-BLOCK-DEVICES-must-only/m-p/81093#M84211</guid>
      <dc:creator>Baris</dc:creator>
      <dc:date>2018-10-14T18:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: CDSW installation: Entries in DOCKER_BLOCK_DEVICES must only be block devices</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDSW-installation-Entries-in-DOCKER-BLOCK-DEVICES-must-only/m-p/81097#M84212</link>
      <description>&lt;P&gt;Thanks Boris for the below information. Will try the same.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 18:17:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDSW-installation-Entries-in-DOCKER-BLOCK-DEVICES-must-only/m-p/81097#M84212</guid>
      <dc:creator>t5</dc:creator>
      <dc:date>2018-10-14T18:17:35Z</dc:date>
    </item>
  </channel>
</rss>

