IBM Support

Spectrum Protect server new instance format hangs

Troubleshooting


Problem

The dsmserv format command is used to format a new server instance but the command does not complete and hangs.

Symptom

An example of the format command follows.

/opt/tivoli/tsm/server/bin/dsmserv format dbdir=/myfs/db activelogsize=131072 activelogdir=/myfs/actlog archlogdir=/myfs/archlog archfailoverlogdir=/myfs/archlogfail mirrorlogdir=/myfs/actlogalt
ANR7800I DSMSERV generated at 11:26:10 on Aug 2 2011.
Tivoli Storage Manager for Solaris SPARC
Version 6, Release 2, Level 3.0

Licensed Materials - Property of IBM

(C) Copyright IBM Corporation 1990, 2010.
All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corporation.

ANR7801I Subsystem process ID is 26077.
ANR0900I Processing options file /disk/apps/tsmt300/home/dsmserv.opt.
ANR7814I Using instance directory /disk/apps/tsmt300/home.
ANR4726I The ICC support module has been loaded.
<hang>

Cause

The file system of the DB2 instance home directory is mounted with the "nosetuid" option.

Diagnosing The Problem

Review the DB2 db2diag.log for error messages. For example :

<timestamp> I187709A392 LEVEL: Error
PID : 5323 TID : 12 PROC : db2sysc 0
INSTANCE: tsminst1 NODE : 000
EDUID : 12 EDUNAME: db2hinit 0
FUNCTION: DB2 UDB, routine_infrastructure, sqlerAddFmpToPool, probe:40
DATA #1 : String, 30 bytes
Startup of FMP process failed.
DATA #2 : signed integer, 4 bytes
-1042

Following this, the db2diag.log shows the instance then stops immediately.
Review the mount option of the home file system used by the Tivoli Storage Manager server instance. For example :

home /myfs/home zfs rw,devices,nosetuid,nonbmand,exec,xattr,atime,dev=401001b 1313505276

In this example, the file system is mounted with the "nosetuid" option. This is the cause for the db2 instance failure on startup and the cause of the Spectrum Protect server instance format hang.

Resolving The Problem

Re-mount the file system without the "nosetuid" option and re-run the dsmserv format command.

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF027","label":"Solaris"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21509378