호스트에서 수행
vboxmanage createmedium --filename OCR1.vdi --size 300 --format VDI --variant Fixed vboxmanage createmedium --filename OCR2.vdi --size 300 --format VDI --variant Fixed vboxmanage createmedium --filename VOTE1.vdi --size 300 --format VDI --variant Fixed vboxmanage createmedium --filename VOTE2.vdi --size 300 --format VDI --variant Fixed vboxmanage createmedium --filename VOTE3.vdi --size 300 --format VDI --variant Fixed vboxmanage createmedium --filename DATA1.vdi --size 10240 --format VDI --variant Fixed vboxmanage createmedium --filename FRA1.vdi --size 10240 --format VDI --variant Fixed
> vboxmanage createmedium --filename OCR1.vdi --size 300 --format VDI --variant Fixed 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Medium created. UUID: f874820f-3f90-44b2-bc79-09b288c07bb5 > vboxmanage createmedium --filename OCR2.vdi --size 300 --format VDI --variant Fixed 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Medium created. UUID: 58144599-f14b-4319-ae7f-7b7df7dfb329 > vboxmanage createmedium --filename VOTE1.vdi --size 300 --format VDI --variant Fixed 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Medium created. UUID: b9899f79-68b6-40f4-b718-c73635688550 > vboxmanage createmedium --filename VOTE2.vdi --size 300 --format VDI --variant Fixed 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Medium created. UUID: e2863fe6-60a5-45c7-b69c-e8673f0f22b9 > vboxmanage createmedium --filename VOTE3.vdi --size 300 --format VDI --variant Fixed 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Medium created. UUID: 42ee91fa-1126-4aa8-95d5-45db095b6cb9 > vboxmanage createmedium --filename DATA1.vdi --size 10240 --format VDI --variant Fixed 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Medium created. UUID: bdc67b80-d2ab-466a-80c7-90a1c08b3cdd > vboxmanage createmedium --filename FRA1.vdi --size 10240 --format VDI --variant Fixed 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Medium created. UUID: 561a9964-9a00-493d-b2d5-6ff628bce3be
호스트에서 수행
vboxmanage modifymedium OCR1.vdi --type shareable vboxmanage modifymedium OCR2.vdi --type shareable vboxmanage modifymedium VOTE1.vdi --type shareable vboxmanage modifymedium VOTE2.vdi --type shareable vboxmanage modifymedium VOTE3.vdi --type shareable vboxmanage modifymedium DATA1.vdi --type shareable vboxmanage modifymedium FRA1.vdi --type shareable
> vboxmanage modifymedium OCR1.vdi --type shareable > vboxmanage modifymedium OCR2.vdi --type shareable > vboxmanage modifymedium VOTE1.vdi --type shareable > vboxmanage modifymedium VOTE2.vdi --type shareable > vboxmanage modifymedium VOTE3.vdi --type shareable > vboxmanage modifymedium DATA1.vdi --type shareable > vboxmanage modifymedium FRA1.vdi --type shareable
root 유저로 수행
ls /dev/sd* cat /proc/partitions
[root@rac1 ~]# ls /dev/sd* /dev/sda /dev/sda2 /dev/sdb /dev/sdd /dev/sdf /dev/sdh /dev/sda1 /dev/sda3 /dev/sdc /dev/sde /dev/sdg [root@rac1 ~]# cat /proc/partitions major minor #blocks name 8 0 31457280 sda 8 1 104391 sda1 8 2 4192965 sda2 8 3 27157882 sda3 8 16 307200 sdb 8 32 307200 sdc 8 48 307200 sdd 8 64 307200 sde 8 80 307200 sdf 8 96 10485760 sdg 8 112 10485760 sdh
root 유저로 수행
fdisk /dev/sdb fdisk /dev/sdc fdisk /dev/sdd fdisk /dev/sde fdisk /dev/sdf fdisk /dev/sdg fdisk /dev/sdh
[root@rac1 ~]# 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): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-300, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-300, default 300): Using default value 300 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. [root@rac1 ~]# fdisk /dev/sdc 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): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-300, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-300, default 300): Using default value 300 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. [root@rac1 ~]# fdisk /dev/sdd 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): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-300, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-300, default 300): Using default value 300 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. [root@rac1 ~]# fdisk /dev/sde 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): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-300, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-300, default 300): Using default value 300 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. [root@rac1 ~]# fdisk /dev/sdf 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): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-300, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-300, default 300): Using default value 300 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. [root@rac1 ~]# fdisk /dev/sdg 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. The number of cylinders for this disk is set to 1305. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-1305, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-1305, default 1305): Using default value 1305 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. [root@rac1 ~]# fdisk /dev/sdh 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. The number of cylinders for this disk is set to 1305. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-1305, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-1305, default 1305): Using default value 1305 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks.
root 유저로 수행
ls /dev/sd* cat /proc/partitions
[root@rac1 ~]# cat /proc/partitions major minor #blocks name 8 0 31457280 sda 8 1 104391 sda1 8 2 4192965 sda2 8 3 27157882 sda3 8 16 307200 sdb 8 17 307184 sdb1 8 32 307200 sdc 8 33 307184 sdc1 8 48 307200 sdd 8 49 307184 sdd1 8 64 307200 sde 8 65 307184 sde1 8 80 307200 sdf 8 81 307184 sdf1 8 96 10485760 sdg 8 97 10482381 sdg1 8 112 10485760 sdh 8 113 10482381 sdh1
pvcreate /dev/sdg1 pvdisplay /dev/sdg1
[root@rac1 ~]# pvcreate /dev/sdg1 Physical volume "/dev/sdg1" successfully created [root@rac1 ~]# pvdisplay /dev/sdg1 "/dev/sdg1" is a new physical volume of "10.00 GB" --- NEW Physical volume --- PV Name /dev/sdg1 VG Name PV Size 10.00 GB Allocatable NO PE Size (KByte) 0 Total PE 0 Free PE 0 Allocated PE 0 PV UUID qSKPsy-qLV7-rc05-09j4-R3ff-bN6Q-g5Ensf
vgcreate dbvg /dev/sdg1 vgdisplay dbvg
[root@rac1 ~]# vgcreate dbvg /dev/sdg1 Volume group "dbvg" successfully created [root@rac1 ~]# vgdisplay dbvg --- Volume group --- VG Name dbvg System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 1 VG Access read/write VG Status resizable MAX LV 0 Cur LV 0 Open LV 0 Max PV 0 Cur PV 1 Act PV 1 VG Size 10.00 GB PE Size 4.00 MB Total PE 2559 Alloc PE / Size 0 / 0 Free PE / Size 2559 / 10.00 GB VG UUID uEIczL-Ftd1-FLmF-3cpr-QlDi-6oyB-cVvTbn
lvcreate -L 1025M -n system dbvg lvcreate -L 1025M -n sysaux dbvg lvcreate -L 1025M -n users dbvg lvcreate -L 701M -n temp dbvg lvcreate -L 1025M -n undotbs1 dbvg lvcreate -L 1025M -n undotbs2 dbvg lvcreate -L 101M -n control01 dbvg lvcreate -L 101M -n control02 dbvg lvcreate -L 201M -n redo01 dbvg lvcreate -L 201M -n redo02 dbvg lvcreate -L 201M -n redo03 dbvg lvcreate -L 201M -n redo04 dbvg lvcreate -L 201M -n redo05 dbvg lvcreate -L 201M -n redo06 dbvg lvcreate -L 201M -n redo07 dbvg lvcreate -L 201M -n redo08 dbvg lvcreate -L 201M -n redo09 dbvg lvcreate -L 201M -n redo10 dbvg lvcreate -L 201M -n redo11 dbvg lvcreate -L 201M -n redo12 dbvg lvcreate -L 201M -n spfile dbvg lvcreate -L 101M -n pwdfile dbvg
[root@rac1 ~]# lvcreate -L 1025M -n system dbvg Rounding up size to full physical extent 1.00 GB Logical volume "system" created [root@rac1 ~]# lvcreate -L 1025M -n sysaux dbvg Rounding up size to full physical extent 1.00 GB Logical volume "sysaux" created [root@rac1 ~]# lvcreate -L 1025M -n users dbvg Rounding up size to full physical extent 1.00 GB Logical volume "users" created [root@rac1 ~]# lvcreate -L 701M -n temp dbvg Rounding up size to full physical extent 704.00 MB Logical volume "temp" created [root@rac1 ~]# lvcreate -L 1025M -n undotbs1 dbvg Rounding up size to full physical extent 1.00 GB Logical volume "undotbs1" created [root@rac1 ~]# lvcreate -L 1025M -n undotbs2 dbvg Rounding up size to full physical extent 1.00 GB Logical volume "undotbs2" created [root@rac1 ~]# lvcreate -L 101M -n control01 dbvg Rounding up size to full physical extent 104.00 MB Logical volume "control01" created [root@rac1 ~]# lvcreate -L 101M -n control02 dbvg Rounding up size to full physical extent 104.00 MB Logical volume "control02" created [root@rac1 ~]# lvcreate -L 201M -n redo01 dbvg Rounding up size to full physical extent 204.00 MB Logical volume "redo01" created [root@rac1 ~]# lvcreate -L 201M -n redo02 dbvg Rounding up size to full physical extent 204.00 MB Logical volume "redo02" created [root@rac1 ~]# lvcreate -L 201M -n redo03 dbvg Rounding up size to full physical extent 204.00 MB Logical volume "redo03" created [root@rac1 ~]# lvcreate -L 201M -n redo04 dbvg Rounding up size to full physical extent 204.00 MB Logical volume "redo04" created [root@rac1 ~]# lvcreate -L 201M -n redo05 dbvg Rounding up size to full physical extent 204.00 MB Logical volume "redo05" created [root@rac1 ~]# lvcreate -L 201M -n redo06 dbvg Rounding up size to full physical extent 204.00 MB Logical volume "redo06" created [root@rac1 ~]# lvcreate -L 201M -n redo07 dbvg Rounding up size to full physical extent 204.00 MB Logical volume "redo07" created [root@rac1 ~]# lvcreate -L 201M -n redo08 dbvg Rounding up size to full physical extent 204.00 MB Logical volume "redo08" created [root@rac1 ~]# lvcreate -L 201M -n redo09 dbvg Rounding up size to full physical extent 204.00 MB Logical volume "redo09" created [root@rac1 ~]# lvcreate -L 201M -n redo10 dbvg Rounding up size to full physical extent 204.00 MB Logical volume "redo10" created [root@rac1 ~]# lvcreate -L 201M -n redo11 dbvg Rounding up size to full physical extent 204.00 MB Logical volume "redo11" created [root@rac1 ~]# lvcreate -L 201M -n redo12 dbvg Rounding up size to full physical extent 204.00 MB Logical volume "redo12" created [root@rac1 ~]# lvcreate -L 201M -n spfile dbvg Rounding up size to full physical extent 204.00 MB Logical volume "spfile" created [root@rac1 ~]# lvcreate -L 101M -n pwdfile dbvg Rounding up size to full physical extent 104.00 MB Logical volume "pwdfile" created
lvdisplay
[root@rac1 ~]# lvdisplay --- Logical volume --- LV Name /dev/dbvg/system VG Name dbvg LV UUID CdfYL9-Qe28-jblO-VT1y-aani-VO7d-3Q4Crz LV Write Access read/write LV Status available # open 0 LV Size 1.00 GB Current LE 257 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 --- Logical volume --- LV Name /dev/dbvg/sysaux VG Name dbvg LV UUID g6ZGsE-ua0m-cs3v-JvwB-xQ6K-lWRt-KkjGUZ LV Write Access read/write LV Status available # open 0 LV Size 1.00 GB Current LE 257 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:1 --- Logical volume --- LV Name /dev/dbvg/users VG Name dbvg LV UUID v8lrCh-MzMJ-1A2e-sCM6-61q8-0X1z-JpSIj9 LV Write Access read/write LV Status available # open 0 LV Size 1.00 GB Current LE 257 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:2 --- Logical volume --- LV Name /dev/dbvg/temp VG Name dbvg LV UUID yz33st-nBN9-aVZu-BSjn-IFI2-9hvY-xH05uG LV Write Access read/write LV Status available # open 0 LV Size 704.00 MB Current LE 176 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:3 --- Logical volume --- LV Name /dev/dbvg/undotbs1 VG Name dbvg LV UUID xi6YkT-nFZn-TMfo-AGvK-nnsz-gRri-Yx8w78 LV Write Access read/write LV Status available # open 0 LV Size 1.00 GB Current LE 257 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:4 --- Logical volume --- LV Name /dev/dbvg/undotbs2 VG Name dbvg LV UUID cJ6Rn9-aiWk-vcq3-vYWu-dsp0-pw2m-IscOlH LV Write Access read/write LV Status available # open 0 LV Size 1.00 GB Current LE 257 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:5 --- Logical volume --- LV Name /dev/dbvg/control01 VG Name dbvg LV UUID a01FKP-S523-1YRK-eqvs-vIEN-q5HN-7gsnt8 LV Write Access read/write LV Status available # open 0 LV Size 104.00 MB Current LE 26 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:6 --- Logical volume --- LV Name /dev/dbvg/control02 VG Name dbvg LV UUID oznBcA-Bc2P-Xf41-0wSr-0Bzh-deu2-7tvHo2 LV Write Access read/write LV Status available # open 0 LV Size 104.00 MB Current LE 26 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:7 --- Logical volume --- LV Name /dev/dbvg/redo01 VG Name dbvg LV UUID mvghmt-I9Re-z7PI-2nbj-P3NF-54xy-BIk5QN LV Write Access read/write LV Status available # open 0 LV Size 204.00 MB Current LE 51 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:8 --- Logical volume --- LV Name /dev/dbvg/redo02 VG Name dbvg LV UUID 110Ehc-s1FM-UCYc-dI9Y-XrC6-VTtd-UC02H6 LV Write Access read/write LV Status available # open 0 LV Size 204.00 MB Current LE 51 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:9 --- Logical volume --- LV Name /dev/dbvg/redo03 VG Name dbvg LV UUID PclbE3-zqSy-aP21-EPaz-Egxe-Oiap-jdEkkP LV Write Access read/write LV Status available # open 0 LV Size 204.00 MB Current LE 51 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:10 --- Logical volume --- LV Name /dev/dbvg/redo04 VG Name dbvg LV UUID 4EW3UI-1V5A-ieEQ-z0An-4Dpx-A3A6-H3LGDF LV Write Access read/write LV Status available # open 0 LV Size 204.00 MB Current LE 51 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:11 --- Logical volume --- LV Name /dev/dbvg/redo05 VG Name dbvg LV UUID nUCuh6-j0Vm-ifv0-i3HG-d5BX-tJDr-o8Quj2 LV Write Access read/write LV Status available # open 0 LV Size 204.00 MB Current LE 51 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:12 --- Logical volume --- LV Name /dev/dbvg/redo06 VG Name dbvg LV UUID fmIuaV-vQzA-YDlp-cMAz-9sHd-d6aK-QH3jai LV Write Access read/write LV Status available # open 0 LV Size 204.00 MB Current LE 51 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:13 --- Logical volume --- LV Name /dev/dbvg/redo07 VG Name dbvg LV UUID K9YlB2-LcGU-C0Dm-APEW-KzLB-xGk1-F2z38B LV Write Access read/write LV Status available # open 0 LV Size 204.00 MB Current LE 51 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:14 --- Logical volume --- LV Name /dev/dbvg/redo08 VG Name dbvg LV UUID F0GMs5-2pzs-teTX-7cZU-vh5h-Tw0O-6agZdt LV Write Access read/write LV Status available # open 0 LV Size 204.00 MB Current LE 51 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:15 --- Logical volume --- LV Name /dev/dbvg/redo09 VG Name dbvg LV UUID Z4oIj3-B6uS-pc9G-zDmi-YZfA-e3pd-AGARDm LV Write Access read/write LV Status available # open 0 LV Size 204.00 MB Current LE 51 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:16 --- Logical volume --- LV Name /dev/dbvg/redo10 VG Name dbvg LV UUID FA8P1a-qIsj-rScY-Z8Cz-uKB0-BAjK-tBipef LV Write Access read/write LV Status available # open 0 LV Size 204.00 MB Current LE 51 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:17 --- Logical volume --- LV Name /dev/dbvg/redo11 VG Name dbvg LV UUID npBeWj-cmly-Cfwx-lbRV-LTOX-xjci-lcEScG LV Write Access read/write LV Status available # open 0 LV Size 204.00 MB Current LE 51 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:18 --- Logical volume --- LV Name /dev/dbvg/redo12 VG Name dbvg LV UUID da9QfL-0fAA-uKS0-bBP7-xreE-5gDM-TfWE2V LV Write Access read/write LV Status available # open 0 LV Size 204.00 MB Current LE 51 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:19 --- Logical volume --- LV Name /dev/dbvg/spfile VG Name dbvg LV UUID cUiF1t-D86N-vRTi-tpct-fhPd-khOo-bmXTxn LV Write Access read/write LV Status available # open 0 LV Size 204.00 MB Current LE 51 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:20 --- Logical volume --- LV Name /dev/dbvg/pwdfile VG Name dbvg LV UUID 9D21AC-Wzrh-F2G0-2wBA-Xrnw-v9rT-E4GN0z LV Write Access read/write LV Status available # open 0 LV Size 104.00 MB Current LE 26 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:21
vi /etc/sysconfig/rawdevices
raw /dev/raw/raw1 /dev/sdb1 raw /dev/raw/raw2 /dev/sdc1 raw /dev/raw/raw3 /dev/sdd1 raw /dev/raw/raw4 /dev/sde1 raw /dev/raw/raw5 /dev/sdf1 raw /dev/raw/raw6 /dev/dbvg/system raw /dev/raw/raw7 /dev/dbvg/sysaux raw /dev/raw/raw8 /dev/dbvg/users raw /dev/raw/raw9 /dev/dbvg/temp raw /dev/raw/raw10 /dev/dbvg/undotbs1 raw /dev/raw/raw11 /dev/dbvg/undotbs2 raw /dev/raw/raw12 /dev/dbvg/control01 raw /dev/raw/raw13 /dev/dbvg/control02 raw /dev/raw/raw14 /dev/dbvg/redo01 raw /dev/raw/raw15 /dev/dbvg/redo02 raw /dev/raw/raw16 /dev/dbvg/redo03 raw /dev/raw/raw17 /dev/dbvg/redo04 raw /dev/raw/raw18 /dev/dbvg/redo05 raw /dev/raw/raw19 /dev/dbvg/redo06 raw /dev/raw/raw20 /dev/dbvg/redo07 raw /dev/raw/raw21 /dev/dbvg/redo08 raw /dev/raw/raw22 /dev/dbvg/redo09 raw /dev/raw/raw23 /dev/dbvg/redo10 raw /dev/raw/raw24 /dev/dbvg/redo11 raw /dev/raw/raw25 /dev/dbvg/redo12 raw /dev/raw/raw26 /dev/dbvg/spfile raw /dev/raw/raw27 /dev/dbvg/pwdfile
root 유저로 실행
service rawdevices restart
[root@rac1 ~]# service rawdevices restart Assigning devices: /dev/raw/raw1 --> /dev/sdb1 /dev/raw/raw1: bound to major 8, minor 17 /dev/raw/raw2 --> /dev/sdc1 /dev/raw/raw2: bound to major 8, minor 33 /dev/raw/raw3 --> /dev/sdd1 /dev/raw/raw3: bound to major 8, minor 49 /dev/raw/raw4 --> /dev/sde1 /dev/raw/raw4: bound to major 8, minor 65 /dev/raw/raw5 --> /dev/sdf1 /dev/raw/raw5: bound to major 8, minor 81 /dev/raw/raw6 --> /dev/sdg1 /dev/raw/raw6: bound to major 8, minor 97 /dev/raw/raw7 --> /dev/sdh1 done
vi /etc/udev/permissions.d/50-udev.permissions
:113 => 113번 줄로 이동 #raw/*:root:disk:0660 => 주석 처리 raw/*:oracle:dba:0660 => 밑 줄에 추가
#raw/*:root:disk:0660 raw/*:oracle:dba:0660
root 유저로 수행
cd /dev/raw ls -ltra
[root@rac1 ~]# cd /dev/raw [root@rac1 raw]# ls -ltra 합계 0 crw-rw---- 1 oracle dba 162, 1 8월 22 11:52 raw1 crw-rw---- 1 oracle dba 162, 2 8월 22 11:52 raw2 crw-rw---- 1 oracle dba 162, 3 8월 22 11:52 raw3 crw-rw---- 1 oracle dba 162, 4 8월 22 11:52 raw4 crw-rw---- 1 oracle dba 162, 5 8월 22 11:52 raw5 crw-rw---- 1 oracle dba 162, 6 8월 22 11:52 raw6 crw-rw---- 1 oracle dba 162, 7 8월 22 11:52 raw7 drwxr-xr-x 2 root root 220 8월 22 11:52 . drwxr-xr-x 10 root root 6200 8월 22 11:52 ..
{}