Install the lsscsi package on the rhel6.3 x86-64 system, rhel6.3lsscsi

Source: Internet
Author: User

Install the lsscsi package on the rhel6.3 x86-64 system, rhel6.3lsscsi

This article is the original article, reproduced please indicate the source: http://blog.csdn.net/msdnchina/article/details/43637889

Lsscsi packages are not installed by default. After the lsscsi package is installed, the lsscsi command can be used.

Lsscsi commands (lsscsi-t) can easily identify which are SSD, SATA, and FC disks.

For detailed instructions on lsscsi commands, see: http://blog.csdn.net/msdnchina/article/details/43638857

[Root @ rhel63single media] # yum list | grep lsscsiUnable to read consumer identitylsscsi. x86_64 0.23-2. el6 rhel-source [root @ rhel63single media] # yum list | grep iscsiUnable to read consumer identityiscsi-initiator-utils.x86_64 6.2.0.872-41. el6 rhel-source [root @ rhel63single media] # yum install iscsi * Loaded plugins: product-id, refresh-packagekit, security, sub‑managerupdating certificate-B Ased repositories. unable to read consumer identitySetting up Install ProcessResolving Dependencies --> Running transaction check ---> Package iscsi-initiator-utils.x86_64 0: 6. 2.0.872-41. el6 will be installed --> Finished Dependency ResolutionDependencies Resolved ====================== ========================================================== ========================================================== ==================================== ========================== Package Arch Version Repository Size ======== ========================================================== ========================================================== ========================================================== ========================================================== = Installing: iscsi-initiator-utils x86_64 6.2.0.872-41. el6 rhel-source 654 kTransaction Summary ================================ ========================================================== ========================================================== ========================================================== ================== Install 1 Package (s) total download size: 654 kInstalled size: 2.2 MIs this OK [y/N]: yDownloading Packages: Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning Transaction Installing: iscsi-initiator-utils-6.2.0.872-41.el6.x86_64 1/1 Installed products updated. verifying: is Csi-initiator-utils-6.2.0.872-41.el6.x86_64 1/1 Installed: iscsi-initiator-utils.x86_64 0: 6. 2.0.872-41. el6 Complete! [Root @ rhel63single media] # lsscsi-bash: lsscsi: command not found [root @ rhel63single media] # which lsscsi/usr/bin/which: no lsscsi in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin: /usr/bin:/root/bin) ---> I guess the lsscsi command can be seen after the iscsi package is installed. In fact, this is not the case from the above output. [Root @ rhel63single media] # yum install lsscsi * Loaded plugins: product-id, refresh-packagekit, security, sub‑managerupdating certificate-based repositories. unable to read consumer identitySetting up Install ProcessResolving Dependencies --> Running transaction check ---> Package lsscsi. x86_64 0: 0. 23-2.el6 will be installed --> Finished Dependency ResolutionDependencies Resolved ================ ========================================================== ========================================================== ========================================================== ================================ Package Arch Version Repository Size ==== ========================================================== ========================================================== ========================================================== ========================================================== ===== Installing: lsscsi x86_64 0.23-2. el6 rhel-s Ource 38 kTransaction Summary ====================================== ========================================================== ========================================================== ========================================================== ============== Install 1 Package (s) total download size: 38 kInstalled size: 75 kIs this OK [y/N]: yDownloading Packages: Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning Transaction Insta Lling: 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. 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/s Db state = running queue_depth = 32 scsi_level = 3 type = 0 device_blocked = 0 timeout = 30 ---> check the output above.
[root@rhel63single media]# uname -aLinux 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 -r2.6.32-279.el6.x86_64[root@rhel63single media]# 


 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.