IBM Support

Linux backup-archive client does not backup root file system

Troubleshooting


Problem

A scheduled incremental backup is run with the Linux backup-archive client. The file systems are properly backed up except for the root (/) file system, which is not backed up at all.

Symptom

The client schedule log (dsmsched.log) shows the following :


<timestamp> --- SCHEDULEREC OBJECT BEGIN SCHEDULE-NAME <timestamp>
<timestamp> Incremental backup of volume '/fs1'
<timestamp> Incremental backup of volume '/fs2'
<timestamp> Successful incremental backup of '/fs1'
<timestamp> Successful incremental backup of '/fs2'

The output shows that the root (/) file system is not processed.

Diagnosing The Problem

Run the "QUERY FI" backup-archive client command and review the "Last Incr Date" field. In this case, it shows the file system was not backed up recently.
Run the Linux "mount" command and review the types of the file systems. For example :

/dev/mapper/system-root on / type auto (rw,acl,user_xattr)
/dev/sda1 on /fs1 type ext3 (rw,acl,user_xattr)
/dev/mapper/client_fs_lv on /fs2 type ext3 (rw)

In this case, it shows that /fs1 and /fs2 are local file systems but the root (/) file system is automounted.

Review the DOMAIN option in the dsm.opt and dsm.sys files used with the backup-archive client. In this case the default "DOMAIN ALL-LOCAL" option was used.

The "DOMAIN ALL-LOCAL" option causes the client to back up all local file systems except LOFS file systems and LOFS through automounter. Because the root (/) file system is automounted, it is not processed by the backup-archive client.

Resolving The Problem

To allow the backup-archive client to back up this automounted root (/) file system, change the client domain option to one of the following values :

  • DOMAIN ALL-LOCAL /
  • DOMAIN ALL-AUTO-LOFS
After modifying the client dsm.opt and dsm.sys files to change the domain option, stop and restart the backup-archive client scheduler daemon so that the option change is in effect.

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

Document Information

Modified date:
17 June 2018

UID

swg21973002