The bare device created in AIX is the logical volume in AIX for Oracle

Source: Internet
Author: User

The bare device created in AIX is the logical volume in AIX.

The creation method is as follows:

Syntax: mklv-t raw-y [lvname] [vgname] [LPs]

For example, when creating a bare device required by Oracle:

Mklv-t raw-y lv_sysaux datavg 3

Mklv-t raw-y lv_systems aux datavg 3

Mklv-t raw-y lv_ctl1 datavg 1

Mklv-t raw-y lv_ctl2 datavg 1

Mklv-t raw-y lv_redo1 datavg 1

Mklv-t raw-y lv_redo2 datavg 1

Mklv-t raw-y lv_undotbs01 datavg 3

Mklv-t raw-y lv_temp01 datavg 2

Mklv-t raw-y lv_users01 datavg2

Mklv-t raw-y lv_spfileorcl datavg 1

Mklv-t raw-y lv_pwdorcl datavg 1

# Ls-alt/dev/lv _ * The Block devices corresponding to all the logical volumes just created

# Ls-alt/dev/rlv _ * The character devices corresponding to all created logical volumes

Set all character devices to oracle: oinstall owner

# Chown oracle: oinstall/dev/rlv _*

Set the device permission to 700 for all characters

Chmod 700/dev/rlv _*

Use ls-alt/dev/rlv _ * to check whether the change is correct.

Note: There are some problems when using the above method to create a logical volume. When using such a logical volume, ORALCE skips the use of the first data block (called Offset. You can use the-t o parameter on AIX to block the offset.

Syntax: mklv-y [lvname]-t o [vgname] [PPs]

For example:

Mklv-t o-y lv_systems datavg 3

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.