HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Bad block: magic number wrong
 
Operating System - HP-UX
        1840126
        Members
    
    
        5394
        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
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
 
09-25-2000 05:06 AM
09-25-2000 05:06 AM
			
				
					
						
							Bad block: magic number wrong
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
I have some troubles with my system, I tried to extend a logical volume group, with lvextend. This command works fine, then I used the command extendfs, my system answers me that the logical volume group needs fsck.
When I I tried fsck on the logical volume, I get a error : full check required. So I used fsck for my_disk. I get the next error:
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE -b OPTION TO FSCK TO SPECIFY LOCATION OF AN ALTERNATE
SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(1M).
I removed the logical volume,(make backup first) and reboot system, tried to create a logical volume but this doesn't work.
Get the same errors.
What do I have to do ? Do I something wrong ?
Does it destroy all my data when I use the -b option ?
thanks
Marcel
 
					
				
			
			
				
		
		
	
	
	
I have some troubles with my system, I tried to extend a logical volume group, with lvextend. This command works fine, then I used the command extendfs, my system answers me that the logical volume group needs fsck.
When I I tried fsck on the logical volume, I get a error : full check required. So I used fsck for my_disk. I get the next error:
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE -b OPTION TO FSCK TO SPECIFY LOCATION OF AN ALTERNATE
SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(1M).
I removed the logical volume,(make backup first) and reboot system, tried to create a logical volume but this doesn't work.
Get the same errors.
What do I have to do ? Do I something wrong ?
Does it destroy all my data when I use the -b option ?
thanks
Marcel
	See the man pages
			
			
				
			
			
			
			
			
			
		
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-25-2000 05:13 AM
09-25-2000 05:13 AM
			
				
					
						
							Re: Bad block: magic number wrong
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
when you get the fsck message 'full check required' you have a vxfs filesystem. Posiblly you have not used the fsck -F vxfs option to tell fsck which fs to use.
Also a full fsck on vxfs is done with:
fsck -F vxfs -o full /dev/vgXX/lvolX
Regards
Andrew
		
		
	
	
	
when you get the fsck message 'full check required' you have a vxfs filesystem. Posiblly you have not used the fsck -F vxfs option to tell fsck which fs to use.
Also a full fsck on vxfs is done with:
fsck -F vxfs -o full /dev/vgXX/lvolX
Regards
Andrew
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-25-2000 05:14 AM
09-25-2000 05:14 AM
			
				
					
						
							Re: Bad block: magic number wrong
						
					
					
				
			
		
	
			
	
	
	
	
	
Your original lvextend command worked fine but not extendfs. The lvol/filesystem must be unmounted to use extendfs, did you unmount it ?
If you have onlineJFS installed then you dont need to use extednfs, you can use fsadm -b instead and increase the filesystem on the fly.
	Im from Palmerston North, New Zealand, but somehow ended up in London...
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-25-2000 05:53 AM
09-25-2000 05:53 AM
			
				
					
						
							Re: Bad block: magic number wrong
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Thanks,
I already removed the logical volume and remove it from the fstab.
but unfortunally, I rebooted the system and used sam to create the logical volume and after that I extended the logical volume with the command line options and everything woks fine now. I don't know what happend.
Thank you for your time.
Marcel
		
		
	
	
	
I already removed the logical volume and remove it from the fstab.
but unfortunally, I rebooted the system and used sam to create the logical volume and after that I extended the logical volume with the command line options and everything woks fine now. I don't know what happend.
Thank you for your time.
Marcel
	See the man pages
			
			
				
			
			
			
			
			
			
		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