Issue


Incremental backups fail with the following error:

Running: tgtadm --op show --mode target | grep Target | awk '{print $2}' | sed 's/://g'
tgtadm: can't send the request to the tgt daemon, Transport endpoint is not connected
CODE
Running: tgtadm --lld iscsi --mode target --op new --tid 1 --targetname iqn.2014-02-06:onapp.com:backup-qtoitl6ry8uj28
tgtadm: can't send the request to the tgt daemon, Transport endpoint is not connected
CODE


Resolution


This error appears when the tgtd daemon is not running. To check it, do the following:

  1. SSH into the compute resource.
  2. Run the command:

    # ps -ef|grep tgtd
    CODE
  3. If the output you receive differs from the output provided below, it means that the daemon is not running:

    root 12282 1 0 20:34 ? 00:00:00 tgtd
    CODE

    To correct it, run the following command:

    # /etc/init.d/tgtd start
    CODE
    Starting SCSI target daemon: Starting target framework daemon
    CODE
  4. Run the following command again to test and make sure it is working correctly:

    # ps -ef|grep tgtd
    CODE
  5. Try running the incremental backup again.


Cause


The tgtd daemon was not started when incremental backups were enabled.