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

Source: Internet
Author: User

A bare device created in Aix is a logical volume in Aix



The creation method is as follows:


Syntax: Mklv-t raw-y [Lvname] [vgname] [LPs]


For example, to create 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_* will find the block device corresponding to all the logical volumes just created


# ls-alt/dev/rlv_* will find the character device corresponding to all the logical volumes just created


Set all character devices as Oracle:oinstall owners


# chown Oracle:oinstall/dev/rlv_*


Set all character device permissions to 700


chmod 700/dev/rlv_*


Use ls-alt/dev/rlv_* to see if the changes are correct.


Note: There are some problems with creating a logical volume using the above method, which will skip the first block of data (called offset) when using such a logical volume Oralce. You can use the-t o parameter to mask offsets on AIX.


Syntax: mklv-y [lvname]-T O [vgname] [PPs]


For example:


Mklv-t o-y Lv_systems Datavg 3




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

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.