AnsweredAssumed Answered

disksetup: failed - InitDisk failed Connection reset by peer.

Question asked by tpho on Jul 13, 2015
Latest reply on Jul 13, 2015 by tpho

Can someone please help. I ran the same step disksetup  in our Mapr version 3.0.1. It worked fine but I have problem in version 4.0.1. Please see  "disksetup.0.log" log below.  The o/s can access device fine. I can run 'mkfs.ext3' on /dev/sdb fine.  disks are not mounted or busy. Same error failed on all the disks listed in input file "disks.txt".

/opt/mapr/server/disksetup -F -W 1 /root/disks.txt
[root@mapr4-242 logs]# cat /root/disks.txt
/dev/sdb
/dev/sdc
/dev/sdd
/dev/sde
/dev/sdf
/dev/sdg

2015-07-13 15:33:17,580 65487 RunCmd:197 INFO UpdateUdevRules:
/bin/mv /tmp/99-mapr-disk.rules.65487 /lib/udev/rules.d/99-mapr-disk.rules
2015-07-13 15:33:17,583 65487 RunCmd:197 INFO UpdateUdevRules:
/sbin/udevadm control --reload-rules
2015-07-13 15:33:17,585 65487 RunCmd:197 INFO Change mode: chmod g+rw /dev/sdb:
chmod g+rw /dev/sdb
2015-07-13 15:33:17,587 65487 RunCmd:197 INFO Change group /dev/sdb:
chgrp mapr /dev/sdb
2015-07-13 15:33:17,589 65487 RunCmd:197 INFO Disk init /dev/sdb:
/opt/mapr/server/mrconfig -h 127.0.0.1 -p 5660  disk init  -F /dev/sdb
2015-07-13 15:33:17,600 65487 RunCmd:200 ERROR rc=104
2015-07-13 15:33:17,600 65487 RunCmd:201 ERROR 2015-07-13 15:33:17,5990 ERROR Global mrconfig.cc:204 InitDisk rpc failed Connection reset by peer.(104).
2015-07-13 15:33:17,5991 ERROR Global mrconfig.cc:3778 InitDisk failed Connection reset by peer.(104).
2015-07-13 15:33:17,600 65487 RunCmd:205 INFO Disk init /dev/sdb tried. err 104
2015-07-13 15:33:17,600 65487 InitDisk:290 INFO Disk init /dev/sdb failed.Error 104, Connection reset by peer.Disk init /dev/sdb
2015-07-13 15:33:17,601 65487 AbortWithError:192 ERROR /dev/sdb failed. Error 104, Connection reset by peer. ['  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-07-13 15:33:17,601 65487 LogCurrentInfo:957 INFO Abort Trying to capture debug info, following errors can be ignored

Outcomes