HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - exportfs root=localhost
 
Operating System - Linux
        1840154
        Members
    
    
        2763
        Online
    
    
        110161
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
01-16-2009 01:26 AM
01-16-2009 01:26 AM
			
				
					
					
						HI folks,
I have a little problem with an configuration for a NFS-server.
At our company we run a cluster with 3 nodes.
All 3 nodes have filesystems which have to be accessed by all 3 servers on the same path. So I decided to mount the filesystem via NFS over all 3 servers.
For exapmle:
We have a directory called /cad.
I mount this directory from /dev/vg01/lvol12 to /cad_real.
This directory is exported via exportfs:
exportfs -i -o anon=65534,root=server1:server2:server3 /cad_real
In the fstab in every server is an entry like "pkg1:/cad_real /cad"
But not all servers have root priviges on that directory. The NFS-server itself has non to this directory.
I tried to change the exportfs statment to root=server1:server2:localhost but this isn't working ether.
Now to my question, is it possible that the nfs-server can do a "root" mount of it's own export? If yes then please help me.
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
I have a little problem with an configuration for a NFS-server.
At our company we run a cluster with 3 nodes.
All 3 nodes have filesystems which have to be accessed by all 3 servers on the same path. So I decided to mount the filesystem via NFS over all 3 servers.
For exapmle:
We have a directory called /cad.
I mount this directory from /dev/vg01/lvol12 to /cad_real.
This directory is exported via exportfs:
exportfs -i -o anon=65534,root=server1:server2:server3 /cad_real
In the fstab in every server is an entry like "pkg1:/cad_real /cad"
But not all servers have root priviges on that directory. The NFS-server itself has non to this directory.
I tried to change the exportfs statment to root=server1:server2:localhost but this isn't working ether.
Now to my question, is it possible that the nfs-server can do a "root" mount of it's own export? If yes then please help me.
Solved! Go to Solution.
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
01-19-2009 03:53 AM
01-19-2009 03:53 AM
Solution
			
				
					
					
						Is this HP-UX 11.31?
HP inherited the "well known" behavior of Solaris here.
You need to add the pkg1-Name to the export too. It might also be necessary to add pkg1 to /etc/hosts on all 3 nodes. Please do so even if you use DNS for name resolution!
You should not mount those cluster filesystems in /etc/fstab, but configure autofs to do so. This will save you some headeaches if you boot a node when the package is down.
My 2 cents,
Armin
					
				
			
			
				
		
		
	
	
	
HP inherited the "well known" behavior of Solaris here.
You need to add the pkg1-Name to the export too. It might also be necessary to add pkg1 to /etc/hosts on all 3 nodes. Please do so even if you use DNS for name resolution!
You should not mount those cluster filesystems in /etc/fstab, but configure autofs to do so. This will save you some headeaches if you boot a node when the package is down.
My 2 cents,
Armin
	And now for something completely different...
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
01-19-2009 04:20 AM
01-19-2009 04:20 AM
			
				
					
						
							Re: exportfs root=localhost
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
thanks for your replay! the pkg name has done the trick.
The HP-UX Version is 11.11.
Sorry I forgot to wrote it in my first post.
I will also look into the autofs thing.
Normally there shouldn't be a down package so I thought that will be ok with the /etc/fstab.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
thanks for your replay! the pkg name has done the trick.
The HP-UX Version is 11.11.
Sorry I forgot to wrote it in my first post.
I will also look into the autofs thing.
Normally there shouldn't be a down package so I thought that will be ok with the /etc/fstab.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP