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-2138772.1
Update Date:2018-01-05
Keywords:

Solution Type  Problem Resolution Sure

Solution  2138772.1 :   Oracle ZFS Storage Appliance: Replication target shares can be mounted in read/write mode without having the exported flag set  


Related Items
  • Sun ZFS Storage 7420
  •  
  • Sun Storage 7110 Unified Storage System
  •  
  • Oracle ZFS Storage ZS3-2
  •  
  • Sun Storage 7210 Unified Storage System
  •  
  • Oracle ZFS Storage ZS4-4
  •  
  • Sun Storage 7410 Unified Storage System
  •  
  • Sun ZFS Storage 7120
  •  
  • Sun Storage 7310 Unified Storage System
  •  
  • Oracle ZFS Storage ZS3-4
  •  
  • Sun ZFS Storage 7320
  •  
  • Oracle ZFS Storage Appliance Racked System ZS4-4
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>ZFS Storage>SN-DK: ZS
  •  




In this Document
Symptoms
Cause
Solution
References


Created from <SR 3-11920793651>

Applies to:

Oracle ZFS Storage ZS3-4 - Version All Versions and later
Oracle ZFS Storage ZS3-2 - Version All Versions and later
Oracle ZFS Storage ZS4-4 - Version All Versions and later
Oracle ZFS Storage Appliance Racked System ZS4-4 - Version All Versions and later
Sun ZFS Storage 7420 - Version All Versions and later
7000 Appliance OS (Fishworks)

Symptoms

We are able to mount with replicated target while exported=false and able to read/write.

 

Cause

By changing the sharenfs, it causes the replication target to be exported.

Client system:

client# showmount -e zfssa
no exported file systems for zfssa

 

ZFS Storage Appliance:

zfssa:shares replication source-000 package-000 repl> list

Filesystems:

NAME SIZE ENCRYPTED MOUNTPOINT
test 57.9K off /export/test



By only changing the sharenfs properties and committing the change

zfssa:shares replication source-000 package-000 repl> get sharenfs
  sharenfs = sec=sys,rw
zfssa:shares replication source-000 package-000 repl> set sharenfs="sec=sys,rw,root=test.oracle.com"
  sharenfs = sec=sys,rw,root=test.oracle.com (uncommitted)
zfssa:shares replication source-000 package-000 repl> commit
zfssa:shares replication source-000 package-000 repl>

 

Then we can see that the above replicated shares is now sharing out via NFS

client# showmount -e zfssa
export list for zfssa:
/export/test (everyone)

 

And the exported properties were not changed

zfssa:shares replication source-000 package-000 repl> get exported
  exported = false

 

And we are able to write to it

client# cd /net/zfssa/export/test
client# ls
client# touch abc
client# ls -l
total 1
-rw-r--r-- 1 root root 0 Jan 5 03:03 abc
client#

 

 

Solution

Issue is now fixed in 2013.1.7.0 (aka OS8.7.0)
 

References

<BUG:22495784> - REPLICATED TARGETS CAN BE MOUNTED BY CLIENTS WITHOUT BEING EXPORTED

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