oracleasm disk label contains an invalid character
Dude!Sep 15 2010 — edited Jan 14 2013Hi,
Oracle 11g 10.2.0.1, Virutalbox, Guest OS Oracle Enterprise Linux 5.5 with ASMLib
I wanted to re-create the ASM instance. I deleted all data and used oracleasm deletedisk to remove the devices.
For some reason oracleasm will not register any of the disks again.
# oracleasm createdisk /dev/sdb VOL1
Disk label "/dev/sdb" contains an invalid character
I tried dd, gparted and other tools to change the data. It seems the conflict is somewhere else, in particular since I re-created the virtual disks from scratch. This is only a test environment and I deleted the physical disks and recreated new devices using the Virtual Disk Manager in Virtualbox. I used fdisk to create new partitions, but he problem remains.
Below some more results:
# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
#
# oracleasm deletedisk /dev/sdb1
Device "/dev/sdb1" is not marked as an ASM disk
# oracleasm querydisk /dev/sdb1
Device "/dev/sdb1" is not marked as an ASM disk
fdisk -l /dev/sdb1
Disk /dev/sdb1: 2146 MB, 2146765824 bytes
255 heads, 63 sectors/track, 260 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb1 doesn't contain a valid partition table
Any ideas?
Thanks,
Markus
Edited by: Markus Waldorf on Sep 15, 2010 8:34 PM