Create oracle tablespace using bare devices in Linux

Source: Internet
Author: User


In Linux, a raw device is used to create an oracle tablespace. Today, a test is performed to create a tablespace in linux: 1. create logical volume: run # lvcreate-L 100 M-n vg30 vg02. bind the logical volume to the bare device as the root user: under the root user, # raw/dev/raw/raw1/dev/vg01/oradta_life3. grant the read and write permissions of bare devices to oracle users: # chown today conducted a linux tablespace creation test: 1. create logical volume: run # lvcreate-L 100 M-n vg30 vg02. bind the logical volume to the bare device as the root user: under the root user, # raw/dev/raw/raw1/dev/vg01/oradta_life 3. grant the oracle user the read and write permissions for the bare device: # chown oracle: oinstall/dev/raw/raw14. create a connection to facilitate the application of the bare device: connect to the oracle user $ ln-s/dev/raw/raw1/home/oracle/oradata/raw_test 5. create a tablespace using a bare device: SQL> create tablespace raw_test datafile '/home/oracle/oradata/raw_test' size 50 m;

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.