Go to main content

Oracle® ZFS Storage Appliance Administration Guide, Release OS8.7.x

Exit Print View

Updated: November 2018
 
 

Deleting a Project (CLI)


Caution

Caution  -  Deleting a project destroys all data in the project by deleting its filesystems and LUNs.


  1. Go to shares.
    hostname:> shares
  2. Enter destroy and a project name.
    hostname:shares> destroy home
    
  3. Enter Y.
    This will destroy all data in "home"! Are you sure? (Y/N) 
    hostname:shares> Y
  4. To monitor the amount of space to be reclaimed in the storage pool if deferred update Asynchronous Dataset Deletion (OS8.7.0) has been accepted, enter cd .. to return to the root context. Enter configuration storage and enter ls to list storage pool properties. For the appropriate pool, note the amount of space for property async_destroy_reclaim_space.

    When the operation has completed, 0 (zero) is displayed.