Deleting Virtual Raw Disk

My understanding says that asmtool fake OS files as hard disk and get Oracle to recognise them as usable storage, as though they were hard disks? am i right ? as i have created the OS files using OS command in windows 7 and Mimicked these files using asmtool. After creating these file when i try to delete it using asmtool it says.
C:\Windows\system32>asmtool -delete ORCLDISKRAW1
ASM-00204: Ignoring ORCLDISKRAW1: not a valid ASM partitionHow can i achieve the above using asmtool? What i understand asmtool could be used diffrent partition disk to make one unit and hence the different partition should be raw one not an OS formatted like NTFS , FAT etc. Asmtool is not only for creating the fake disk it could be used for production environment SAN disks to make one ASM formatted chunk isnt?
Sumon

925940 wrote:
My understanding says that asmtool fake OS files as hard disk and get Oracle to recognise them as usable storage, as though they were hard disks? asmtool can work with hard disk, partition or file but files are not supported for production environments.
What is the output of:
asmtool -listIt looks like you cannot use asmtool to remove a stamp created on a file (tested with 10.2.0.5 on Windows7):
C:\Windows\system32>asmtool -create c:\tmp\disk1.asm 10m
C:\Windows\system32>asmtool -list
NTFS                             \Device\Harddisk0\Partition1            14000M
NTFS                             \Device\Harddisk0\Partition2              100M
NTFS                             \Device\Harddisk0\Partition3            97663M
NTFS                             \Device\Harddisk0\Partition4           842102M
FAT32                            \Device\Harddisk1\Partition1           152625M
NTFS                             \Device\Harddisk2\Partition1           476937M
C:\Windows\system32>asmtool -delete c:\tmp\disk1.asm
ASM-00204: Ignoring ORCLDISKC:\TMP\DISK1.ASM: not a valid ASM partition
C:\Windows\system32>asmtool -delete ORCLDISKC
ASM-00204: Ignoring ORCLDISKC: not a valid ASM partitionEdited by: P. Forstmann on 6 déc. 2012 08:53

Similar Messages

  • Reclaiming disk space after deleting virtual hard drive

    Hello forum, I have to temporarily create a 200GB virtual disk and attach to a virtual server. The purpose of the disk is for moving some files across different servers. Once the files have been moved, I would like to delete the disk and release the space back to the datastore. Can this be done? I have a datastore with enough disk space from which the temporary disk will be created. But I would like to release the space back to that datastore once purpose is solved. Any inputs?
    Thanks in advance.

    Like already stated above, make sure select the option Remove from virtual machine and delete files from disk when removing the disk from virtual machine. Take in mind that VM must not be running from a snapshot, otherwise only the delta file will be deleted: VMware KB: Removing a harddisk from a virtual machine through the vSphere client does not release the desired space.…

  • SCVMM 2012 RC - Unable to remove a VHD in the library because it has a dependency (Virtual Hard Disk deployment configuration)

    When attempting to delete a VHD in the library, I am getting the below error message. Any thoughts on where I might look for the dependency "Virtual Hard Disk deployment configuration"?
    Exact error message:
    The library object (os_disk) cannot be removed because following objects are dependent on it:
    Virtual Hard Disk deployment configuration
    Please ensure that no objects are dependent on this library object and try the operation again.
    ID: 848

    On the final version (tested in 2012 SP1)
    Suggest this instead of hacking around in the database:
    You will receive a message that objects are dependent on the library object. Note the name that is listed after "VM Template"
    Go to powershell in scvmm
    Run:
    remove-scvmtemplate -vmtemplate "NAME_YOU_RECORDED_FROM_ERROR"
    Then, you can delete the template from SCVMM,
    Wow Microsoft, Wow.

  • Oracle VM 3.1 Guest VM backup using raw disk

    Hi
    I am implementing VM 3.1, the Guest VM are using raw disks from SAN instead of virtual disks.
    I wonder if cloning the guests online is a good backup & recovery strategy or there are any pther options?
    TIA

    Hi
    I am implementing VM 3.1, the Guest VM are using raw disks from SAN instead of virtual disks.
    I wonder if cloning the guests online is a good backup & recovery strategy or there are any pther options?
    TIA

  • Add/Remove Raw disk to a Solaris 11 Container

    Hi All,
    What is the process or commands used to add or remove raw disks to a Solaris 11 containers.
    I need to present the raw disks to containers so that Oracle ASM can be used on the containers. I have added the raw disks but not able to delete the extra disk. Can somebody help on this. Thanks in Advance.

    I've not tried this with disk (only with tapes and that years ago on Solaris 10) but I think you need something add something like the following to your zone's configuration using zonecfg.
    add device
    set match=/dev/rdsk/<a pattern which matches the disks you want to import>
    end
    See the Solaris 11 zonecfg manual page (example 8 applies).
    Again - I've not tried this so I can't swear that it will work.

  • Hyper-V Error 0x80070050 Virtual Hard Disk already exists.

    Hi All,
    I'm new to this form and virtualization. I was able to create a Virtual computer with Hyper-V but ended up deleting it due to an error I couldn't resolve during the OS installation process. When I try to create a new virtual computer with the same name I
    get an error saying "The system failed to create a virtual hard disk (hard disk path and name .vhdx) the file already exists 0x80070050" I can not find that file anywhere to remove it even though I already deleted the virtual computer. Anyone ideas
    on how to fix this, I don't want to always have to make new unique names if I delete one to make a new one. I'm using this server to learn on and I will most likely be doing a lot of deleting and creations.
    Thank you,
    James

    James,
    Most likely under "c:\ProgramData\..." which is a hidden folder by default on your system. Look around under this directory - "c:\ProgramData\Microsoft\Hyper-V" or something similar.
    BTW - You can configure Hyper-V to tell it where to store the VHDs.
    Regards,
    -Steve

  • Raw disk on server 2008 R2

    Hi all
    first - thanks H.V for an amazing utility!
    Sorry if I am doubling on this but i tried searching for anyone with the same issue....
    it seems that running vdbench on server 2008R2 raw disk ( no partition at all ) i cannot access it via \\.\physicaldiskX where x is the number
    u can only create partition , not format it and access \\.\Z: where z is the drive letter assigned
    I am following H.V.'s advice :
    https://blogs.oracle.com/henk/entry/vdbench_and_raw_write_i
    and i actually want to access a no file system disk.
    why the need for creating a partition ?
    thanks
    Isaac

    well, silly of me, i did not save the error messages.
    i just tried to replicate the error and it did not appear. ( i.e. it works  ) 
    i CAN say though that when i tried using the older version (5.0.2 with the gui ) it said no raw devices found. ( still does )
    i am running in a virtual machine attached a test disk to it, and just could not run..
    same commands hold now ( even with the older version ) as long as i don't use the gui ( which i wanted for tutorial purpose)
    so in a way problem fixed ( as you do not support the GUI , and i can run it now )
    i gotta admit though it does bother me because i did not do anything different ( BTW when trying to recreate the issue , i completely remove the disk from the VM , and created a new one ( just because i though a delay in updating the OS might have something to do with it - but nope.)
    is there any append log i can dig the error ? ( if it is of any interest )
    thanks
    issac

  • Use previous "Delete from hard disk" checked state?

    Is there any way for the program to use the previous "Also delete selected item(s) from the hard disk" checked state in the file deletion confirmation dialog?  It gets tedious to check it every time I want to delete a file and if I forget to do it I will have an extra file sitting on my hard disk not in my catalog.

    A quick shortcut that I use is to hit the spacebar (checks/unchecks the "delete from
    hard disk" option), then hit the enter key to complete the process.
    Michael

  • Creating a Master virtual hard disk and using the same for all other VM's

    Hi,
    We would like to create a master virtual hard disk and use the same for all other VM's. Can we do that ?
    my requirements :
    1) create 10 VM's
    2) first create a master virtual hard disk with win OS and use the same to create the 10 VM's.
    3) After creating the VM's change the HDD size.
                  -- if i have created master virtual disk with 500GB , and use the same for creating a virtual machine. can we change the HDD size to 1TB ?
    After creating the VM's ,i will change the system names and activate the windows accordingly.
    Will there be any implications ,if we can/will do like this.
    Thanks.

    Hi Suren424,
    I think Using Differencing Disks may cover your needs .
    Please refer to following setps:
       "Create the Parent Virtual Machine Configuration and Virtual Hard Disk
        Install the Operating System, updates, and common software
        Generalize the installation
        Prepare the parent virtual hard disk
        Create the differencing disks
        Create virtual machines that use the differencing disks
    For details please refer to follwing link:
    http://social.technet.microsoft.com/wiki/contents/articles/1393.hyper-v-virtual-machine-vm-parent-child-configuration-using-differencing-disks.aspx
    Hope this helps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Virtual Machine disks are attached to a machine that no longer exists

    http://social.msdn.microsoft.com/Forums/en-US/WAVirtualMachinesforWindows/thread/2695008b-59e7-478b-8169-8ceb9b0d848d
    Continuation of the above issue..
    I've deleted a machine via power shell but the disks are still associated with the old machine.  I also see a disk there that belongs to a machine that was deleted a couple of weeks ago through the management console.  Is there any way to resolve
    the associations? 
    I'd like to delete the one disk that belongs to the older server but I need to retain a couple of disks that pertain to the server mentioned in the above referenced thread where I was trying to resolve an unknown state by deleting and recreating the machine
    through power shell.

    I found the command to use to remove these disks using the Windows Azure Powershell cmdlets:
    Remove-AzureDisk -DiskName <string> -DeleteVHD
    Output:
    OperationDescription       OperationId                OperationStatus
    Remove-AzureDisk           xxxxxxxx-xxxx-xxxx-xxxx... Succeeded
    It took a bit of fiddling around with management certificates to get the Get-AzureDisk cmdlet working, but once that is done this removed both the disks from the portal, and the associated VHD files from blob storage.
    Here are the steps I used:
     C:\PS>$subID = <Subscription ID>
     C:\PS>$thumbprint = <Certificate Thumbprint>
     C:\PS>$myCert = Get-Item cert:\\CurrentUser\My\$thumbprint
     C:\PS>Set-AzureSubscription -SubscriptionName "MySub" -SubscriptionId $subID -Certificate $myCert
    Then Get-AzureDisk works and you can proceed with removing the disk(s).

  • Solved: I cannot manage (bring online, initialize, partition, format, or write to) a VHDX hard drive once it has "Enable Virtual Hard Disk Sharing" enabled.

    Hello,
    Issue:
    On a Virtual Machine with a secondary VHDX attached, I cannot manage (bring online, initialize, partition, format, or write to) the VHDX hard drive once it has "Enable Virtual Hard Disk Sharing (VHD Sharing)" enabled.
    Questions:
    Should I be able to manage (bring online, initialize, partition, format, and write to) a VHDX hard drive once it has VHD Sharing enabled? If I should be able to manage it, what am I missing?
    Topography:
    One SuperMicro Cluster In a Box (CIB) with 2012 R2 Data Center on each node. Microsoft Failover Cluster installed and working on each node. The Failover Cluster Servers on each host passes all cluster validation tests. Two Hyper-V 2012 R2 Data Center Virtual
    Machine (VM) servers, one on each node. 1 common Cluster Shared Volume (CSV) and 1 Generation 2 Scale-Out File Server (SOFS) shared volume both Resilient File System (REFS) formatted. One 5 Gigabit (Gb) Virtual Hard Drive Type X (VHDX) file on the CSV and/or
    SOFS. Integrity bit and read only turned off on VHDX file.
    Each of the two Hyper-V VMs have one 127Gb VHDX Generation 2 primary hard drive and 1 VHDX secondary hard drive attached, both on SCSI Controller #1.
    Background:
    If I start VM1 without the VHD Sharing enabled on the secondary hard drive, I can bring the drive online, initialize, partition, format, and write to the drive.
    If I enable VHD Sharing, I can no longer modify the drive in Disk Management in any way. With or without VM2 running.
    Both VMs and the CSV and SOFS are on the same host cluster server, or not, no difference…
    The VHDX is referenced either by the CSV name C:\ClusterStorage\Volume1\TEST1.VHDX
     or a Shared Folder name
    \\sharedfolder\folder\Test1.VHDX .
    If I start VM1 with VHD Sharing disabled and I format the drive, then shut down and enable VHD Sharing, the drive is offline and requests initialization which fails with an "I/O device error", every other attempt to manage the drive fails with
    the same "I/O device error", error.
    Events:
    VDS fails to write boot code on a disk during clean operation. Error code: 8007045D@02070008
    Log Name:      System
    Source:        Virtual Disk Service
    Date:          3/3/2015 11:39:18 AM
    Event ID:      10
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Server1.Domain.local
    Description:
    VDS fails to write boot code on a disk during clean operation. Error code: 8007045D@02070008
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Virtual Disk Service" />
        <EventID Qualifiers="49664">10</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-03-03T19:39:18.000000000Z" />
        <EventRecordID>27318</EventRecordID>
        <Channel>System</Channel>
        <Computer> Server1.Domain.local </Computer>
        <Security />
      </System>
      <EventData>
        <Data>8007045D@02070008</Data>
      </EventData>
    </Event>
    AND
    Log Name:      System
    Source:        disk
    Date:          3/3/2015 12:16:42 PM
    Event ID:      153
    Task Category: None
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      Server1.Domain.local
    Description:
    The IO operation at logical block address 0x0 for Disk 1 (PDO name: \Device\MPIODisk1) was retried.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="disk" />
        <EventID Qualifiers="32772">153</EventID>
        <Level>3</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-03-03T20:16:42.017090000Z" />
        <EventRecordID>27333</EventRecordID>
        <Channel>System</Channel>
        <Computer>Server1.Domain.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>\Device\Harddisk1\DR1</Data>
        <Data>0x0</Data>
        <Data>1</Data>
        <Data>\Device\MPIODisk1</Data>
        <Binary>0F01040004002C00000000009900048000000000000000000000000000000000000000000000000000020488</Binary>
      </EventData>
    </Event>
    Thanks again for any help,
    Robert

    Hi All,
    I had to buy a Willy Wonka bar and spend a golden ticket to get an answer to this one.
    We found that the default LogicalSectorSizeBytes of a VHDX is 512b. It needs to be 4kb.
    The Host drive doesn't seem to matter CSV or SOFS. Below is a way to create a VHDX with the correct LogicalSectorSizeBytes.
    In Power Shell, type --> New-VHD -Path C:\ClusterStorage\Volume4\Cluster2DataDisks\Cluster2Disk1.vhdx -SizeBytes 200Gb -PhysicalSectorSizeBytes 4kb -LogicalSectorSizeBytes 4kb
    Attach the resulting file to your guest cluster servers and set the Enable Virtual Hard Disk Sharing option on both server. You should now be able to bring the drives on-line and initialize them. They will also add to the guest cluster pool.
    Change the size, path and file name above to fit your Cluster Servers configuration.
    Thank You 
    Sachin Kumar Support Engineer | Windows Server Setup Team | Microsoft Enterprise Platform for finding the answer to this one.
    Hope this helps others.
    Robert

  • I can't delete partition in disk utility, it keeps telling me that "the changes are too small"

    I previously split my disk into two different disks, however I want to combine them together again, yet i was unable to delete the second partition. I can't delete partition in disk utility, it keeps telling me that "the changes are too small"
    Plz help!!!!!!

    Make at least two complete backups of all your data. Boot from another drive and partition this one as desired. Restore the data.

  • The server encounter an error while attaching Virtual Hard Disk in Windows Server 2008R2

    Unable to add an existing virtual hard disk in new VM(windows server 2008r2).

    Please repost here:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverhyperv
    And include the actual and full error message.

  • Error (23317) The operation Change properties of virtual machine is not permitted on a virtual machine that has shared virtual hard disks. Recommended Action The operation Change properties of virtual machine is not permitted on a virtual machine that h

    Experts !
    Error (23317)
    The operation Change properties of virtual machine is not permitted on a virtual machine that has shared virtual hard disks.
    Recommended Action
    The operation Change properties of virtual machine is not permitted on a virtual machine that has shared virtual hard disks.
    Is this limitation by design? If we have a shared VHDX between two VMs, then I am not able to change the VM properties from SCVMM.
    SCVMM 2012 R2 with Windows Server 2012 R2 Hyper-V.
    Appreciate any help !
    Optimism is the faith that leads to achievement. Nothing can be done without hope and confidence.
    InsideVirtualization.com

    Hello,
    that is a VMM issue.
    If you did not deploy your virtual cluster from a VMM service template, VMM doesn't recognize the configuration.
    Until MS got it fixed, you could use the workaround from system center central:
    http://www.systemcentercentral.com/tag/shared-vhdx/
    This posting is provided >AS IS< with no warranties.

  • Time Machine Backup Error. Time machine could not delete the backup disk image .sparsebundle

    Time Machine is giving an error message.  Time Machine couldnt complete the backup.  I am using the Seagate GoFlex Home.  Error message states Time Machine could not delete the backup disk image "/volumes/Go Flex Home Backup/iMAc.sparsebundle".  Does anybody have any ideas?

    I have deleted all files in the Time Machine backup via Windows, Finder, and GoFlex UI.
    I think this is your problem.. you need to follow the exact setup from seagate to get TM running again.. please read the manual... I do not have one but I do have another brand of NAS and setting up TM involves a fairly complex set of instructions.. because it is not a native Apple device.. your computer does not recognise it as TM capable.. you need to use the work around the manual will explain.

Maybe you are looking for

  • MBP not going to sleep

    I have had my MacBook Pro for a little over a week now and i am noticing that it is not going to sleep according to my energy saver preferences, or at all for that matter. Any ideas?

  • WRBTR and DMBTR

    Hi I am working on LSMW using BAPI(BUS6035). I am facing problem in mapping of DMBTR as it is not present in BAPI (BAPI_ACC_DOCUMENT_POST). How to map this field??? Thanks in Advance

  • Take 2 - What's the story?

    I bought an AppleTV this past weekend. Based on watching the stevenote I got the distinct impression that there were no hardware changes to the AppleTV and the Take 2 update was purely software. Now I am seeing contradictory statements on other websi

  • HT4913 How do I fix an error 4010

    I get an error 4010 when I try to do iTunes Match.   This happened after I upgraded to the most recent iOS How do I resolve the error?

  • Clarification on BICS connectivity

    Hi All, I  Have a clarification that is it possible to connect SAP Netweaver connection with workbook? We have a requirement on connecting with BICS. Please let me know if you have any suppot document. Thanks Sathiya