11g 创建asm磁盘组
2016-09-13 15:14
295 查看
[root@Oracle11g ~]# fdisk -l
Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 261 2096451 83 Linux
/dev/sda2 262 1536 10241437+ 83 Linux
/dev/sda3 1537 2301 6144862+ 83 Linux
/dev/sda4 2302 2610 2482042+ 5 Extended
/dev/sda5 2302 2559 2072353+ 82 Linux swap / Solaris
/dev/sda6 2560 2610 409626 83 Linux
Disk /dev/sdb: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
[root@Oracle11g ~]# pvcreate
Please enter a physical volume path
Run `pvcreate --help' for more information.
[root@Oracle11g ~]# pvcreate /dev/sdb
Writing physical volume data to disk "/dev/sdb"
Physical volume "/dev/sdb" successfully created
[root@Oracle11g ~]# pvdisplay
"/dev/sdb" is a new physical volume of "3.00 GB"
--- NEW Physical volume ---
PV Name /dev/sdb
VG Name
PV Size 3.00 GB
Allocatable NO
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID WKISLs-rOSI-Vinr-wyLH-69mD-0g8Z-InzgUK
[root@Oracle11g ~]# vgcreate vg01 /dev/sdb
Volume group "vg01" successfully created
[root@Oracle11g ~]# lvcreate -L 1024m -n lv_ocr1 vg01
Logical volume "lv_ocr1" created
[root@Oracle11g ~]# lvcreate -L 1024m -n lv_vot1 vg01
Logical volume "lv_vot1" created
[root@Oracle11g ~]# lvcreate -L 1024m -n lv_data1 vg01
Volume group "vg01" has insufficient free space (255 extents): 256 required.
[root@Oracle11g ~]# lvcreate -L 1000m -n lv_data1 vg01
Logical volume "lv_data1" created
[root@Oracle11g ~]# lvdisplay
--- Logical volume ---
LV Name /dev/vg01/lv_ocr1
VG Name vg01
LV UUID kxLSK7-ILE6-R9Y5-Iii3-dPmU-rQZ8-ksWQDy
LV Write Access read/write
LV Status available
# open 0
LV Size 1.00 GB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/vg01/lv_vot1
VG Name vg01
LV UUID s6mBfk-pLXd-FUGX-MFBk-RMZW-mF0A-x70Kt7
LV Write Access read/write
LV Status available
# open 0
LV Size 1.00 GB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
--- Logical volume ---
LV Name /dev/vg01/lv_data1
VG Name vg01
LV UUID xT0bIF-2OYa-AYvv-lO7r-EgfR-q1HG-14MSZX
LV Write Access read/write
LV Status available
# open 0
LV Size 1000.00 MB
Current LE 250
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 261 2096451 83 Linux
/dev/sda2 262 1536 10241437+ 83 Linux
/dev/sda3 1537 2301 6144862+ 83 Linux
/dev/sda4 2302 2610 2482042+ 5 Extended
/dev/sda5 2302 2559 2072353+ 82 Linux swap / Solaris
/dev/sda6 2560 2610 409626 83 Linux
Disk /dev/sdb: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
[root@Oracle11g ~]# pvcreate
Please enter a physical volume path
Run `pvcreate --help' for more information.
[root@Oracle11g ~]# pvcreate /dev/sdb
Writing physical volume data to disk "/dev/sdb"
Physical volume "/dev/sdb" successfully created
[root@Oracle11g ~]# pvdisplay
"/dev/sdb" is a new physical volume of "3.00 GB"
--- NEW Physical volume ---
PV Name /dev/sdb
VG Name
PV Size 3.00 GB
Allocatable NO
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID WKISLs-rOSI-Vinr-wyLH-69mD-0g8Z-InzgUK
[root@Oracle11g ~]# vgcreate vg01 /dev/sdb
Volume group "vg01" successfully created
[root@Oracle11g ~]# lvcreate -L 1024m -n lv_ocr1 vg01
Logical volume "lv_ocr1" created
[root@Oracle11g ~]# lvcreate -L 1024m -n lv_vot1 vg01
Logical volume "lv_vot1" created
[root@Oracle11g ~]# lvcreate -L 1024m -n lv_data1 vg01
Volume group "vg01" has insufficient free space (255 extents): 256 required.
[root@Oracle11g ~]# lvcreate -L 1000m -n lv_data1 vg01
Logical volume "lv_data1" created
[root@Oracle11g ~]# lvdisplay
--- Logical volume ---
LV Name /dev/vg01/lv_ocr1
VG Name vg01
LV UUID kxLSK7-ILE6-R9Y5-Iii3-dPmU-rQZ8-ksWQDy
LV Write Access read/write
LV Status available
# open 0
LV Size 1.00 GB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/vg01/lv_vot1
VG Name vg01
LV UUID s6mBfk-pLXd-FUGX-MFBk-RMZW-mF0A-x70Kt7
LV Write Access read/write
LV Status available
# open 0
LV Size 1.00 GB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
--- Logical volume ---
LV Name /dev/vg01/lv_data1
VG Name vg01
LV UUID xT0bIF-2OYa-AYvv-lO7r-EgfR-q1HG-14MSZX
LV Write Access read/write
LV Status available
# open 0
LV Size 1000.00 MB
Current LE 250
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
相关文章推荐
- Linux 创建 Oracle 11g r2 asm磁盘出错
- Centos 6.5 X86_64 安装oracle 11g rac,采用ASMlib创建asm磁盘
- ORACLE 11G R2 dbca创建库时找不到asm磁盘
- Centos 6.5 X86_64 安装oracle 11g rac,采用ASMlib创建asm磁盘
- OCM_第十六天课程:Section7 —》GI 及 ASM 安装配置 _安装 GRID 软件/创建和管理 ASM 磁盘组/创建和管理 ASM 实例
- 如何创建ASM磁盘
- 11g RAC 更改归档模式 ,归档文件存放在ASM 磁盘组
- 11g Oracle DBCA时找不到ASM磁盘组
- 创建ASM磁盘组时报磁盘组名称冲突的错误
- Oracle下创建ASM磁盘总结
- RAC环境创建表空间,ASM磁盘组缺少”+“号引发的故障
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:4.安装Oracle RAC FAQ-4.5.安装Grid,创建ASM磁盘组空间不足
- 从11g RAC的ASM 磁盘组中剔出一块磁盘
- Oracle 11g ASM:如何在 ASMCMD 命令行工具中创建 Oracle ACFS 文件系统
- oracle rac 11g如何修改归档到ASM FRA磁盘
- 11g中添加磁盘到asm磁盘组
- 测试环境 11g上 ASM磁盘组的管理、迁移、总结 (dgbroker)
- ASM磁盘组创建Grid Infrastructure 12安装图解(一)
- UDEV模式下添加删除创建ASM磁盘
- 总结一下ASM的磁盘创建过程