AnsweredAssumed Answered

Failed to install Mapr: Failed to format /dev/sdb1 for MapR-FS

Question asked by wlimam on Sep 11, 2015
Latest reply on Sep 11, 2015 by leonclayton
I got the following error when trying to install MapR:

Failed to format /dev/sdb1 for MapR-FS. Review /opt/mapr/logs/disksetup.0.log, address the reported issues and retry installation

I found the following in the log file disksetup.0.log:

    2015-09-11 13:58:28,990 20058 RestoreUdevRules:691 INFO Udev restoration not required.
    2015-09-11 13:58:28,990 20058 RunCmd:197 INFO Fileserver stop:
    /etc/init.d/mapr-mfs stop
    2015-09-11 13:58:30,355 20058 ExitDiskSetup:160 ERROR /dev/sdb1 failed. Error 16, Device or resource busy. Disk is used by some other module/process.['  File "/opt/mapr/server/disksetup", line 1250, in <module>\n    RunDiskSetup();\n', '  File "/opt/mapr/server/disksetup", line 1133, in RunDiskSetup\n    InitAllDisks(force);\n', '  File "/opt/mapr/server/disksetup", line 555, in InitAllDisks\n    disk.InitDevices(forceOption);\n', '  File "/opt/mapr/server/disksetup", line 429, in InitDevices\n    InitDisk(dev, forceOption);\n', '  File "/opt/mapr/server/disksetup", line 291, in InitDisk\n    AbortWithError(rc, errMsg, devicePath);\n', '  File "/opt/mapr/server/disksetup", line 190, in AbortWithError\n    stack_trace = traceback.format_stack(frame)\n']

Has anybody an idea how to fix this issue?