How to identify new Luns without restarting Linux

Source: Internet
Author: User
In Linux, how to identify the new LUN-Linux Enterprise Application-Linux server application without restarting is described below. Some Linux database servers use low-end storage. Due to service changes, some Luns are required. Must I restart a Linux server after adding a LUN? Sometimes the storage vendor engineers also say this, but this seems to be a piece of information that has been misunderstood.

I learned from my storage-intensive colleagues that using the QLogic FC HBA LUN Scan Utility script can identify newly added Luns without restarting the system. You do not need to re-Load the QLogic FC driver.

Scenario: Linux Server + QLogic HBA card. Take the Qla2340 HBA card of QLogic as an example. Download the script (by the way, the QLogic fc hba Information Utility on this page is also useful ). Then let's take a look at the script description file.

The simplest method is to run:

#./Ql-dynamic-tgt-lun-disc.sh

The script prompts you to run it without active IO. In fact, the problem is not big. Then confirm that the OS recognizes the new device:

# Fdisk-l

If the system has PowerPath, run the following command:

# Powermt config

OK. You don't have to apply for downtime maintenance from your boss.

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.