Identifying the Log File Associated with a Storage Pool
To determine the log file used by a storage pool, run the following command:
/opt/mapr/server/mrconfig sp list -v
Your output should look similar to the following:
# /opt/mapr/server/mrconfig sp list -v
ListSPs resp: status 0:4
No. of SPs (4), totalsize 10052134 MB, totalfree 9601752 MB
SP 0: name SP1, Online, size 2738887 MB, free 2633109 MB, path /dev/sdb, log 200 MB,
port 5660, guid fa063ff7c670b46c00560234600bb4ab, clusterUuid
-8204760782258540048-5604586680053354274, disks /dev/sdb /dev/sdc /dev/sdd
SP 1: name SP2, Online, size 2742983 MB, free 2627137 MB, path /dev/sde, log 200 MB,
port 5660, guid 676e186c50969e23005602346303e20c, clusterUuid
-8204760782258540048-5604586680053354274, disks /dev/sde /dev/sdf /dev/sdg
SP 2: name SP3, Online, size 2742983 MB, free 2613235 MB, path /dev/sdh, log 200 MB,
port 5661, guid 2117182da4d4401200560234650aed31, clusterUuid
-8204760782258540048-5604586680053354274, disks /dev/sdh /dev/sdi /dev/sdj
SP 3: name SP4, Online, size 1827281 MB, free 1728270 MB, path /dev/sdk, log 200 MB,
port 5661, guid 9dd55ed9a1b0b5750056023468024d22, clusterUuid
-8204760782258540048-5604586680053354274, disks /dev/sdk /dev/sdl
The output above shows the following:
- Four storage pools associated with two fileserver instances running on ports 5660 and 5661.
- Port 5660 corresponds to
mfs.log-3
files and port 5661 corresponds tomfs.log.1-3
files.