---
name: "sdrmend"
section: "1"
platform: "linux"
package: "ion"
version: "3.2.1+dfsg-1.1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/sdrmend"
---

# sdrmend(1)

SDR corruption repair utility

## NAME

sdrmend - SDR corruption repair utility

## SYNOPSIS

**sdrmend** *sdr\_name* *config\_flags* *heap\_words* *heap\_key* *path\_name* \[*restartCmd* *restartLatency*\]

## DESCRIPTION

The **sdrmend** program simply invokes the *sdr\_reload\_profile()* function (see [*sdr*(3)](/sdr/3.md)) to effect necessary repairs in a potentially corrupt SDR, e.g., due to the demise of a program that had an SDR transaction in progress at the moment it crashed.

Note that **sdrmend** need not be run to repair ION's data store in the event of a hardware reboot: restarting ION will automatically reload the data store's profile.  **sdrmend** is needed only when it is desired to repair the data store without requiring all ION software to terminate and restart.

## EXIT STATUS

- "0"

  **sdrmend** has terminated successfully.

- "1"

  **sdrmend** has terminated unsuccessfully.  See diagnostic messages in the **ion.log** log file for details.

## FILES

No configuration files are needed.

## ENVIRONMENT

No environment variables apply.

## DIAGNOSTICS

The following diagnostics may be issued to the **ion.log** log file:

- Can't initialize the SDR system.

  Probable operations error: ION appears not to be initialized, in which case there is no point in running **sdrmend**.

- Can't reload profile for SDR.

  ION system error.  See earlier diagnostic messages posted to **ion.log** for details.  In this event it is unlikely that **sdrmend** can be run successfully, and it is also unlikely that it would have any effect if it did run successfully.

## BUGS

Report bugs to \<ion-bugs@korgano.eecs.ohiou.edu\>

## SEE ALSO

[*sdr*(3)](/sdr/3.md), [*ionadmin*(1)](/ionadmin/1.md)
