Reclaim the space in the partition of the ASM

Hi guys,.

Is there a way to recover space (hard disk storage space) of the partition of the DSO. I have allocated 100GB earlier and is used by the system for about two months and now I want to claim the refund of 30 GB because it is no more necessary. Is this possible? No matter what doc/url please point me to that.

THX

Is there a way to recover space (hard disk storage space) of the DSO partition

Yes, as follows:

1. Add a NEW disc with the new size you want (for example 70 GB)
2. wait for rebalancing to finish
3. remove the disk to be deleted (the 100 GB one)
4. wait for rebalancing to finish
5 remove/reuse the 100 GB drive

You can do - of course - the two steps at the same time; But if you have only one disk, I recommend you to do a step after another.

--
Ronny Egner
My Blog: http://blog.ronnyegner-consulting.de

Tags: Database

Similar Questions

  • Reclaim free space after deleting Partition Bootcamp

    After installing a new SSD and gives back to the top of time Machine, I deleted my Bootcamp partition on my MBP using Boot Camp Assistant. The Boot Camp partition, although MS-FAT was no longer bootable after recovery, and I thought again and use Winclone to retrieve my Windows backup.  The result of delete Boot Camp seems good:

    XXXs-MacBook-Pro: ~ the name list $ diskutil

    / dev/disk0 (internal, physical):

    #: NAME SIZE TYPE IDENTIFIER

    0: GUID_partition_scheme * 960,2 GB disk0

    1: disk0s1 EFI EFI 209.7 MB

    2: Apple_HFS Macintosh HD 959,3 GB disk0s2

    3: disk0s3 Apple_Boot Recovery 650.0 MB HD

    But when I look at the storage, I find that I went 113 GB on my hard drive MacIntosh partition (or says my Time prior Machine backup) to more than 300 GB.  The Boot Camp 118.5 GB partition is gone, but the 'Other' segment seems to have increased to 284 GB.

    I see a lot of solutions online for free space recovery after the removal of Boot Camp, but they do not seem to apply to me.  Many are for removals of Boot Camp failed using disk utility.  Several involve CS, but I have no basic storage.  I tried to boot into recovery and repair.  I tried several reboots to clear space.

    Any ideas, please?

    Please after the release of the following OSX Terminal commands...

    diskutil list

    Cs diskutil list

    sudo TPG - vv - r see the/dev/disk0

    Please enter your password when you are prompted by the command 'sudo '.

  • Add the space from one partition to the other

    I have three partitions on one external drive.

    I have reduced the space on a partition and would like to add that extra space for another partition.

    Is this possible?

    No delete and re-create the partition immediately below you shrank.

    (139113)

  • Partition question - what would be the best way to increase its space and take part of the space from another partition

    Hello, I have my 500 GB SATA broken down into 3 partitions. Vista and 2 others. The problem is the process of using Partition Magic, Vista has been given only 30 GB, now its operation with 1-2 GB of free space. I want to know what would be the best way to increase its space and take part of the space from another partition, but I don't want to have to reinstall or do I want to lose all the data like photos, browser, documents and news ect.

    -Thank you

     

    You can read more details on "How to move from one partition to the other sapce without loss of data.

  • Boot Camp windows 7 is grayed out and the boot disk doesn't have enough space to be partitioned

    Please make a video to youtube or something!

    I don't delete records or any of that stuff!

    You need to create enough disk space to enable partitioning.

  • How to check the space on the asm and raw device?

    Hi all

    I want to know how to check the space on the device of the DSO.
    We use a feature of the asm, which is on a raw partition.
    Our archive is full. I need to check the space on asm archve partiotion.
    How can I check the destination space archive?
    We are using partition raw device for crs and voting system.
    How can we check the space on the raw device and how do know us which device is currently in use and are not in service

    Thanks in advance

    4 - 5 raw partitions...
    What version of oracle?
    Install the OCR + VOTE in gross unit better than OCFS2. If you use 10g to 11 GR 1 material.

    If use 11 GR 2, take the OCR + VOTE in ASM disk group.

    You can check what raw OCR device:
    $ ocrcheck

    VOTEDISK:
    $ crsctl query css votedisk

    On 10g if using the raw device for OCR + votedisk: recommend 1 file = 250M
    11g recommend 1 file = 512M

    Good luck

  • 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

  • Cannot resize the disk of the asm

    Hi, greetings of the day...

    I have created a disk of asm using asmtool as:
    asmtool - create 500 D:\Asm_disks\disk3;
    asmtool - create 500 D:\Asm_disks\disk4;
    Now when I try to resize the disk,



    SQL > select name, total_mb v$ asm_disk;

    NAME TOTAL_MB
    ------------------------------ ----------
    DATA_0000 2000
    DATA_0001 2000
    FRA_0002 3000
    FRA_0003 3000
    DATA_0002 500
    DATA_0003 500

    6 selected lines.

    SQL > alter diskgroup DATA resize disk size 'DATA_0002' 1000M;
    change DATA diskgroup resize disk size 'DATA_0002' 1000M
    *
    ERROR on line 1:
    ORA-15032: not all changes made
    ORA-15289: ASM DATA_0002 disk cannot be resized beyond 500 M



    Please help me in this regard

    Thank you
    Uday

    udayjampani wrote:
    Thank you

    I understand what you say, I have created a disk of asm with 500 MB of size using asmtool, so I can't resize using asm instance.

    1. What is the use of asmtool-added option, we can add an existing using this command drive space?

    This isn't for adding space, but it adds the label to the disk partition...
    asmtool - add \Device\Harddisk1\Partition1 ORCLDISKASM0
    >

    2 can you please explain this more, * it could be increased if you already held 300 total asm 500 disk space *?

    Think like OS, you have created a 10 GB partition for disk D:\ example. And now, you create files/folders with size of hugh (as some movies ;)) to drive D:\, so eventually your drive D:\ will fill. This is the case even with your asm disk, once you have used all your available space of the asm disk (that you created through asmtoll), you can not increase.
    By asmtool - create D:\Asm_disks\disk3 500, you assign the total size to 300 from the asm disk. Just as you add 10 GB partition for OS...

    You come to the backup from my point of view: it could be increased if you already worked 300 asm disk space total 500

    I have created the disk with the following text:
    asmtool - create 500 D:\Asm_disks\disk3 > size is 500

    I create diskgroup with
    SQL > create diskgroup DB 'D:\Asm_disks\disk3' size disc 300; > Here I wll use only max 300 size of 500 total. So once I get to the threshold of 300, I can increase the asm disk up to 500.
    As
    SQL > alter diskgroup DB resizing disk "D:\Asm_disks\disk3' size 500; > Increasing up to 500

    Default if the clause you SIZE omit while creating a diskgroup, asm then disc occupies all the available space of the device that you have created by asmtool

    >

    3. What is meant occupation here, not here where we can control the right of occupancy?

    We can control as I explained.

    See also article that explains: http://www.oracle-base.com/articles/10g/AutomaticStorageManagement10g.php
    Hope that explains

  • Tablespace in theory of the ASM

    Hi gurus,

    Server: RHEL 5
    Oracle 11g r2


    In noASM of the instances of the file limit of data default to 32 GB and 32 TB to bigfile.
    So, my database a 500 GB and no use bigfile and I created 17 datafile for that.
    What unlimited specs on the creation.

    Server scenario:
    / data = 1 t (data)
    /data2 = 1 t. (index)


    I have the same space, partition on a diskgroup in ASM instance,


    Server scenario:
    DiskGroup + data = 2 t

    Its necessary to create 17 logical data files in the ASM instance or a data file with the unlimited clause?

    Kind regards
    Paul

    saddones wrote:
    External

    In this case, you have 2 t of free space. :-) This means that you can use your database (migrate) to ASM.
    The size of your database to 0. 5 t<2T.>

  • Label of the ASM to name of LUN mapping; Are not even necessary device names when you use ASMLib?

    = Environment details start =.

    OS: Oracle Linux 6.4

    Version Infra grid: 11.2.0.4

    Storage: EMC VMAX

    ASM Lib version:

    # rpm - qa | grep oracleasm

    oracleasm-support - 2.1.8 - 1.el6.x86_64

    oracleasmlib - 2.0.4 - 1.el6.x86_64

    oracleasm version came not in rpm-qa output may be because it is part of the Oracle Linux kernel. But the 2 components above are not

    = Environment details end =.

    We have a 2 node RAC cluster.

    We wanted to add 2 LUNS to our data Diskgroup and asked team storage available to both nodes of the cluster.

    After that they provided, the Linux Admin scanned the LUN and powerpath device names were generated. The powerpath device names like SCSI logic unit number names are incremented sequentially. Because, two additional powerpath LUN used to Node1 to a local file system, the names of powerpath were incrementing differently in the two nodes.

    Thus, for the same LUNS emcpowerpath names differed in Node2. Linux Admin did not notice this difference. And he told us the names of newly added from Node1 LUNS powerpath that have been

    / dev/emcpowerv

    / dev/emcpowerw

    But in Node2, the same LUN were appointed

    / dev/emcpowert

    / dev/emcpoweru

    The DBA guess powerpath name these 2 LUNS will be same on Node2, label the discs to help

    oracleasm createdisk DATA17/dev/emcpowerv1

    oracleasm createdisk DATA18/dev/emcpowerw1

    After marking in node 1, the DBA ran scandisks in Node2. But while the oracleasm scandisks in Node2 is running, it does not seem to/dev/emcpowerv and/dev/emcpowerw in Node2. Instead, ASMLib is smart enough to read the LUN ID in Node1 and search devices powerpath with the same LUN ID and labels as Node1. What's it like in Node2, / dev/emcpowert is labeled DATA17 and/dev/emcpoweru is labeled DATA18 correctly, as shown below.

    Node1

    Node2

    LUN ID

    Label of the ASM

    / dev/emcpowerv

    / dev/emcpowert

    873F

    DATA17

    / dev/emcpowerw

    / dev/emcpoweru

    629:

    DATA18

    Confirmed using the oracleasm querydisk Pei/dev/emcpower < x > .

    During labelling using the oracleasm createdisk , since we use the LUN name I always thought that asmlib dealt only with the names of devices (Powerpath name in this case). I didn't know that ASMLib treats ID LUN. If ASMLIB faces in LUN ID internally, then you don't need to have the same name for a particular LUN for disks shared in different RAC nodes? Right?

    ASMLIB contains 3 packs. Oracleasmlib, which is distributed under a license of Oracle user space and is not part of the standard GPL software distribution. Oracleasm-support, which is in the standard repository and kernel driver of Oracleasm, which is included in the core Oracle UEK only or distributed by Red Hat to RHCK kernel. The subsequent RHCK driver requires a Red Hat subscription. You need all 3 installed packages.

    ASMLib doesn't care to the SCSI ID or device names. When you configure a device to ASMLIB, he writes a header special disk in the device, the command scandisk read and identify a device. ASMLIB devices are populated under the tree of device/dev/oracleasm and found by ASM using the default ORCL: device chain.

    Don't forget that ASMLIB does not work with multiple devices and if you use DB-Multipath or EMC Powerpath, you need to blacklist the physical devices so ASMLIB will use powerpath or multipath device instead. Otherwise there will be no failover devices like ASMLIB will simply use the first device found and ignore the other. Check the following:

    http://www.Oracle.com/technetwork/topics/Linux/multipath-097959.html

  • Use of the ASM.

    Team,

    You can see listed below use on ASM diskgroup. so, what's the MB all usable for the diskgroup that we can use it?

    ASMCMD > lsdg

    State Type sector Rebal to Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files name of the block

    NORMAL CLIMB N 512 4096 4194304 43008000 7227384 6144000 541692 0 DATA015 N /.

    NORMAL CLIMB N 512 4096 4194304 43008000 7186216 6144000 521108 0 DATA016 N /.

    NORMAL CLIMB N 512 4096 4194304 43008000 7178376 6144000 517188 0 DATA017 N /.

    We need to think about Usable_file_MB? or the Free_MB?

    Thank you

    Mir

    Hello

    • REQUIRED_MIRROR_FREE_MBindicates the amount of space that must be available in a disk group to restore full redundancy after worse failure that can be tolerated by the disk group. The amount of space shown in this column takes into account mirroring effects. The value is calculated as follows: for normal redundancy disk group, the value is the total gross space for all disks in the largest group of failure. The largest group of failure is the one with the largest total raw capacity. For example, if each disc in its own group of default, the value would be the size of the largest capacity disk. For a disk group high redundancy, the value is the gross total space for all disks in the two largest groups of failure.
    • USABLE_FILE_MBthe amount of free space, adjusted for mirroring, which is available for the new files to restore redundancy after a disk failure. USABLE_FILE_MBis calculated by subtracting REQUIRED_MIRROR_FREE_MB from the total free space in the disk group and then adjusting the value of mirroring. For example, in a normal redundancy disk group where by default the mirror files use disk space equal to twice their size, if there's 4 GB of usable file space, then USABLE_FILE_MB is equal to about 2 GB. You can then add a file that is up to 2 GB in size.
    • FREE_MBis the unused capacity of the Group disk in megabytes, without taking into account any imbalance data. Therefore, there may be situations where the value of the FREE_MB column shows unused capacity but because one of the ASM disks is full, database entries fail because of the imbalance in the disk group. Make sure that you initiate a manual rebalancing to force the same distribution of data which translates a precise presentation of the values in the FREE_MB column.

    See: http://docs.oracle.com/cd/B28359_01/server.111/b31107/asmdiskgrps.htm#CHDGGGAD

  • Installation of Oracle 11 g R2 grid does not detect the ASM disks

    Hi guys,.

    I'm trying to install Oracle 11 g R2 RAC and as part of the installation of the grid, the Setup program does not detect the ASM disks.

    Here are the outputs for some commands.

    [root@rac1 ~] # oracleasm scandisks

    Reload from disk partitions: fact

    Cleaning up stale ASM disks...

    ASM disks scanning system...

    Instantiation of disk 'ASMDATA2 '.

    Instantiation of disk 'ASMDATA1 '.

    [root@rac1 ~] # oracleasm listdisks

    ASMDATA1

    ASMDATA2

    [root@rac1 ~] # ls - ls/dev/oracleasm/disks

    Total 0

    0 brw - rw - 1 grid asmadmin 252, 3 14 May 17:18 ASMDATA1

    0 brw - rw - 1 grid asmadmin 252, 2 14 May 17:18 ASMDATA2

    I already tried to reconfigure Oracleasm (oracleasm configure - i) but no luck.

    I would be really grateful for the help here as its been a few days now and want to complete the installation as soon as possible

    Concerning

    Praveen

    Thank you Ricardo, I see now the disks after you change the path from discovery to/dev/oracleasm/disks

  • Configure the ASM without ORACLEASM drives


    Guys,

    I found that right for your perticular kernel asmlib is a PAIN. (I also came to know Oracle dsnt predict asmlib rhel 6)

    Finally, we can find those, but can any 1 share knowledge how to configure the asm without Asmlib drives?

    I mean I dnt want to use/usr/sbin/oracleasm createdisk/dev/sdb5 (like this)

    Now if you ask me what operating system, my OS is RHEL 6.3, but I would like to know for all versions of configuration asmlib.

    DB: 11.2.0

    Which records exactly? Local? NAS? SAN? Single path of I/O? Multiple I/O paths?

    The Linux kernel will automatically enumerate all devices h/w - and udev to create entries of device for these devices. Then all devices scsi for devices SAN/NAS/local lands in tree in/dev automatically.

    However, the device names are not static (not even local devices as a new drive added to the server may have an impact of the names of existing devices). So in general, the names of devices directly deprecated. Same fstab/etc/fstab of the kernel utilisΘ string of identifier.

    If you have multiple path i/o devices, the multipath driver should be used.

    If you have devices path of single e/s (e.g. NAS/iscsi), then you can do the following.

    1. Identify devices using lsscsi
    2. Use fdisk to create one (for example partition 4) partition on the disk, and then assign him da (Non-FSdata) partition type. This allows you to identify via the number of partition storage devices (i.e. all 4 partition are storage). The partition type is a safeguard against accidental to mount the partition as a file system.
    3. Create a udev rule to call for partition devices 4:
      file #: /etc/udev/rules.d/99-oracle-asmdevices.rules
      KERNEL == "sd * 4", BUS == "scsi"PROGRAM="/etc/udev/scripts/localdev.sh %b", SYMBOLIC link += "asm / $result", OWNER = "grid", GROUP = "oinstall", MODE = "0660" "
    4. Create a udev script that will create a special link to device ASM to ASM to use, for example
    #!/bin/sh
    # file:         /etc/udev/scripts/localdev.sh
    # descr:        outputs logical device name for a local asm scsi target
    
    TAG="[scsi]"
    BUS=${1}
    DRIVE=`echo "$BUS" |  sed 's/://g'`
    
    targetname=disk-${DRIVE}
    
    logger -t $TAG -- "/etc/udev/scripts/localdev.sh bus=$* target=$targetname"
    
    echo "${targetname}"
    #eof
    

    So when a partition device 4 is detected, a device entry is created for in/dev/asm. I used a very simplistic device (drive-busid) naming scheme. You can get the WWID of the device and assign more readable names.

    You now discovery point ASM string drive in /dev/asm / *.

    Once you enter the basics above (it is not that the resort), you can get very creative with how you want to identify the devices for ASM usage - and how you create and name (symbolic link) of the names of devices for ASM.

  • Problems with access to the ASM in Oracle 11.2.0.1

    Hi all

    In my database of the UAT, I saw that all of my services database are running.

    [Home/oracle] Oracle@blrvqorasdb01:ARSUATDB > ps - ef | grep pmon
    Oracle 4409 3229 0 09:34:57? 0: 12 ora_pmon_ARSUATDB
    Oracle 10111 9608-0 15:59:59 pts/6 0:00 grep pmon
    Oracle 4053 3229 0 09:31:40? 0:08 asm_pmon_ + ASM

    When I logged my ASM profile as a sysasm I get the below error: -.

    [Home/oracle] Oracle@blrvqorasdb01:+ASM > sqlplus "/ as sysasm.

    SQL * more: Production release 11.2.0.1.0 Sun Dec 16 16:08:47 2012

    Copyright (c) 1982, 2009, Oracle. All rights reserved.

    ERROR:
    ORA-09817: write the file verification failed.
    SVR4 error: 28: no space is available on the device
    Additional information: 12
    ORA-01075: you are currently connected


    I am able to connect to the database and create objects in there. Can someone advice me why I get the above error.

    To work around the problem I thought to stop and start the ASM instance, but I get the error below: -.

    Oracle@blrvqorasdb01:+ASM [u01/11.2.0/grid] > srvctl stop asm f
    RPRC-1070: could not verify if the ora.asm resource is registered
    Cannot communicate with crsd

    Please advice...

    Kind regards
    Aalami

    According to the error:
    "ORA-09817: write the file verification failed."

    Look at the HOME of ASM page ($GRID_HOME) and check for free space.
    You can also check the AUDIT_FILE_DEST parameter

    for example:

    sqlplus "/ as sysasm"
    SQL> show parameter audit_file_dest;
    
    NAME     TYPE     VALUE
    ------------------------------------ --------------- -------------------------------------
    audit_file_dest     string     /u01/app/11.2.0.2/grid/rdbms/audit
    

    ATT
    Victor

  • Question of the ASM

    Hello

    I'll put up a 11.2.0.3 new install and I have a problem in my hands a little bit.

    While doing the installation, I created the asm on a partition disk in:
    oracleasm createdisk DATA /dev/sdb2
    Now, after rebooting, it may be the case when my score is not identified as/dev/sdb2 more instance cannot find the disc, so I need to tag it with something like
    e2label <partition> <labelname>
    to ensure consistent names after a reboot and my instance ASM will not fail

    My question is, can I I "remap" the ASM/dev/sdb2 < labelname > disc without having to recreate all over again? If so, how?

    Thank you
    NACEUR

    N wrote:
    ASM autonomous, that is right.

    oracleasm createdisk is executed before installing the GRID.

    just now, I am from sracth, comes to complete installation of oel6 and create the partitions with fdisk on my raid1 + 0
    one that I have already formatted with ext3 and im moving the installers to the server to start

    Any guide you know I can't go through?

    Have not yet installed oracleasm.

    The next steps so far are:
    -Once all the installation on the server programs I'm good to go with oracleasm
    --> Create disc on an unformatted partition/dev/sdb2
    --> install grid
    --> create diskgroup
    --> install 11 GR 2
    --> instance to create

    DO NOT use oracleasm - as I have said, it is expected to be close to retirement. If you don't want to be related to it.

    Make sure that the device has the appropriate permissions before you start.
    In the installation program, select ASM for OCR. in the lower right corner to select CHANGE DISKSTRING and configured to point to/dev/sd * and he sees only one with the correct permissions. It will ask you the name of diskgroup, and you select the sdb2 with REDUNDANCY EXTERNAL device. It will automatically load the initial configuration. Watch the udev.config to find out how to set permissions on startup

    I don't usually promote other websites, but this looks like a good start on how to correctly configure udev...
    http://www.Oracle-base.com/articles/Linux/udev-SCSI-rules-configuration-in-Oracle-Linux-5-and-6.php#create_udev_rules_file

    >

    If you could point me to a guide on how can I do this without using asmlib I would be grateful.

    Do not!

  • GLWB-10521: could not resolve the ASM label

    Hello

    I try to install Oracle Grid Infrastructure 12 c Release 1 on Windows Server R2 2012 in a hyper-v Lab (to my intention is to install a complete rac - later).  I created my ASM storage with the role of ISCSI target (4 discs 20 GB each, all the dynamic extension), and they are all visible from both nodes.  I can ping all the IP addresses of all servers involved.  I required prior tasks, and there is one thing that I am invited to check.  Error message is:

    «Device checks for ASM - there is a control to check the devices specified in the requirements for the ASM.»  Error:

    -

    GLWB-10521: could not resolve disc ASM 'ORCLDISKDATA0' label to the path of unity on the node 'ORAN01DV' - Cause: could not resolve the ASM label to any device on the specified node.  -Action: Make sure the specified label of ASM is properly engraved on a device shared on the specified node and marked devices are accessible to the current user. To check the address record label use tools "Asmtoolg" on Windows operating system platforms and "oracleasm" on the Linux operating system platform.

    -

    GLWB-10521: could not resolve disc ASM 'ORCLDISKDATA1' label to the path of unity on the node 'ORAN01DV' - Cause: could not resolve the ASM label to any device on the specified node.  -Action: Make sure the specified label of ASM is properly engraved on a device shared on the specified node and marked devices are accessible to the current user. To check the address record label use tools "Asmtoolg" on Windows operating system platforms and "oracleasm" on the Linux operating system platform.

    -

    GLWB-10521: could not resolve disc ASM 'ORCLDISKDATA2' label to the path of unity on the node 'ORAN01DV' - Cause: could not resolve the ASM label to any device on the specified node.  -Action: Make sure the specified label of ASM is properly engraved on a device shared on the specified node and marked devices are accessible to the current user. To check the address record label use tools "Asmtoolg" on Windows operating system platforms and "oracleasm" on the Linux operating system platform.

    -

    GLWB-10521: could not resolve disc ASM 'ORCLDISKDATA3' label to the path of unity on the node 'ORAN01DV' - Cause: could not resolve the ASM label to any device on the specified node.  -Action: Make sure the specified label of ASM is properly engraved on a device shared on the specified node and marked devices are accessible to the current user. To check the address record label use tools "Asmtoolg" on Windows operating system platforms and "oracleasm" on the Linux operating system platform. »

    I opened Asmtoolg, and everything seems to be ok in there (all discs are stamped and are visible etc.).  I recognize that this is a complex area, so I understand that it will be difficult to difficult to diagnose.  I was really surprised to not find anywhere, any success on the internet for the GLWB-10521 error code well.  Does anyone have ideas of things I could try?

    Thanks in advance

    There is a bug (Bug 20428707 : GLWB - 10521 RAC INSTALLATION)

    Re: GLWB-10521

Maybe you are looking for