Developers Guide

Useful tools
53 Dell EMC SC Series with Red Hat Enterprise Linux 7x | CML1071
5.4 The dmesg command
The dmesg command is useful for discovering which device names are assigned to recently discovered
volumes. The following output demonstrates the discovery and assignment of a new SC Series volume to the
/dev/sdh device file.
# dmesg
[snip]
[1203830.267568] scsi 4:0:0:1: Direct-Access COMPELNT Compellent Vol 0605
PQ: 0 ANSI: 5
[1203830.267996] sd 4:0:0:1: Attached scsi generic sg8 type 0
[1203830.268089] sd 4:0:0:1: [sdh] 20971520 512-byte logical blocks: (10.7
GB/10.0 GiB)
[1203830.268093] sd 4:0:0:1: [sdh] 4096-byte physical blocks
[1203830.268847] sd 4:0:0:1: [sdh] Write Protect is off
[1203830.268858] sd 4:0:0:1: [sdh] Mode Sense: 8f 00 00 08
[1203830.269033] sd 4:0:0:1: [sdh] Write cache: disabled, read cache: enabled,
doesn't support DPO or FUA
[snip]
5.5 The /proc/scsi/scsi file
The /proc/scsi/scsi file can provide additional detail about volumes and targets on a Linux host.
# cat /proc/scsi/scsi
Attached devices:
[snip]
Host: scsi1 Channel: 00 Id: 00 Lun: 01
Vendor: COMPELNT Model: Compellent Vol Rev: 0605
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 02 Lun: 01
Vendor: COMPELNT Model: Compellent Vol Rev: 0605
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 03 Lun: 01
Vendor: COMPELNT Model: Compellent Vol Rev: 0605
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 03 Lun: 02
Vendor: COMPELNT Model: Compellent Vol Rev: 0605
Type: Direct-Access ANSI SCSI revision: 05
[snip]