Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1548704.1
Update Date:2013-09-02
Keywords:

Solution Type  Problem Resolution Sure

Solution  1548704.1 :   Sun Storage 7000 Unified Storage System: Error "Directory is currently in use by another share" when cloning a snapshot  


Related Items
  • Sun ZFS Storage 7320
  •  
  • Sun Storage 7210 Unified Storage System
  •  
  • Sun Storage 7410 Unified Storage System
  •  
  • Sun ZFS Storage 7420
  •  
  • Sun Storage 7310 Unified Storage System
  •  
  • Sun Storage 7110 Unified Storage System
  •  
  • Sun ZFS Storage 7120
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>ZFS Storage>SN-DK: 7xxx NAS
  •  




In this Document
Symptoms
Cause
Solution


Created from <SR 3-7116810821>

Applies to:

Sun Storage 7110 Unified Storage System - Version All Versions to All Versions [Release All Releases]
Sun Storage 7210 Unified Storage System - Version All Versions to All Versions [Release All Releases]
Sun ZFS Storage 7420 - Version All Versions to All Versions [Release All Releases]
Sun ZFS Storage 7320 - Version All Versions to All Versions [Release All Releases]
Sun Storage 7310 Unified Storage System - Version All Versions to All Versions [Release All Releases]
7000 Appliance OS (Fishworks)

Symptoms

To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community - Disk Storage ZFS Storage Appliance

When cloning a snapshot the following error is received:

error: invalid property value "/export/<share_mountpoint>" for "mountpoint": Directory is
      currently in use by another share
error: failed to commit changes


Cause

The mountpoint is used by another share.


The mountpoints must be unique.

 

Solution

When cloning a snapshot and the share the snapshot is taken from is not set to inherit the mountpoint, you must manually set the mountpoint to a unique name before committing the clone creation.

Example:

    set mountpoint=/export/<unique mountpoint>

 

If a Share is not configured to inherit its mountpoint from the project, then when creating a clone of snapshot from that share, the mountpoint of the clone defaults to the same mountpoint as the snapshot.

Example when the mountpoint is NOT inherited:

ZFS-SA:> shares select TestProject select TestShare get mountpoint
                   mountpoint = /export/TestShare

Note: the share does not list the mountpoint as "Inherited".

ZFS-SA> shares select TestProject select TestShare snapshots select TestSnap clone TestClone
ZFS_SA:shares TestProject/TestClone (uncommitted clone)> commit
error: invalid property value "/export/TestShare" for "mountpoint": Directory is
      currently in use by another share
error: failed to commit changes
ZFS_SA:shares TestProject/TestClone (uncommitted clone)> get mountpoint
                   mountpoint = /export/TestShare (default)
ZFS_SA:shares Jay/TestClone (uncommitted clone)>  abort
Leaving will abort creation of "TestClone". Are you sure? (Y/N)
ZFS-SA>


Example when the mountpoint IS inherited:

ZFS-SA:> shares select TestProject select TestShare get mountpoint
                   mountpoint = /export/snap-off (inherited)

Note: the share displays the mountpoint as "Inherited".

ZFS-SA> shares select TestProject select TestShare snapshots select TestSnap clone TestClone
ZFS_SA:shares TestProject/TestClone (uncommitted clone)> get mountpoint
                   mountpoint = /export/TestClone (inherited)
ZFS_SA:shares TestProject/TestClone (uncommitted clone)> commit
ZFS-SA:>

 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback