Build the LinuxOracle10gASM environment using vmwarevm

Source: Internet
Author: User
The vmwarevm builds the LinuxOracle10gASM environment, and the ASM instance has been started. At this time, we can use DBCA to create a database.

The vmwarevm builds the Linux Oracle 10g ASM environment, and the ASM instance has been started. At this time, we can use DBCA to create a database. The only thing we need to note is

1. Add a new disk for partitioning

Here we divide the new disk into three parts:/dev/sdb1,/dev/sdb2,/dev/sdb3

[Root @ ocp db10g] # fdisk/dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
Until you decide to write them. After that, of course, the previous
Content won't be recoverable.


Warning: invalid flag 0x0000 of partition table 4 will be corrected by w (rite)


Command (m for help): p


Disk/dev/sdb: 6442 MB, 6442450944 bytes
255 heads, 63 sectors/track, 783 cylinders
Units = cylinders of 16065*512 = 8225280 bytes


Device Boot Start End Blocks Id System


Command (m for help): n
Command action
E extended
P primary partition (1-4)
P
Partition number (1-4): 1
First cylinder (1-783, default 1): 1
Last cylinder or + size or + sizeM or + sizeK (1-783, default 783): + 2G


Command (m for help): p


Disk/dev/sdb: 6442 MB, 6442450944 bytes
255 heads, 63 sectors/track, 783 cylinders
Units = cylinders of 16065*512 = 8225280 bytes


Device Boot Start End Blocks Id System
/Dev/sdb1 1 244 1959898 + 83 Linux


Command (m for help): n
Command action
E extended
P primary partition (1-4)
P
Partition number (1-4): 2
First cylinder (245-783, default 245 ):
Using default value 245
Last cylinder or + size or + sizeM or + sizeK (245-783, default 783): + 2g


Command (m for help): p


Disk/dev/sdb: 6442 MB, 6442450944 bytes
255 heads, 63 sectors/track, 783 cylinders
Units = cylinders of 16065*512 = 8225280 bytes


Device Boot Start End Blocks Id System
/Dev/sdb1 1 244 1959898 + 83 Linux
/Dev/sdb2 245 488 1959930 83 Linux


Command (m for help): n
Command action
E extended
P primary partition (1-4)
P
Partition number (1-4): 3
First cylinder (489-783, default 489 ):
Using default value 489
Last cylinder or + size or + sizeM or + sizeK (489-783, default 783 ):
Using default value 783


Command (m for help): p


Disk/dev/sdb: 6442 MB, 6442450944 bytes
255 heads, 63 sectors/track, 783 cylinders
Units = cylinders of 16065*512 = 8225280 bytes


Device Boot Start End Blocks Id System
/Dev/sdb1 1 244 1959898 + 83 Linux
/Dev/sdb2 245 488 1959930 83 Linux
/Dev/sdb3 489 783 2369587 + 83 Linux


Command (m for help): w
The partition table has been altered!


Calling ioctl () to re-read partition table.
Syncing disks.

,

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.