AnsweredAssumed Answered

InitDisk failed Device or resource busy.(16).

Question asked by npaneru on May 6, 2015
2015-05-06 10:46:17,524 19858 RunCmd:197 INFO UpdateUdevRules:
/bin/mv /tmp/99-mapr-disk.rules.19858 /lib/udev/rules.d/99-mapr-disk.rules
2015-05-06 10:46:17,528 19858 RunCmd:197 INFO UpdateUdevRules:
/sbin/udevadm control --reload-rules
2015-05-06 10:46:17,617 19858 RunCmd:197 INFO Change mode: chmod g+rw /dev/sda3:
chmod g+rw /dev/sda3
2015-05-06 10:46:17,651 19858 RunCmd:197 INFO Change group /dev/sda3:
chgrp mapr /dev/sda3
2015-05-06 10:46:17,668 19858 RunCmd:197 INFO Disk init /dev/sda3:
/opt/mapr/server/mrconfig -h 127.0.0.1 -p 5660  disk init  -F /dev/sda3
2015-05-06 10:46:17,699 19858 RunCmd:200 ERROR rc=16
2015-05-06 10:46:17,699 19858 RunCmd:201 ERROR 2015-05-06 10:46:17,6966 ERROR Global mrconfig.cc:4047 InitDisk failed Device or resource busy.(16).
2015-05-06 10:46:17,700 19858 RunCmd:205 INFO Disk init /dev/sda3 tried. err 16
2015-05-06 10:46:17,700 19858 InitDisk:290 INFO Disk init /dev/sda3 failed.Disk init /dev/sda3
2015-05-06 10:46:17,703 19858 AbortWithError:192 ERROR /dev/sda3 failed. Error 16, Device or resource busy. Disk is used by some other module/process.['  File "/opt/mapr/server/disksetup", line 1253, in \n    RunDiskSetup();\n', '  File "/opt/mapr/server/disksetup", line 1136, 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']
2015-05-06 10:46:17,703 19858 LogCurrentInfo:957 INFO Abort Trying to capture debug info, following errors can be ignored

2015-05-06 10:46:17,703 19858 RunCmd:197 INFO Disk list :
/opt/mapr/server/mrconfig -h 127.0.0.1 -p 5660  disk list
2015-05-06 10:46:17,715 19858 LogCurrentInfo:962 INFO ListDisks resp: status 0 count=0
2015-05-06 10:46:17,715 19858 RunCmd:197 INFO DiskGroup list :
/opt/mapr/server/mrconfig -h 127.0.0.1 -p 5660  dg list
2015-05-06 10:46:17,725 19858 LogCurrentInfo:967 INFO No. of DGs (0)

2015-05-06 10:46:17,725 19858 RunCmd:197 INFO sp list :
/opt/mapr/server/mrconfig -h 127.0.0.1 -p 5660  sp list
2015-05-06 10:46:17,734 19858 LogCurrentInfo:972 INFO 2015-05-06 10:46:17,7330 ERROR Global mrconfig.cc:545 No SP on this disk

ListSPs resp: status 0:0
2015-05-06 10:46:17,735 19858 LogCurrentInfo:974 INFO
Done capturing debug info


2015-05-06 10:46:17,735 19858 RestoreUdevRules:694 INFO Udev restoration not required.
2015-05-06 10:46:17,735 19858 RunCmd:197 INFO Fileserver stop:
/etc/init.d/mapr-mfs stop
2015-05-06 10:46:18,932 19858 ExitDiskSetup:160 ERROR /dev/sda3 failed. Error 16, Device or resource busy. Disk is used by some other module/process.['  File "/opt/mapr/server/disksetup", line 1253, in \n    RunDiskSetup();\n', '  File "/opt/mapr/server/disksetup", line 1136, 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']

Outcomes