========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
lsscsi x86_64 0.23-2.el6 rhel-source 38 k
Transaction Summary
========================================================================================================================================================================
Install 1 Package(s)
Total download size: 38 k
Installed size: 75 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : lsscsi-0.23-2.el6.x86_64 1/1
Installed products updated.
Verifying : lsscsi-0.23-2.el6.x86_64 1/1
Installed:
lsscsi.x86_64 0:0.23-2.el6
Complete!
[root@rhel63single media]# which lsscsi
/usr/bin/lsscsi
[root@rhel63single media]# lsscsi -l
[1:0:0:0] cd/dvd NECVMWar VMware IDE CDR10 1.00 /dev/sr0
state=running queue_depth=1 scsi_level=6 type=5 device_blocked=0 timeout=30
[2:0:0:0] disk VMware, VMware Virtual S 1.0 /dev/sda
state=running queue_depth=32 scsi_level=3 type=0 device_blocked=0 timeout=30
[2:0:1:0] disk VMware, VMware Virtual S 1.0 /dev/sdb
state=running queue_depth=32 scsi_level=3 type=0 device_blocked=0 timeout=30
--->注意看上面的输出。
[root@rhel63single media]# uname -a
Linux rhel63single 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@rhel63single media]# uname -r
2.6.32-279.el6.x86_64
[root@rhel63single media]#