AnsweredAssumed Answered

disksetup fails with Failed to start mapr-mfs.service

Question asked by tonywiningham on Jan 14, 2016
Latest reply on Apr 14, 2016 by maprcommunity
I've probably done at least a hundred installs over the past couple of years but haven't come across this previously.  I did not install the OS on this box and am unsure of any OS changes.

Thanks for any insight.




    **/opt/mapr/server/disksetup -F /opt/mapr/disks.txt**
    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]
    Error 6, No such device or address. Fileserver start


    **cat /opt/mapr/disks.txt**
    /dev/sdb
    /dev/sdc
    /dev/sdd
    /dev/sde
    /dev/sdf
    /dev/sdg
    /dev/sdh
    /dev/sdi
    /dev/sdj
    /dev/sdk
    /dev/sdl
    /dev/sdm
    /dev/sdn
    /dev/sdo
    /dev/sdp
    /dev/sdq
    /dev/sdr
    /dev/sds
    /dev/sdt
    /dev/sdu
    /dev/sdv
    /dev/sdw
    /dev/sdx
    /dev/sdy


     **lsblk**
    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sda      8:0    0   1.1T  0 disk
    |-sda1   8:1    0   511M  0 part /boot/efi
    |-sda2   8:2    0  15.5G  0 part /var/tmp
    |-sda3   8:3    0    16G  0 part /var/log/audit
    |-sda4   8:4    0    32G  0 part /var/log
    |-sda5   8:5    0    64G  0 part /var
    |-sda6   8:6    0    32G  0 part /home
    `-sda7   8:7    0 957.3G  0 part /
    sdb      8:16   0   1.1T  0 disk
    sdc      8:32   0   1.1T  0 disk
    sdd      8:48   0   1.1T  0 disk
    sde      8:64   0   1.1T  0 disk
    sdf      8:80   0   1.1T  0 disk
    sdg      8:96   0   1.1T  0 disk
    sdh      8:112  0   1.1T  0 disk
    sdi      8:128  0   1.1T  0 disk
    sdj      8:144  0   1.1T  0 disk
    sdk      8:160  0   1.1T  0 disk
    sdl      8:176  0   1.1T  0 disk
    sdm      8:192  0   1.1T  0 disk
    sdn      8:208  0   1.1T  0 disk
    sdo      8:224  0   1.1T  0 disk
    sdp      8:240  0   1.1T  0 disk
    sdq     65:0    0   1.1T  0 disk
    sdr     65:16   0   1.1T  0 disk
    sds     65:32   0   1.1T  0 disk
    sdt     65:48   0   1.1T  0 disk
    sdu     65:64   0   1.1T  0 disk
    sdv     65:80   0   1.1T  0 disk
    sdw     65:96   0   1.1T  0 disk
    sdx     65:112  0   1.1T  0 disk
    sdy     65:128  0   1.1T  0 disk


 

    **cat /opt/mapr/logs/disksetup.0.log**
    2016-01-14 07:29:12,478 35502 InitLogging:128 INFO
    
     Starting disksetup: PID 35502
    
    2016-01-14 07:29:12,479 35502 <module>:1237 INFO argv: ['/opt/mapr/server/disksetup', '-F', '/opt/mapr/disks.txt']
    2016-01-14 07:29:12,479 35502 <module>:1238 INFO Options:
    Using -F force option
    
    2016-01-14 07:29:12,479 35502 SetCldbRole:993 INFO Create cid = 1 for cldb role
    2016-01-14 07:29:12,479 35502 LoadDiskTab:459 INFO No disktab file: /opt/mapr/conf/disktab
    2016-01-14 07:29:12,479 35502 LoadInputFile:480 INFO Start parsing input file: /opt/mapr/disks.txt
    2016-01-14 07:29:12,479 35502 LoadInputFile:484 INFO /dev/sdb
    /dev/sdc
    /dev/sdd
    /dev/sde
    /dev/sdf
    /dev/sdg
    /dev/sdh
    /dev/sdi
    /dev/sdj
    /dev/sdk
    /dev/sdl
    /dev/sdm
    /dev/sdn
    /dev/sdo
    /dev/sdp
    /dev/sdq
    /dev/sdr
    /dev/sds
    /dev/sdt
    /dev/sdu
    /dev/sdv
    /dev/sdw
    /dev/sdx
    /dev/sdy
    
    2016-01-14 07:29:12,479 35502 LoadInputFile:509 INFO Loaded disks:
    2016-01-14 07:29:12,479 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdb'], 1, '/dev/sdb')
    2016-01-14 07:29:12,479 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdc'], 1, '/dev/sdc')
    2016-01-14 07:29:12,480 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdd'], 1, '/dev/sdd')
    2016-01-14 07:29:12,480 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sde'], 1, '/dev/sde')
    2016-01-14 07:29:12,480 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdf'], 1, '/dev/sdf')
    2016-01-14 07:29:12,480 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdg'], 1, '/dev/sdg')
    2016-01-14 07:29:12,480 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdh'], 1, '/dev/sdh')
    2016-01-14 07:29:12,480 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdi'], 1, '/dev/sdi')
    2016-01-14 07:29:12,480 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdj'], 1, '/dev/sdj')
    2016-01-14 07:29:12,480 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdk'], 1, '/dev/sdk')
    2016-01-14 07:29:12,480 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdl'], 1, '/dev/sdl')
    2016-01-14 07:29:12,480 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdm'], 1, '/dev/sdm')
    2016-01-14 07:29:12,480 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdn'], 1, '/dev/sdn')
    2016-01-14 07:29:12,480 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdo'], 1, '/dev/sdo')
    2016-01-14 07:29:12,480 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdp'], 1, '/dev/sdp')
    2016-01-14 07:29:12,481 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdq'], 1, '/dev/sdq')
    2016-01-14 07:29:12,481 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdr'], 1, '/dev/sdr')
    2016-01-14 07:29:12,481 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sds'], 1, '/dev/sds')
    2016-01-14 07:29:12,481 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdt'], 1, '/dev/sdt')
    2016-01-14 07:29:12,481 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdu'], 1, '/dev/sdu')
    2016-01-14 07:29:12,481 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdv'], 1, '/dev/sdv')
    2016-01-14 07:29:12,481 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdw'], 1, '/dev/sdw')
    2016-01-14 07:29:12,481 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdx'], 1, '/dev/sdx')
    2016-01-14 07:29:12,481 35502 LoadInputFile:511 INFO ([], 0, ['/dev/sdy'], 1, '/dev/sdy')
    2016-01-14 07:29:12,481 35502 GetMfsUp:998 INFO Lookup for : /opt/mapr/conf/mapr-clusters.conf
    2016-01-14 07:29:12,481 35502 RunCmd:197 INFO mapr-mfs status:
    /etc/init.d/mapr-mfs status
    2016-01-14 07:29:12,623 35502 RunCmd:200 ERROR rc=3
    2016-01-14 07:29:12,623 35502 RunCmd:201 ERROR ä„ mapr-mfs.service
       Loaded: not-found (Reason: No such file or directory)
       Active: inactive (dead)
    2016-01-14 07:29:12,623 35502 RunCmd:205 INFO mapr-mfs status tried. err 3
    2016-01-14 07:29:12,623 35502 RunCmd:197 INFO Fileserver start:
    /etc/init.d/mapr-mfs start
    2016-01-14 07:29:12,775 35502 RunCmd:200 ERROR rc=6
    2016-01-14 07:29:12,776 35502 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-01-14 07:29:12,776 35502 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-01-14 07:29:12,777 35502 LogCurrentInfo:954 INFO Abort Trying to capture debug info, following errors can be ignored
    
    2016-01-14 07:29:12,777 35502 RunCmd:197 INFO Disk list :
    /opt/mapr/server/mrconfig -h 127.0.0.1 -p 5660  disk list
    2016-01-14 07:29:12,800 35502 LogCurrentInfo:959 INFO ListDisks resp: status 0 count=0
    2016-01-14 07:29:12,800 35502 RunCmd:197 INFO DiskGroup list :
    /opt/mapr/server/mrconfig -h 127.0.0.1 -p 5660  dg list
    2016-01-14 07:29:12,814 35502 LogCurrentInfo:964 INFO No. of DGs (0)
    
    2016-01-14 07:29:12,815 35502 RunCmd:197 INFO sp list :
    /opt/mapr/server/mrconfig -h 127.0.0.1 -p 5660  sp list
    2016-01-14 07:29:12,830 35502 LogCurrentInfo:969 INFO 2016-01-14 07:29:12,8299 ERROR Global mrconfig.cc:552 No SP on this disk
    
    ListSPs resp: status 0:0
    2016-01-14 07:29:12,831 35502 LogCurrentInfo:971 INFO
    Done capturing debug info
    
    
    2016-01-14 07:29:12,831 35502 RestoreUdevRules:691 INFO Udev restoration not required.
    2016-01-14 07:29:12,831 35502 RunCmd:197 INFO Fileserver stop:
    /etc/init.d/mapr-mfs stop
    2016-01-14 07:29:12,947 35502 RunCmd:200 ERROR rc=5
    2016-01-14 07:29:12,947 35502 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-01-14 07:29:12,947 35502 RunCmd:205 INFO Fileserver stop tried. err 5
    2016-01-14 07:29:12,947 35502 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)\
']


CentOS Linux release 7.1.1503 (Core)


    mapr-cldb.x86_64                     5.0.0.32987.GA-1       
    mapr-core.x86_64                     5.0.0.32987.GA-1      
    mapr-core-internal.x86_64            5.0.0.32987.GA-1            
    mapr-drill.noarch                    1.2.0.201510071035-1           
    mapr-fileserver.x86_64               5.0.0.32987.GA-1           
    mapr-gateway.x86_64                  5.0.0.32987.GA-1        
    mapr-hadoop-core.x86_64              2.7.0.32987.GA-1          
    mapr-hbase.noarch                    0.98.12.201507081709-1       
    mapr-mapreduce1.x86_64               0.20.2.32987.GA-1           
    mapr-mapreduce2.x86_64               2.7.0.32987.GA-1             
    mapr-metrics.x86_64                  5.0.0.32987.GA-1         
    mapr-nfs.x86_64                      5.0.0.32987.GA-1           
    mapr-nodemanager.x86_64              2.7.0.32987.GA-1          
    mapr-resourcemanager.x86_64          2.7.0.32987.GA-1            
    mapr-tasktracker.x86_64              5.0.0.32987.GA-1          
    mapr-zk-internal.x86_64              5.0.0.32987.GA.v3.4.5-1     
    mapr-zookeeper.x86_64                5.0.0.32987.GA-1              

Outcomes