AnsweredAssumed Answered

Failed to format /dev/sdb | MapR Installer

Question asked by mahx on Feb 5, 2016
Latest reply on Mar 17, 2016 by trichmond

Hello, I am having issues installing MapR. I have tried on one, three, and four nodes. The installer gets to 50% and then fails with `Failed to format /dev/sdb,/dev/sdc for MapR-FS. Review /opt/mapr/logs/disksetup.0.log, address the reported issues and retry installation`

 

All the disks I want show up when I run `lsblk` and they are raw / un-formatted.

 

Log for single node:

 

 2016-02-05 12:11:52,966 6677 InitLogging:128 INFO 
    
    ***** Starting disksetup: PID 6677 *****
    
    2016-02-05 12:11:52,966 6677 <module>:1237 INFO argv: ['/opt/mapr/server/disksetup', '-W', '3', '-F', '/opt/mapr/conf/disks.txt']
    2016-02-05 12:11:52,966 6677 <module>:1238 INFO Options:
    Using stripe width 3
    Using -F force option
    
    2016-02-05 12:11:52,966 6677 SetCldbRole:993 INFO Create cid = 1 for cldb role
    2016-02-05 12:11:52,966 6677 LoadDiskTab:459 INFO No disktab file: /opt/mapr/conf/disktab
    2016-02-05 12:11:52,967 6677 LoadInputFile:480 INFO Start parsing input file: /opt/mapr/conf/disks.txt
    2016-02-05 12:11:52,967 6677 LoadInputFile:484 INFO /dev/sdb
    /dev/sdc
    
    2016-02-05 12:11:52,967 6677 LoadInputFile:509 INFO Loaded disks: 
    2016-02-05 12:11:52,967 6677 LoadInputFile:511 INFO ([], 0, ['/dev/sdb'], 1, '/dev/sdb')
    2016-02-05 12:11:52,967 6677 LoadInputFile:511 INFO ([], 0, ['/dev/sdc'], 1, '/dev/sdc')
    2016-02-05 12:11:52,967 6677 GetMfsUp:998 INFO Lookup for : /opt/mapr/conf/mapr-clusters.conf
    2016-02-05 12:11:52,967 6677 RunCmd:197 INFO mapr-mfs status:
    /etc/init.d/mapr-mfs status
    2016-02-05 12:11:53,093 6677 RunCmd:200 ERROR rc=3
    2016-02-05 12:11:53,093 6677 RunCmd:201 ERROR ä„ mapr-mfs.service
       Loaded: not-found (Reason: No such file or directory)
       Active: inactive (dead)
    2016-02-05 12:11:53,093 6677 RunCmd:205 INFO mapr-mfs status tried. err 3
    2016-02-05 12:11:53,093 6677 RunCmd:197 INFO Fileserver start:
    /etc/init.d/mapr-mfs start
    2016-02-05 12:11:53,220 6677 RunCmd:200 ERROR rc=6
    2016-02-05 12:11:53,220 6677 RunCmd:201 ERROR Reloading systemd:  [  OK  ]
    Starting mapr-mfs (via systemctl):  Failed to start mapr-mfs.service: Unit mapr-mfs.service failed to load: No such file or directory.
    [FAILED]
    2016-02-05 12:11:53,221 6677 AbortWithError:192 ERROR Error 6, No such device or address. Fileserver start['  File "/opt/mapr/server/disksetup", line 1250, in <module>\
    RunDiskSetup();\
', '  File "/opt/mapr/server/disksetup", line 1130, in RunDiskSetup\
    GetMfsUp();\
', '  File "/opt/mapr/server/disksetup", line 1010, in GetMfsUp\
    RunCmd(cmd, "Fileserver start");\
', '  File "/opt/mapr/server/disksetup", line 209, in RunCmd\
    AbortWithError(rc, msg);\
', '  File "/opt/mapr/server/disksetup", line 190, in AbortWithError\
    stack_trace = traceback.format_stack(frame)\
']
    2016-02-05 12:11:53,221 6677 LogCurrentInfo:954 INFO Abort Trying to capture debug info, following errors can be ignored 
    
    2016-02-05 12:11:53,221 6677 RunCmd:197 INFO Disk list :
    /opt/mapr/server/mrconfig -h 127.0.0.1 -p 5660  disk list 
    2016-02-05 12:11:53,234 6677 RunCmd:200 ERROR rc=1
    2016-02-05 12:11:53,234 6677 RunCmd:201 ERROR 2016-02-05 12:11:53,2329 ERROR Global mrconfig.cc:341 ListDisks rpc failed Connection reset by peer.(104).
    2016-02-05 12:11:53,2334 ERROR Global mrconfig.cc:4595 ListDisk failed Connection reset by peer.(104).
    2016-02-05 12:11:53,234 6677 RunCmd:205 INFO Disk list  tried. err 1
    2016-02-05 12:11:53,234 6677 LogCurrentInfo:959 INFO 2016-02-05 12:11:53,2329 ERROR Global mrconfig.cc:341 ListDisks rpc failed Connection reset by peer.(104).
    2016-02-05 12:11:53,2334 ERROR Global mrconfig.cc:4595 ListDisk failed Connection reset by peer.(104).
    2016-02-05 12:11:53,235 6677 RunCmd:197 INFO DiskGroup list :
    /opt/mapr/server/mrconfig -h 127.0.0.1 -p 5660  dg list 
    2016-02-05 12:11:53,246 6677 RunCmd:200 ERROR rc=1
    2016-02-05 12:11:53,246 6677 RunCmd:201 ERROR 2016-02-05 12:11:53,2443 ERROR Global mrconfig.cc:486 ListDGs rpc failed Connection reset by peer.(104).
    2016-02-05 12:11:53,2448 ERROR Global mrconfig.cc:4611 ListDiskGroups failed Connection reset by peer.(104).
    2016-02-05 12:11:53,246 6677 RunCmd:205 INFO DiskGroup list  tried. err 1
    2016-02-05 12:11:53,246 6677 LogCurrentInfo:964 INFO 2016-02-05 12:11:53,2443 ERROR Global mrconfig.cc:486 ListDGs rpc failed Connection reset by peer.(104).
    2016-02-05 12:11:53,2448 ERROR Global mrconfig.cc:4611 ListDiskGroups failed Connection reset by peer.(104).
    2016-02-05 12:11:53,246 6677 RunCmd:197 INFO sp list :
    /opt/mapr/server/mrconfig -h 127.0.0.1 -p 5660  sp list 
    2016-02-05 12:11:53,257 6677 RunCmd:200 ERROR rc=1
    2016-02-05 12:11:53,257 6677 RunCmd:201 ERROR 2016-02-05 12:11:53,2556 ERROR Global mrconfig.cc:544 ListSPs rpc failed Connection reset by peer.(104).
    2016-02-05 12:11:53,2562 ERROR Global mrconfig.cc:4645 ProcessSPList failed Connection reset by peer.(104).
    2016-02-05 12:11:53,257 6677 RunCmd:205 INFO sp list  tried. err 1
    2016-02-05 12:11:53,257 6677 LogCurrentInfo:969 INFO 2016-02-05 12:11:53,2556 ERROR Global mrconfig.cc:544 ListSPs rpc failed Connection reset by peer.(104).
    2016-02-05 12:11:53,2562 ERROR Global mrconfig.cc:4645 ProcessSPList failed Connection reset by peer.(104).
    2016-02-05 12:11:53,257 6677 LogCurrentInfo:971 INFO 
    Done capturing debug info
    
    
    2016-02-05 12:11:53,257 6677 RestoreUdevRules:691 INFO Udev restoration not required.
    2016-02-05 12:11:53,257 6677 RunCmd:197 INFO Fileserver stop:
    /etc/init.d/mapr-mfs stop
    2016-02-05 12:11:53,400 6677 RunCmd:200 ERROR rc=5
    2016-02-05 12:11:53,401 6677 RunCmd:201 ERROR Reloading systemd:  [  OK  ]
    Stopping mapr-mfs (via systemctl):  Failed to stop mapr-mfs.service: Unit mapr-mfs.service not loaded.
    [FAILED]
    2016-02-05 12:11:53,401 6677 RunCmd:205 INFO Fileserver stop tried. err 5
    2016-02-05 12:11:53,401 6677 ExitDiskSetup:160 ERROR Error 6, No such device or address. Fileserver start['  File "/opt/mapr/server/disksetup", line 1250, in <module>\
    RunDiskSetup();\
', '  File "/opt/mapr/server/disksetup", line 1130, in RunDiskSetup\
    GetMfsUp();\
', '  File "/opt/mapr/server/disksetup", line 1010, in GetMfsUp\
    RunCmd(cmd, "Fileserver start");\
', '  File "/opt/mapr/server/disksetup", line 209, in RunCmd\
    AbortWithError(rc, msg);\
', '  File "/opt/mapr/server/disksetup", line 190, in AbortWithError\
    stack_trace = traceback.format_stack(frame)\
']


   

Outcomes