How to check the Lun ID corresponding to PV under HP-UX

Source: Internet
Author: User

Calculation of Lun numbers commonly used by HP:
For example, the name of a disk device is/dev/DSK/cxtydz.

Lun id = y * 8 + z

-----------------------------------------------------

Thousands of targets are troublesome. Because a SCSI link can only have 15 targets, the Y value of/dev/DSK/cxtydz can only be up to 15, that is to say, the maximum Lun number on a SCSI link is/dev/DSK/cxt15d7 (Lun 127). If the Lun ID exceeds 127, the value of X is increased by 1, and the Lun number is related to X.
For example, if the name of the lun0 device is/dev/DSK/c0t0d0, the name of the Lun 128 device may be/dev/DSK/c1t0d0.

-----------------------------------------------------

Use the DD command to locate the disk location:

Read-only.
The disk you read will see a flash of green light.
Dd If =/dev/rdsk/c0t0c0 of =/dev/null
Click Ctrl + C to exit.

-----------------------------------------------------

Use diskinfo/dev/DSK/cxtydz on HPUX to view the disk size

-----------------------------------------------------

 

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.