Automatic Storage Management Administrator's Guide
ContentsOpens a new window
Opens a new window
Page 476 of 609

Removing an Oracle ACFS File System and a Volume

To permanently remove a volume and Oracle ACFS file system, perform the following steps. These steps destroy the data in the file system.

  1. Deregister the file system with acfsutil registry -d.

    For example:

    $ /sbin/acfsutil registry -d /acfsmounts/acfs1
    acfsutil registry: successfully removed ACFS mount point
       /acfsmounts/acfs1 from Oracle Registry
    
    

    For information about running acfsutil registry, see "acfsutil registryOpens a new window".

  2. Dismount the file system.

    For example:

    # /bin/umount /acfsmounts/acfs1
    
    

    You must dismount the file system on all nodes of a cluster.

    Use umount on Linux systems or acfsdismount on Windows systems. For information about running umount or acfsdismount, see "umountOpens a new window" or "acfsdismountOpens a new window".

  3. Remove the file system with acfsutil rmfs.

    If you were not planning to remove the volume in a later step, this step is necessary to remove the file system. Otherwise, the file system is removed when the volume is deleted.

    For example:

    $ /sbin/acfsutil rmfs /dev/asm/volume1-123
    
    

    For information about running acfsutil rmfs, see "acfsutil rmfsOpens a new window".

  4. Optionally you can disable the volume with the ASMCMD voldisable command.

    For example:

    ASMCMD> voldisable -G data volume1
    
    

    For information about running voldisable, see Managing Oracle ADVM with ASMCMDOpens a new window .

  5. Delete the volume with the ASMCMD voldelete command.

    For example:

    ASMCMD> voldelete -G data volume1
    
    

    For information about running voldelete, see Managing Oracle ADVM with ASMCMDOpens a new window .

Previous PageOpens a new window
Page 476 of 609
Next PageOpens a new window