---
name: "probe::scsi.set_state"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/probe::scsi.set_state"
---

# probe::scsi.set\_state(3stap)

Order SCSI device state change

## NAME

probe::scsi.set\_state - Order SCSI device state change

## SYNOPSIS

```
scsi.set_state
```

## VALUES

*dev\_id*

The scsi device id

*state\_str*

The new state of the device, as a string

*old\_state*

The current state of the device

*host\_no*

The host number

*old\_state\_str*

The current state of the device, as a string

*lun*

The lun number

*channel*

The channel number

*state*

The new state of the device

## SEE ALSO0

[*tapset::scsi*(3stap)](/tapset::scsi/3stap.md)
