Why can't I drop the ASM disks and stop ASMLib?

Hi, I wanted to remove the disc, but this operation has failed:

1.

/etc/init.d/oracleasm deletedisk DATA1
Remove ASM disk "DATA1" [NOT]

I know there is the solution to replace header ASM on a disc information
DD if = / dev/zero of = < your_raw_device > bs = 1024 count = 100

and then droping is successful

but I've also seen resources who said that it should be count = 50

If someone could confirm count = 100 or 50?

2.

In addition to this I tried to stop ASMLib and she doesn't have too:

stop /etc/init.d/oracleasm
Drop Oracle ASMLib discs: [OK]
Close the driver Oracle ASMLib: [FAILURE]

OK, so using dd will help me to get rid of the disks, but I'm worried about ASMLib in general, why can't you stop it? All instances of the ASM have been removed before. There is no software installed ASM, in addition to ASMLib.

There are several things not clear

1 as most of the people here you forgot to display four-digit version number, assuming that Oracle never changes, or we can guess that you are running.
The two statements are false. To stop asmlib, you use exit oracleasm

2 you use the root account or another account? You must use the root account

3. Why do you not use the oracleasm command?

----------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • Why can't I have the menu bar (XP) and also the figure of firefox?

    Under XP, why can't I have the menu bar and the firefox logo is displayed?

    You can have the Firefox menu orange button if the menu bar is disabled if it is Firefox logo you want to say and not on the icon on the title bar.

  • RunInstall does not show the ASM disks

    Hello

    I googled arleady for so long but I can't find the solution for my problem.

    I'm under runInstall of the Oracle Grid Infrastructure installation program. When it comes to "Create the ASM disk groups", the window does not show one of my starts created previously, even if I change the discovery trail to ' / oracleasm/dev/discs / * "Please help!

    [dev root@grid1] # / usr/sbin/oracleasm listdisks

    DATA01

    DATA02

    FRA01

    FRA02

    OCRVOTE01

    OCRVOTE02

    OCRVOTE03

    [dev root@grid1] # / usr/sbin/oracleasm-discover

    ASMLib /opt/oracle/extapi/64/asm/orcl/1/libasm.so using

    [Library ASM - Generic Linux, version 2.0.4 (KABI_V2)]

    Disk discovery: ORCL:DATA01 [31455232 blocks (16105078784 bytes), maxio 512]

    Disk discovery: ORCL:DATA02 [31455232 blocks (16105078784 bytes), maxio 512]

    Disk discovery: ORCL:FRA01 [20969472 blocks (10736369664 bytes), maxio 512]

    Disk discovery: ORCL:FRA02 [20969472 blocks (10736369664 bytes), maxio 512]

    Disk discovery: ORCL:OCRVOTE01 [10477194 blocks (5364323328 bytes), maxio 512]

    Disk discovery: ORCL:OCRVOTE02 [10483712 blocks (5367660544 bytes), maxio 512]

    Disk discovery: ORCL:OCRVOTE03 [10483712 blocks (5367660544 bytes), maxio 512]

    [dev root@grid1] # / usr/sbin/oracleasm querydisk DATA01

    Disk 'DATA01' is a valid ASM disk

    [records root@grid1] # pwd

    / dev/oracleasm/Disks

    [records root@grid1] # he's

    Total 0

    BRW - rw - 1 grid asmadmin 8, 65 4 Mar 11:18 DATA01

    BRW - rw - 1 grid asmadmin 8, 81-4 Mar 11:18 DATA02

    BRW - rw - 1 grid asmadmin 8, 97-4 Mar 11:18 FRA01

    BRW - rw - 1 grid asmadmin 8, 113 4 Mar 11:18 FRA02

    BRW - rw - 1 grid asmadmin 8, 17 4 Mar 11:16 OCRVOTE01

    BRW - rw - 1 grid asmadmin 8, 33-4 Mar 11:17 OCRVOTE02

    BRW - rw - 1 grid asmadmin 8, 49-4 Mar 11:17 OCRVOTE03

    [records root@grid1] # rpm - qa | grep oracle

    oracleasm-support - 2.1.8 - 1.el6.x86_64

    oracleasmlib - 2.0.4 - 1.el6.x86_64

    oraclelinux-release-6Server - 6.0.2.x86_64

    oraclelinux-release-notes-6Server - 14.x86_64

    kmod-oracleasm - 2.0.8 - 4.el6_6.x86_64

    Oracle-logos - 60.0.14 - 1.0.2.el6.noarch

    to clarify this, please login as user "grid" and run the command
         id

    This will show you if id is a member of the Group asmadmin.

    Martin

  • Why can I not move the photos in an album

    I've updated to 16 items. I want to put back some photos in an album. But when I try to drag the image to the selected place a circular symbol with a fallen on line diagonally appears instead of the arrow cursor. Why can I not move the photos in the album?

    Once you have selected an Album, the Album order, choose sort by drop-down list and then you should be able to move the images.

    Thank you

    Blandine

  • Add more space to the ASM disk group

    Hi all

    I am new to the DBA role and also in a process of learning. I need your help in putting a space at the ASM disk group. My VMware admin will add disk space to the virtual machine, and then the Linux admin will add space on Linux servers. Finally, I think I need to rebalance the database disk group to view the extra space. I'm not sure of what all the steps involved in this process. I like to read the Oracle Documentation, but I'm blurry and hesitant. Please let me know the steps to follow to add the ASM disk group space.

    We use

    Oracle DB version 11.2.0.3.0

    Linux version: 2.6.18 - 238.12.1.el5

    Thanks for your help

    No....

    You don't need any instance restart. More when you add a disk to a diskgroup, all rac nodes can see.

    just...

    You should add a node and watch v$ asm_operation...

    Concerning

  • Create the ASM disk groups instance is not found


    Hello

    I just started to learn Oracle, very inexperienced database in Oracle.

    I have a problem to create an ASM instance. My environment is SUSe Linux Enterprise 11 64-bit, I am creating an instance ASM 11.2.0

    1. when I create ASM instance, I couldn't find ASM disks, if an ASM Instance could not be created.

    2. when I search on the internet on the creation of the ASM disk, it seems that I need to connect to the instance ASM as ASMSYS, but I have not an ASM instance is runing so ASM DISK groups has not can be created.

    I feel that I'm at an impasse.

    Could someone help me?

    Thank you.

    You may need to configure the udev subsystem to set permissions of the device and configure the parameter diskstring ASM or install Linux ASMLib, that supports both and more.  In any case, you will need to provide more details and probably do some research to learn more about the basic concepts. To install Oracle ASM is not click and play.

  • Narrowing of the ASM disks

    I just tried to resize an ASM disk and although the reaction was "successful", it does not appear to have been any change.

    I was trying to shrink DATA_0001 from 200G to 100G. Am I missing something obvious?
    SQL> select group_number, name, path, os_mb, total_mb, free_mb from v$asm_disk;
    
    GROUP_NUMBER NAME                 PATH                                OS_MB   TOTAL_MB    FREE_MB
    ------------ -------------------- ------------------------------ ---------- ---------- ----------
              0                      /dev/iscsi/rman11                   20489          0          0
              0                      /dev/iscsi/rmanB11                 102398          0          0
              0                      /dev/iscsi/rman1                    20490          0          0
              0                      /dev/iscsi/vote3                      300          0          0
              0                      /dev/iscsi/vote1                      300          0          0
              0                      /dev/iscsi/rmanP11                 204805          0          0
              0                      /dev/iscsi/vote2                      300          0          0
              0                      /dev/iscsi/rmanP1                  204810          0          0
              0                      /dev/iscsi/rmanB1                  102405          0          0
              1 DATA_0000            /dev/iscsi/db1                      10245      10245      10109
              2 FRA_0000             /dev/iscsi/flshbk1                  20490      20490      20465
    
    GROUP_NUMBER NAME                 PATH                                OS_MB   TOTAL_MB    FREE_MB
    ------------ -------------------- ------------------------------ ---------- ---------- ----------
              2 FRA_0001             /dev/iscsi/flshbkR1                409605     409605     409262
              1 DATA_0001            /dev/iscsi/dbR1                    204810     204810     202297
    
    13 rows selected.
    
    SQL> alter diskgroup data resize disk 'data_0001' size 100g;
    
    Diskgroup altered.
    
    SQL> select group_number, name, path, os_mb, total_mb, free_mb from v$asm_disk;
    
    GROUP_NUMBER NAME                 PATH                                OS_MB   TOTAL_MB    FREE_MB
    ------------ -------------------- ------------------------------ ---------- ---------- ----------
              0                      /dev/iscsi/rman11                   20489          0          0
              0                      /dev/iscsi/rmanB11                 102398          0          0
              0                      /dev/iscsi/rman1                    20490          0          0
              0                      /dev/iscsi/vote3                      300          0          0
              0                      /dev/iscsi/vote1                      300          0          0
              0                      /dev/iscsi/rmanP11                 204805          0          0
              0                      /dev/iscsi/vote2                      300          0          0
              0                      /dev/iscsi/rmanP1                  204810          0          0
              0                      /dev/iscsi/rmanB1                  102405          0          0
              1 DATA_0000            /dev/iscsi/db1                      10245      10245      10004
              2 FRA_0000             /dev/iscsi/flshbk1                  20490      20490      20465
    
    GROUP_NUMBER NAME                 PATH                                OS_MB   TOTAL_MB    FREE_MB
    ------------ -------------------- ------------------------------ ---------- ---------- ----------
              2 FRA_0001             /dev/iscsi/flshbkR1                409605     409605     409262
              1 DATA_0001            /dev/iscsi/dbR1                    204810     204810     202402
    
    13 rows selected.
    The free_mb seems to have increased, but otherwise I do not see the effect of my change. Maybe I'm looking in the wrong place?

    I tried to restart the ASM instance, but it made no difference.

    After the resizing of the ASM disk, I have narrowed the disk volume in our storage array. ASM was naturally down at the time.

    When I tried to restart ASM I saw...
    SQL> startup
    ASM instance started
    
    Total System Global Area  283930624 bytes
    Fixed Size                  2158992 bytes
    Variable Size             256605808 bytes
    ASM Cache                  25165824 bytes
    ORA-15032: not all alterations performed
    ORA-15036: disk '/dev/iscsi/dbR1' is truncated
    No of my starts are mounted...
    SQL> select group_number, name, state from v$asm_diskgroup;
    
    GROUP_NUMBER NAME            STATE
    ------------ --------------- ---------------------------------
              0 DATA            DISMOUNTED
              0 FRA             DISMOUNTED
    Here is the log of the ASM instance alert messages...
    SQL> ALTER DISKGROUP ALL MOUNT
    NOTE: cache registered group DATA number=1 incarn=0x5f5e3343
    NOTE: cache began mount (not first) of group DATA number=1 incarn=0x5f5e3343
    NOTE: cache registered group FRA number=2 incarn=0x5f5e3344
    NOTE: cache began mount (not first) of group FRA number=2 incarn=0x5f5e3344
    WARNING::ASMLIB library not found. See trace file for details.
    NOTE: Assigning number (1,0) to disk (/dev/iscsi/db1)
    NOTE: cache dismounting group 1/0x5F5E3343 (DATA)
    NOTE: dbwr not being msg'd to dismount
    NOTE: lgwr not being msg'd to dismount
    NOTE: cache dismounted group 1/0x5F5E3343 (DATA)
    NOTE: cache ending mount (fail) of group DATA number=1 incarn=0x5f5e3343
    kfdp_dismount(): 1
    kfdp_dismountBg(): 1
    NOTE: De-assigning number (1,0) from disk (/dev/iscsi/db1)
    ERROR: diskgroup DATA was not mounted
    NOTE: Assigning number (2,1) to disk (/dev/iscsi/flshbkR1)
    NOTE: Assigning number (2,0) to disk (/dev/iscsi/flshbk1)
    NOTE: cache dismounting group 2/0x5F5E3344 (FRA)
    NOTE: dbwr not being msg'd to dismount
    NOTE: lgwr not being msg'd to dismount
    NOTE: cache dismounted group 2/0x5F5E3344 (FRA)
    NOTE: cache ending mount (fail) of group FRA number=2
    incarn=0x5f5e3344
    kfdp_dismount(): 2
    kfdp_dismountBg(): 2
    NOTE: De-assigning number (2,0) from disk (/dev/iscsi/flshbk1)
    NOTE: De-assigning number (2,1) from disk (/dev/iscsi/flshbkR1)
    ERROR: diskgroup FRA was not mounted
    ORA-15032: not all alterations performed
    ORA-15036: disk '/dev/iscsi/dbR1' is truncated
    ERROR: ALTER DISKGROUP ALL MOUNT
    Clues?

    Thank you

    Steve

    Hi Steve,.

    I think what happened occurred due to certain steps in your initial procedure, a corruption of ASM header that cannot be repaired automatically more. Therefore, check if ML Note 553319.1 - ORA-15036 when to start an ASM Instance - can be used to solve your problem, too.

    Now, in order to avoid such things, I would make the following the next time:

    Stop all except 1 ASM instance.
    CHANGE Diskgorup RESIZE DISK - the disk that you want to resize.
    Wait for the rebalancing that may occur finally.
    stop this ASM instance
    change the size of the disk to the disk level
    restart all instances of the DSO.

    This seems to be the safest way to do it. A perspective HA, some optimization might be possible, I think.

    Hope that helps. Thank you
    Markus

  • Why can't I find the pages I visited yesterday in Firefox 9.0.1?

    Why can I not see the sites I opened yesterday in the history section?
    'Today' show only.
    The browser is version 9.0.1
    OS is XP

    Make sure that you do not use to clear the history to clear the browsing history when you close Firefox.

    • Tools > Options > Privacy: history: [X] clear history of Firefox closing > settings

    If you use a software like CCleaner cleaning then check the settings in the Firefox application.

  • Why can I not see the tabs that are on my other computer?

    I have synced with another computer and it is said that it is connected and I can see my favorites, but why can't I see the tabs that I frequently use on another computer?

    History > 'tabs on other computers.

  • Why can't I download the 9.3 iso upgrade? He always tells me that I am not connected to the Internet and I know that I am.

    Why can't I download the 9.3 iso upgrade? He always tells me that I am not connected to the Internet and I know that I am.

    Apple withdrew temporarily updating iOS 9.3 for devices more old to deal with some issues, what he was creating. Better to wait a few days for them to correct problems.

  • IM using Skype on a samsung galexy s5 why can I not see the other videos of people who uses a laptop?

    Why can't I see the other video of people on my samsung galexy s5 if they are on a laptop?

    Theybsay they can see me, but all I see is myself. I just downloaded Skype 3 days ago so id assume that it is the most recent version.

  • Can I get a professional XP disk and install the OS individually on each computer (they have all their key codes), or do I have to find another way?

    I bought a bunch of desktop computers that came with XP Professional with IBM. I ordered the reinstallation disc, but it worked on one of my computers. Can I get a professional XP disk and install the OS on each individually (they have all their key codes), or do I have to find another way? I don't have the money to buy the recovery for each computer disk.
    IBM ThinkCentre

    Pentium 4 3.0ghz

    512 MB of ram
    hard drive 40 GB

    XP Professional

    As long as the disc you are using is the exact same OEM disc that would be provided by IBM that would work on these computers. It cannot be a copy in the Windows retail.

  • Why can't I find the display on the Control Panel icon.

    original title: vista Control Panel

    Why can't I find the display on the Control Panel icon.

    Why can't I find the display on the Control Panel icon.

    Control Panel has no icon

    Start button > in the search box, type services > press Enter ket > scrollsoftware licensing...
    topic status, it must be said... Has begun
    under Startup Type, it must be said... Automatic
    If this isn't what you see, look in the left column, click Start (or restart)

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Why can't I print the word documents that have been previously registered? I never had problems before

    Why can't I print the word documents that have been previously registered? I never did have any problems before, im no ace with a computer still able to do.

    could this laptop have updated the windows version? If yes how to say if in windows 7 or 10? any help is welcome and appreciated

    I suggest that you uninstall and reinstall the printer and see if that makes a difference.

    Let us know if that helps.

  • Why can't I play the videos to M4V format bought in iTunes in windows media player

    Original title: M4V format

    Why can't I play the videos to M4V format bought in iTunes in windows media player. Thank you

    If the video does not the restrictions of DRM (Digital Rights Management), so you can see just by changing the .mp4 extension allows it to be played in Windows Media Player, but if Apple added restrictions to the file DRM then you will be limited to such players as apple deems suitable to be used, probably iTunes or Quicktime.

Maybe you are looking for