AnsweredAssumed Answered

disksetup Error Message: Error 3, No such process. Unable to reach mfs. Check for errors in mfs.log

Question asked by qorbani on Aug 12, 2013
Latest reply on Aug 12, 2013 by Ted Dunning
I installed MapR on VMWare Fusion with 4GB Ram and 40GB Storage using CentOS 6.4 (x64). For storage, since I'm using this single-node MapR M3 as development machine, I used file-based storage:

    $ dd if=/dev/zero of=/root/storagefile bs=1G count=20
    $ echo "/root/storagefile" > /tmp/disks.txt

Then I use following command for setup disk:

    $ /opt/mapr/server/disksetup -F /tmp/disks.txt

Here is my error message:

    Error 3, No such process. Unable to reach mfs. Check for errors in mfs.log.

My mapfs.log:

    ******* Starting mfs server *******
    *** mfs mapr-version: 2.1.3.19871.GA ***
    2013-08-12 20:40:00,6492 ERROR  mapfs.cc:504 x.x.0.0:0 Open hostname file /opt/mapr//hostname failed: No such file or directory (2)
    2013-08-12 20:40:00,6493 ERROR  mapfs.cc:830 x.x.0.0:0 GetHostNameAndNodeId failed -1

My disksetup.0.log

    2013-08-12 20:34:14,897 3045 InitLogging:120 INFO
    ***** Starting disksetup: PID 3045 *****
    2013-08-12 20:34:14,897 3045 <module>:1166 INFO argv: ['/opt/mapr/server/disksetup', '-F', '/tmp/disks.txt']
    2013-08-12 20:34:14,897 3045 <module>:1167 INFO Options:
    Using -F force option
    2013-08-12 20:34:14,897 3045 SetCldbRole:925 INFO Create cid = 1 for cldb role
    2013-08-12 20:34:14,897 3045 LoadDiskTab:433 INFO No disktab file: /opt/mapr/conf/disktab
    2013-08-12 20:34:14,897 3045 LoadInputFile:454 INFO Start parsing input file: /tmp/disks.txt
    2013-08-12 20:34:14,897 3045 LoadInputFile:458 INFO /root/storagefile
    2013-08-12 20:34:14,898 3045 LoadInputFile:483 INFO Loaded disks:
    2013-08-12 20:34:14,898 3045 LoadInputFile:485 INFO ([], 0, ['/root/storagefile'], 1, '/root/storagefile')
    2013-08-12 20:34:14,898 3045 GetMfsUp:930 INFO Lookup for : /opt/mapr/conf/mapr-clusters.conf
    2013-08-12 20:34:14,898 3045 RunCmd:180 INFO mapr-mfs status:
    /etc/init.d/mapr-mfs status
    2013-08-12 20:34:14,922 3045 RunCmd:183 ERROR rc=3
    2013-08-12 20:34:14,922 3045 RunCmd:184 ERROR mfs is stopped
    2013-08-12 20:34:14,922 3045 RunCmd:188 INFO mapr-mfs status tried. err 3
    2013-08-12 20:34:14,922 3045 RunCmd:180 INFO Fileserver start:
    /etc/init.d/mapr-mfs start
    2013-08-12 20:34:15,011 3045 RunCmd:180 INFO Disk list :
    /opt/mapr/server/mrconfig -h 127.0.0.1 -p 5660  disk list
    2013-08-12 20:34:15,014 3045 RunCmd:183 ERROR rc=1
    2013-08-12 20:34:15,014 3045 RunCmd:184 ERROR 2013-08-12 20:34:15,0142 ERROR Global mrconfig.cc:330 x.x.0.0:0 ListDisks rpc failed Connection reset by peer.(104).
    2013-08-12 20:34:15,0142 ERROR Global mrconfig.cc:3111 x.x.0.0:0 ListDisk failed Connection reset by peer.(104).
    2013-08-12 20:34:15,014 3045 RunCmd:188 INFO Disk list  tried. err 1
    2013-08-12 20:34:15,014 3045 GetMfsUp:950 INFO
    0. WaitForMfs disk list error 0

I would appreciate if anyone can help me resolve this issue!

Outcomes