What does the echo "1" to the issue_lip file do? - SCAN SCSI in Linux


Question 1:  What will happen if we issue the below command ?

# echo "1" > /sys/class/fc_host/host/issue_lip


Answer : 

    This operation performs a Loop Initialization Protocol (LIP) and then scans the interconnect and causes the SCSI layer to be updated to reflect the devices currently on the bus. A LIP is, essentially, a bus reset,  and will cause device addition and removal. This procedure is necessary to configure a new SCSI target on a Fibre Channel interconnect. Bear in mind that issue_lip is an asynchronous operation.

    The command may complete before the entire scan has completed. You must monitor /var/log/messages to determine when it is done. The lpfc and qla2xxx drivers support issue_lip


Question2 : 

What will happen if we issue the below command ? what does "- - -" mean in the command?

# echo "- - -" > /sys/class/scsi_host/host0/scan


Answer: 

It means that you are echoing a wildcard value of "channel target and lun", and the operating system will rescan the device path.



Post a Comment

3 Comments

  1. Youtube
    www.youtube.com/watch?v=avgg8k5n83U
    Sign Up Here: viadmin.com/vmware-vsphere-training.html ...

    In this video, I am going to show you what are the options that you have when it comes to VMWare Training.


    There are five ways to get VMWare trained:


    What is fist Option that you have? It's a 5 day instructor-led VMWare training.


    Online classes are live, Instructor-Led training sessions, usually from 9 to 5 - delivered online. The course diration is Five days - 3 days of which are lectures and 2 days of instructor assisted hands-on lab, and at the end of the week extra days of self managed practice. And and extra week for VMWare Practice.

    Now... what is the soluton? You need VMWare Training that is more conducive to effective learning and covers more content than the official training offered by VMWare!

    We focus on making sure you have the skills critical to get the job you want and in the same time be capable of supporting critical cloud initiatives and datacenter infrastructure.


    Our teachers are highly qualified, each with years of experience. All hold VCP and CVIA certificates. More importantly, they love teaching VMWare online and strive to make your experience as fun, enjoyable and effective as possible.

    Instead of spending thousands of dollars for the official course you will be better of to Sign up for one of our online VMWare training classes and get top quality training for a fraction of the cost.

    Now, Option #2: You can use Personal, One on One VMWare Tutoring services, they are inexpensive and a great fit for busy professionals.


    Now let's take a look at what does the "One on One VMWare Training" session look like?


    Well, you pick up the topics and we deliver the training according to your schedule! You Have a personal VMWare Trainer which will instantly speed up your learning by responding to your individual training needs and questions.


    Sounds great - isn't it...? Today - You can learn VMWare online with the help of Skype and Team Viewer and enjoy high quality training given by our trusted and certified trainers - no matter where in the world you are.

    You need to get the training, but you have to work around busy work and family schedules. Not a problem! Our teachers are available 24 x 7, Monday to Friday and over the weekends! And because each class is only one hour or less, depending on your needs, you can choose to take class 2 or 3 times a week, without significant cost.


    Option #3 VMWare Practice Lab.


    Option #4: If you are preparing yourself for one of the VMWare Exams, and you are not sure what to expect at the exam, there is an Exam preparation training to get you ready for the exam.


    Option #5: Training videos. We created hundreds of videos that you can use to quickly learn and


    Now you can learn VMWare on your own terms, where you want and how you want.


    What I believe is...VMWare vSphere Training has to be affordable, practical and comprehensive. We offer just that with our set of VMWare Training sessions, practice lab and exam preparation.

    Our VMWare Training has been Specifically Designed to develop your VMWare Administrator qualities along with your ability to deal with real-life system problems.

    So don't wait for the last moment click on the link below and sign up for VMWare Training today!

    ReplyDelete
  2. Thanks informative.

    ReplyDelete
  3. If you’re trying to access your wireless router or find out your network settings, you’re on the right page. In this guide, I’m going to show you how to find out the information that you need, from practically any device connected to your network. This includes showing you how to find you your 192.168.1.254 router ip address, as well as deciphering your device’s IP details, too.


    We Provide Complete HP Printer Setup Configuration. Our Service Starts from 123.hp.com/setup Printer unboxing, Ink cartridge Setup, Hp Printer Driver Software Download & Installation. We Support you for 123 hp com Setup Network Printer Connection which can be done by either USB or Wireless Connection. If you are facing any Issues with Hp Printer Installation Contact our Printer experts for Troubleshooting.

    ReplyDelete