z/OS Network File System Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Displaying default and mount point attributes - showattr

z/OS Network File System Guide and Reference
SC23-6883-00

Use the showattr command to display the default attributes or the attributes that have been set for a specific mount point. If you specify a mount point, showattr shows the attributes for the mount point, including the overriding values. For descriptions of the attributes, see Initialization attributes for the z/OS NFS server.

If you omit the hostname, you must specify the /localpath.

Table 1 shows examples of the showattr command for some clients.

Table 1. Examples of the showattr command for clients
Client Environments Command Examples
AIX, UNIX showattr mvshost1 /u/smith/mnt
z/OS showattr mvshost1 /u/smith/mnt
Solaris showattr mvshost1 /u/smith/mnt
Linux showattr mvshost1 /u/smith/mnt

Make sure that your version of the showattr command matches the release of the z/OS NFS that you are using. Otherwise, the z/OS NFS server attributes do not display.

These examples show different ways you can use the showattr and mount commands.

Figure 1 shows a showattr command with just the host name (mvshost1 in this example) specified. The attributes for the server are displayed.
Figure 1. Displaying server attributes
# showattr  mvshost1                                                  
                                                                    
GFSA988I Remote host does not have AF_INET6 interface. 

FMID HDZ1C1N , last APAR HDZ1C1N, last changed module: GFSARXDR
Compiled at May  5 2010 09:15:39            
                                                                    
z/OS Network File System Server Data Set Creation Attributes:       
                                                                    
lrecl(8196)             recfm(vb)               blksize(0)   
space(100,10)           blks                    dsorg(ps)    
dir(27)                 unit()                  volume()     
recordsize(512,4K)      keys(64,0)              nonspanned   
shareoptions(1,3)       mgmtclas()              dsntype(pds) 
norlse                  dataclas()              storclas()    
                                                                    
z/OS Network File System Server Processing Attributes:              
                                                                    
binary                  lf                      blankstrip          
nofastfilesize          retrieve                maplower            
mapleaddot              executebitoff           setownerroot        
attrtimeout(120)        readtimeout(90)         writetimeout(30,120)
sync                    nofileextmap            xlat()              
srv_ccsid(1047)         cln_ccsid(819)          notag               
convserv(lre)           nordrverf               sidefile()                         
                                                                    
z/OS Network File System Server Site Attributes:   
                                                                    
mintimeout(1)           nomaxtimeout            logout(1800)                  
nfstasks(8,16,8,4,4)    restimeout(48,0)                                      
hfsprefix(/hfs)         mvsprefix(/mvs)         impprefix(mvs)                
bufhigh(32M, 80%)       readaheadmax(16K)       cachewindow(112)              
percentsteal(20)        maxrdforszleft(32)      logicalcache(16M)             
smf(none,off)           nopcnfsd                security(safexp,safexp,safexp)
leadswitch              sfmax(0)                nochecklist                   
fn_delimiter(,)         readdirtimeout(30)      hfsfbtimeout(60)              
upcase                  rec878                  mintasks(4,4,1)               
noremount               fileidsize(64)          denyrw                        
nonlm                   nodhcp                  nostringprep                  
leasetime(120)          nodelegation            DlyDTimeout(10)               
setgid(posix)           nosymresolve            mvslogindelay(0)         
nfsv4domain()                                                            
public()                        mvssec(sys,krb5,krb5i,krb5p)                  
hfssec(sys,krb5,krb5i,krb5p)    pubsec(sys,krb5,krb5i,krb5p)
If you use the terse (-t) option, the attributes display like this:
# showattr  -t  mvshost1                                                         
                                                                                 
GFSA988I Remote host does not have AF_INET6 interface.                          
lrecl(8196),recfm(vb),blksize(0),space(100,10),blks,dsorg(ps),dir(27),unit(),      
volume(),recordsize(512,4K),keys(64,0),nonspanned,shareoptions(1,3),mgmtclas(), 
dsntype(pds),norlse,dataclas(),storclas()                                       
binary,lf,blankstrip,nofastfilesize,retrieve,maplower,mapleaddot,executebitoff, 
setownerroot,attrtimeout(120),readtimeout(90),writetimeout(30,120),sync,        
nofileextmap,xlat(),srv_ccsid(1047),cln_ccsid(819),notag,convserv(lre),nordrverf,
sidefile()                                                                      
mintimeout(1),nomaxtimeout,logout(1800),nfstasks(8,16,8,4,4),restimeout(48,0),  
hfsprefix(/hfs),mvsprefix(/mvs),impprefix(mvs),bufhigh(32M,80%),                
readaheadmax(16K),cachewindow(112),percentsteal(20),maxrdforszleft(32),         
logicalcache(16M),smf(none,off),nopcnfsd,security(safexp,safexp,safexp),        
leadswitch,sfmax(0),nochecklist,fn_delimiter(,),readdirtimeout(30),             
hfsfbtimeout(60),upcase,rec878,mintasks(4,4,1),noremount,fileidsize(64),denyrw, 
nonlm,nodhcp,nostringprep,leasetime(120),nodelegation,DlyDTimeout(10),          
setgid(posix),nosymresolve,mvslogindelay(0),nfsv4domain(),public(),
mvssec(sys,krb5,krb5i,krb5p),hfssec(sys,krb5,krb5i,krb5p),
pubsec(sys,krb5,krb5i,krb5p),hfssec(sys,krb5,krb5i,krb5p),
pubsec(sys,krb5,krb5i,krb5p)                  

Figure 2 illustrates the showattr command being used to display the attributes for the z/OS host named mvshost1 as well as the mount point, /u/smith/mnt.

Figure 3 also illustrates the specified options: a second showattr command, where the client user specifies /u/smith/mnt in addition to mvshost1. This shows the user's specified settings at that mount point, rather than the settings in the attributes data set.
Figure 2. Displaying mount point attributes. The client user changed the space(100,10), blks, and binary attributes to space(5,0), trks, and text for the mount point /u/smith/mnt, and then specified that mount point in the second showattr command.
# mount mvshost1:"smith,text,space(5,0),trks"  /u/smith/mnt                        
                                                                                 
# showattr  mvshost1                                                               
                                                                                 
GFSA988I Remote host does not have AF_INET6 interface.     

FMID HDZ1C1N , last APAR HDZ1C1N, last changed module: GFSARXDR
Compiled at May  5 2010 09:15:39                         
                                                                                 
z/OS Network File System Server Data Set Creation Attributes:                    
                                                                                 
lrecl(8196)             recfm(vb)               blksize(0)   
space(100,10)           blks                    dsorg(ps)    
dir(27)                 unit()                  volume()     
recordsize(512,4K)      keys(64,0)              nonspanned   
shareoptions(1,3)       mgmtclas()              dsntype(pds) 
norlse                  dataclas()              storclas()  
                                                                                 
z/OS Network File System Server Processing Attributes:                        
                                                                              
binary                  lf                      blankstrip          
nofastfilesize          retrieve                maplower            
mapleaddot              executebitoff           setownerroot        
attrtimeout(120)        readtimeout(90)         writetimeout(30,120)
sync                    nofileextmap            xlat()              
srv_ccsid(1047)         cln_ccsid(819)          notag               
convserv(lre)           nordrverf               sidefile()         
                                                                              
                                                                              
z/OS Network File System Server Site Attributes:   
                                                                    
mintimeout(1)           nomaxtimeout            logout(1800)                  
nfstasks(8,16,8,4,4)    restimeout(48,0)                                      
hfsprefix(/hfs)         mvsprefix(/mvs)         impprefix(mvs)                
bufhigh(32M, 80%)       readaheadmax(16K)       cachewindow(112)   
percentsteal(20)        maxrdforszleft(32)      logicalcache(16M)             
smf(none,off)           nopcnfsd                security(safexp,safexp,safexp)
leadswitch              sfmax(0)                nochecklist                   
fn_delimiter(,)         readdirtimeout(30)      hfsfbtimeout(60)              
upcase                  rec878                  mintasks(4,4,1)               
noremount               fileidsize(64)          denyrw                        
nonlm                   nodhcp                  nostringprep                  
leasetime(120)          nodelegation            DlyDTimeout(10)               
setgid(posix)           nosymresolve            mvslogindelay(0)  
nfsv4domain()                                                                 
public()                        mvssec(sys,krb5,krb5i,krb5p)                  
hfssec(sys,krb5,krb5i,krb5p)    pubsec(sys,krb5,krb5i,krb5p)
Figure 3. Displaying mount point attributes, part 2. The client specified that mount point in the showattr command.
# showattr  mvshost1   /u/smith/mnt                                             
                                                                              
GFSA988I Remote host does not have AF_INET6 interface.                        
server = mvshost1, serverbuf = mvshost1                                          

FFMID HDZ1C1N , last APAR HDZ1C1N, last changed module: GFSARXDR
Compiled at May  5 2010 09:15:39  
                                                                              
z/OS Network File System Server Data Set Creation Attributes:                 
                                                                              
lrecl(8196)             recfm(vb)               blksize(0)   
space(100,10)           blks                    dsorg(ps)    
dir(27)                 unit()                  volume()     
recordsize(512,4K)      keys(64,0)              nonspanned   
shareoptions(1,3)       mgmtclas()              dsntype(pds) 
norlse                  dataclas()              storclas()   
                                                                              
                                                                              
z/OS Network File System Server Processing Attributes:                        
                                                                              
binary                  lf                      blankstrip          
nofastfilesize          retrieve                maplower            
mapleaddot              executebitoff           setownerroot        
attrtimeout(120)        readtimeout(90)         writetimeout(30,120)
sync                    nofileextmap            xlat()              
srv_ccsid(1047)         cln_ccsid(819)          notag               
convserv(lre)           nordrverf               znfsclient          
sidefile()                                                          
                                                                              
NFSv4 mount point; may be unmounted.                                          
                                                                              
                                                                              
z/OS Network File System Server Site Attributes:   
                                                                    
mintimeout(1)           nomaxtimeout            logout(1800)                  
nfstasks(8,16,8,4,4)    restimeout(48,0)                                      
hfsprefix(/hfs)         mvsprefix(/mvs)         impprefix(mvs)                
bufhigh(32M, 80%)       readaheadmax(16K)       cachewindow(112) 
percentsteal(20)        maxrdforszleft(32)      logicalcache(16M)             
smf(none,off)           nopcnfsd                security(safexp,safexp,safexp)
leadswitch              sfmax(0)                nochecklist                   
fn_delimiter(,)         readdirtimeout(30)      hfsfbtimeout(60)              
upcase                  rec878                  mintasks(4,4,1)               
noremount               fileidsize(64)          denyrw                        
nonlm                   nodhcp                  nostringprep                  
leasetime(120)          nodelegation            DlyDTimeout(10)               
setgid(posix)           nosymresolve            mvslogindelay(0)
nfsv4domain()                                                            
public()                        mvssec(sys,krb5,krb5i,krb5p)                  
hfssec(sys,krb5,krb5i,krb5p)    pubsec(sys,krb5,krb5i,krb5p)    

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014