hi
Disk partitions are:
linux-w0sv:~/Desktop # fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: invalid flag 0x4884 of partition table 5 will be corrected by w(rite)
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00f143a7
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 3917 31353856 7 HPFS/NTFS
/dev/sda3 3917 6528 20971520 7 HPFS/NTFS
/dev/sda4 6529 19457 103852192+ f W95 Ext'd (LBA)
/dev/sda5 ? 94261 197843 832026090+ fb VMware VMFS
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0c430c43
Device Boot Start End Blocks Id System
Disk /dev/dm-0: 160.0 GB, 160047300608 bytes
254 heads, 63 sectors/track, 19534 cylinders
Units = cylinders of 16002 * 512 = 8193024 bytes
Disk identifier: 0x00f143a7
Device Boot Start End Blocks Id System
/dev/dm-0p1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/dm-0p2 13 3932 31353856 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/dm-0p3 3932 6553 20971520 7 HPFS/NTFS
Partition 3 does not end on cylinder boundary.
/dev/dm-0p4 6554 19534 103852192+ f W95 Ext'd (LBA)
Partition 4 does not end on cylinder boundary.
/dev/dm-0p5 6554 10486 31455238+ 83 Linux
/dev/dm-0p6 10486 10498 96358+ 83 Linux
/dev/dm-0p7 10498 11022 4192933+ 82 Linux swap / Solaris
/dev/dm-0p8 11022 12332 10482381 fd Linux raid autodetect
/dev/dm-0p9 12332 13642 10482381 fd Linux raid autodetect
/dev/dm-0p10 13642 14952 10482381 fd Linux raid autodetect
/dev/dm-0p11 14952 16262 10482381 fd Linux raid autodetect
Disk /dev/dm-1: 104 MB, 104857600 bytes
255 heads, 63 sectors/track, 12 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6e697373
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/dm-1p1 ? 120528 234814 918008208 4f QNX4.x 3rd part
Partition 1 does not end on cylinder boundary.
/dev/dm-1p2 ? 119381 153271 272218546+ 73 Unknown
Partition 2 does not end on cylinder boundary.
/dev/dm-1p3 ? 113202 147075 272087568 2b Unknown
Partition 3 does not end on cylinder boundary.
/dev/dm-1p4 ? 177064 177067 27487 61 SpeedStor
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
Disk /dev/dm-2: 32.1 GB, 32106348544 bytes
255 heads, 63 sectors/track, 3903 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6e697373
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/dm-2p1 ? 120528 234814 918008208 4f QNX4.x 3rd part
Partition 1 does not end on cylinder boundary.
/dev/dm-2p2 ? 119381 153271 272218546+ 73 Unknown
Partition 2 does not end on cylinder boundary.
/dev/dm-2p3 ? 113202 147075 272087568 2b Unknown
Partition 3 does not end on cylinder boundary.
/dev/dm-2p4 ? 177064 177067 27487 61 SpeedStor
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
Disk /dev/dm-3: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6e697373
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/dm-3p1 ? 120528 234814 918008208 4f QNX4.x 3rd part
Partition 1 does not end on cylinder boundary.
/dev/dm-3p2 ? 119381 153271 272218546+ 73 Unknown
Partition 2 does not end on cylinder boundary.
/dev/dm-3p3 ? 113202 147075 272087568 2b Unknown
Partition 3 does not end on cylinder boundary.
/dev/dm-3p4 ? 177064 177067 27487 61 SpeedStor
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
Warning: ignoring extra data in partition table 6
Warning: ignoring extra data in partition table 6
Warning: ignoring extra data in partition table 6
Warning: invalid flag 0xe149 of partition table 6 will be corrected by w(rite)
Disk /dev/dm-4: 106.3 GB, 106344645120 bytes
255 heads, 63 sectors/track, 12929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/dm-4p1 1 3916 31455238+ 83 Linux
/dev/dm-4p2 3917 3928 96390 5 Extended
/dev/dm-4p5 3917 3928 96358+ 83 Linux
/dev/dm-4p6 ? 153401 301372 1188580784 82 Linux swap / Solaris
Disk /dev/dm-5: 32.2 GB, 32210164224 bytes
255 heads, 63 sectors/track, 3915 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-5 doesn't contain a valid partition table
Disk /dev/dm-6: 98 MB, 98671104 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-6 doesn't contain a valid partition table
Disk /dev/dm-7: 4293 MB, 4293563904 bytes
255 heads, 63 sectors/track, 521 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-7 doesn't contain a valid partition table
Disk /dev/dm-8: 104 MB, 104857600 bytes
255 heads, 63 sectors/track, 12 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6e697373
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/dm-8p1 ? 120528 234814 918008208 4f QNX4.x 3rd part
Partition 1 does not end on cylinder boundary.
/dev/dm-8p2 ? 119381 153271 272218546+ 73 Unknown
Partition 2 does not end on cylinder boundary.
/dev/dm-8p3 ? 113202 147075 272087568 2b Unknown
Partition 3 does not end on cylinder boundary.
/dev/dm-8p4 ? 177064 177067 27487 61 SpeedStor
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
Disk /dev/dm-9: 32.1 GB, 32106348544 bytes
255 heads, 63 sectors/track, 3903 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6e697373
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/dm-9p1 ? 120528 234814 918008208 4f QNX4.x 3rd part
Partition 1 does not end on cylinder boundary.
/dev/dm-9p2 ? 119381 153271 272218546+ 73 Unknown
Partition 2 does not end on cylinder boundary.
/dev/dm-9p3 ? 113202 147075 272087568 2b Unknown
Partition 3 does not end on cylinder boundary.
/dev/dm-9p4 ? 177064 177067 27487 61 SpeedStor
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
Disk /dev/dm-10: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6e697373
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/dm-10p1 ? 120528 234814 918008208 4f QNX4.x 3rd part
Partition 1 does not end on cylinder boundary.
/dev/dm-10p2 ? 119381 153271 272218546+ 73 Unknown
Partition 2 does not end on cylinder boundary.
/dev/dm-10p3 ? 113202 147075 272087568 2b Unknown
Partition 3 does not end on cylinder boundary.
/dev/dm-10p4 ? 177064 177067 27487 61 SpeedStor
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
Warning: ignoring extra data in partition table 6
Warning: ignoring extra data in partition table 6
Warning: ignoring extra data in partition table 6
Warning: invalid flag 0xe149 of partition table 6 will be corrected by w(rite)
Disk /dev/dm-11: 106.3 GB, 106344645120 bytes
255 heads, 63 sectors/track, 12929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/dm-11p1 1 3916 31455238+ 83 Linux
/dev/dm-11p2 3917 3928 96390 5 Extended
/dev/dm-11p5 3917 3928 96358+ 83 Linux
/dev/dm-11p6 ? 153401 301372 1188580784 82 Linux swap / Solaris
Disk /dev/dm-12: 32.2 GB, 32210164224 bytes
255 heads, 63 sectors/track, 3915 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-12 doesn't contain a valid partition table
Disk /dev/dm-13: 98 MB, 98671104 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-13 doesn't contain a valid partition table
Disk /dev/dm-14: 4293 MB, 4293563904 bytes
255 heads, 63 sectors/track, 521 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-14 doesn't contain a valid partition table
Disk /dev/dm-15: 10.7 GB, 10733958144 bytes
255 heads, 63 sectors/track, 1304 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3dc92ede
Disk /dev/dm-15 doesn't contain a valid partition table
Disk /dev/dm-16: 10.7 GB, 10733958144 bytes
255 heads, 63 sectors/track, 1304 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x656e6966
Disk /dev/dm-16 doesn't contain a valid partition table
Disk /dev/dm-17: 10.7 GB, 10733958144 bytes
255 heads, 63 sectors/track, 1304 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x78302064
Disk /dev/dm-17 doesn't contain a valid partition table
Disk /dev/dm-21: 10.7 GB, 10733958144 bytes
255 heads, 63 sectors/track, 1304 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-21 doesn't contain a valid partition table
Disk /dev/dm-18: 10.7 GB, 10733958144 bytes
255 heads, 63 sectors/track, 1304 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3dc92ede
Disk /dev/dm-18 doesn't contain a valid partition table
Disk /dev/dm-19: 10.7 GB, 10733958144 bytes
255 heads, 63 sectors/track, 1304 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x656e6966
Disk /dev/dm-19 doesn't contain a valid partition table
Disk /dev/dm-20: 10.7 GB, 10733958144 bytes
255 heads, 63 sectors/track, 1304 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x78302064
Disk /dev/dm-20 doesn't contain a valid partition table
Disk /dev/dm-22: 10.7 GB, 10733958144 bytes
255 heads, 63 sectors/track, 1304 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-22 doesn't contain a valid partition table
ASM creation failed here:
linux-w0sv:~/Desktop # /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: oracle
Default group to own the driver interface []: dba
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: done
Scanning the system for Oracle ASMLib disks: done
linux-w0sv:~/Desktop # /etc/init.d/oracleasm createdisk DATA1 /dev/dm-15
Marking disk "DATA1" as an ASM disk: done
linux-w0sv:~/Desktop # /etc/init.d/oracleasm createdisk DATA2 /dev/dm-16
Marking disk "DATA2" as an ASM disk: done
linux-w0sv:~/Desktop # /etc/init.d/oracleasm createdisk DATA2 /dev/dm-17
Marking disk "DATA2" as an ASM disk: failed
linux-w0sv:~/Desktop # /etc/init.d/oracleasm createdisk RECOV1 /dev/dm-17
Marking disk "RECOV1" as an ASM disk: done
linux-w0sv:~/Desktop # /etc/init.d/oracleasm createdisk RECOV2 /dev/dm-18
Marking disk "RECOV2" as an ASM disk: failed
linux-w0sv:~/Desktop # /etc/init.d/oracleasm createdisk RECOV2 /dev/dm-19
Marking disk "RECOV2" as an ASM disk: failed
linux-w0sv:~/Desktop # /etc/init.d/oracleasm createdisk RECOV2 /dev/dm-20
Marking disk "RECOV2" as an ASM disk: failed
linux-w0sv:~/Desktop # /etc/init.d/oracleasm listdisks
DATA1
DATA2
RECOV1
how do i create RECOV2 now?
how do i check,what is the exact error?
regards
the guidace i followed:
http://www.oracle.com/technology/tech/linux/asmlib/install.html