HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Reducing F/S using Online JFS version2
 
Operating System - HP-UX
        1840124
        Members
    
    
        2276
        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
 
08-28-2001 05:44 AM
08-28-2001 05:44 AM
			
				
					
					
						I have a HPUX 10.20 file sytem that requires reducing (so I can use the extents elsewhere) I know how to do this with standard LVM commands but this entails unmounting the directory (need to keep on line if possible)
We are using Online JFS version 2 and I believe that the disk layout is level3, can I use fsadm_vxfs commands to reduce the filesystem without causing filesystem corruption, or would I be better off backing up the data and unmounting the filesystem, then lvreducing, recreating the filesystem and restoring the data.
Any assistance would be helpful as I have only used Online JFS twice in my sysad time.
Cheers,
Kev
					
				
			
			
				
			
			
				
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
We are using Online JFS version 2 and I believe that the disk layout is level3, can I use fsadm_vxfs commands to reduce the filesystem without causing filesystem corruption, or would I be better off backing up the data and unmounting the filesystem, then lvreducing, recreating the filesystem and restoring the data.
Any assistance would be helpful as I have only used Online JFS twice in my sysad time.
Cheers,
Kev
Solved! Go to Solution.
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-28-2001 05:53 AM
08-28-2001 05:53 AM
Solution
			
				
					
					
						It's better to backup the file system as a precautionary measure always. You should have unused extents available at the end for you to
perform this operation.
#fsadm -b size_in_KB /your_filesystem
size_in_KB=your_newsize_inMB*1024
Once this is successful you can
do
lvreduce -L size_in_MB /dev/vgxx/your_lvol
If fsadm fails, you may try to do a defragmentation
using
fsadm -d -D -e -E /your_filesystem
-Sri
					
				
			
			
				
		
		
	
	
	
perform this operation.
#fsadm -b size_in_KB /your_filesystem
size_in_KB=your_newsize_inMB*1024
Once this is successful you can
do
lvreduce -L size_in_MB /dev/vgxx/your_lvol
If fsadm fails, you may try to do a defragmentation
using
fsadm -d -D -e -E /your_filesystem
-Sri
	You may be disappointed if you fail, but you are doomed if you don't try
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-28-2001 06:00 AM
08-28-2001 06:00 AM
			
				
					
						
							Re: Reducing F/S using Online JFS version2
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi Kevin,
Though the Online JFS version 2 supported reducing the filesystem while they were mounted, there have been cases where the data got corrupted but that seems to have changed with the new version of Online JFS ver 3.3
I would strongly recommend backing up your data before trying either option.
-Ramesh
		
		
	
	
	
Though the Online JFS version 2 supported reducing the filesystem while they were mounted, there have been cases where the data got corrupted but that seems to have changed with the new version of Online JFS ver 3.3
I would strongly recommend backing up your data before trying either option.
-Ramesh
	They think they know but don't. At least I know I don't know - Socrates
			
			
				
			
			
			
			
			
			
		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