Anchor | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Table of Contents
Table of Contents | ||
---|---|---|
|
General description
This section describes how to find proper "/dev/sg" device for CHARON mapping
Procedures of finding the target "/dev/sg" device
Method 1
Open a terminal console and issue:
...
If the "lsscsi
" command is not installed on your system, use "yum install lsscsi
" to make it available. If you cannot install "lsscsi
", use method 2 or method 3 described below.
Output example1:
|
|
|
|
|
|
|
|
|
|
Output example2:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Include Page | ||||
---|---|---|---|---|
|
Div | ||
---|---|---|
| ||
Method 2
Open a terminal console and issue:
# cat /proc/scsi/sg/device_hdr; cat /proc/scsi/sg/devices |
Output example:
|
The fifth column ("type") value has the following correspondence:
Value | Device |
---|---|
0 | Disk |
1 | Tape |
5 | CD-ROM |
8 | Tape changer |
...
Include Page | ||||
---|---|---|---|---|
|
...
Method 3
On a freshly booted system, issue the following command:
# dmesg | grep sg |
The output will look like that:
|
This table lists all the devices, not only the real SCSI ones (SATA/IDE for example). CHARON supports only real SCSI devices.
...