HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Bad Disk and Need to re-mirror
 
Operating System - HP-UX
        1840126
        Members
    
    
        5166
        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
 
07-29-2010 08:02 AM
07-29-2010 08:02 AM
			
				
					
						
							Bad Disk and Need to re-mirror
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I have a volume group that have four disk in it and one of the disk is bad.  Here''s how it look:
--- Physical volume groups ---
PVG Name PVG1
PV /dev/dsk/c4t1d0
PV /dev/dsk/c4t2d0
PVG Name PVG2
PV /dev/dsk/c5t4d0
PV /dev/dsk/c5t5d0
I need to replace /dev/dsk/c4t1d0 and should I do a lvremove of the logical volume groups and then remove the disk from the volume group. The disk is not total dead but have a lot of stale extents on it. So what would be the best way to do this witout cause any major problems?
		
		
	
	
	
--- Physical volume groups ---
PVG Name PVG1
PV /dev/dsk/c4t1d0
PV /dev/dsk/c4t2d0
PVG Name PVG2
PV /dev/dsk/c5t4d0
PV /dev/dsk/c5t5d0
I need to replace /dev/dsk/c4t1d0 and should I do a lvremove of the logical volume groups and then remove the disk from the volume group. The disk is not total dead but have a lot of stale extents on it. So what would be the best way to do this witout cause any major problems?
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
07-29-2010 08:22 AM
07-29-2010 08:22 AM
			
				
					
						
							Re: Bad Disk and Need to re-mirror
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi Ray:
See:
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf
Regards!
...JRF...
		
		
	
	
	
See:
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf
Regards!
...JRF...
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
07-29-2010 08:45 AM
07-29-2010 08:45 AM
			
				
					
						
							Re: Bad Disk and Need to re-mirror
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						you could read james's pdf.
sometimes I use following step to deal with such issue.
1,vgcfgbackup vgX
2,replace that failing disk
3,vgcfgrestore vgX /dev/dsk/c4t1d0
4,vgchange -a y vgX
5,vgsync vgX
you should check whether all the LVs on vgX were mirrored before
		
		
	
	
	
sometimes I use following step to deal with such issue.
1,vgcfgbackup vgX
2,replace that failing disk
3,vgcfgrestore vgX /dev/dsk/c4t1d0
4,vgchange -a y vgX
5,vgsync vgX
you should check whether all the LVs on vgX were mirrored before
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
07-30-2010 10:33 AM
07-30-2010 10:33 AM
			
				
					
						
							Re: Bad Disk and Need to re-mirror
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
Before do anything, could you post output of vgdisplay -v vgxx
and their lvs
lvdisplay -v /dev/vgxx/lvolx
for let us know about stale PE extents!
Regards
Deeos
		
		
	
	
	
Before do anything, could you post output of vgdisplay -v vgxx
and their lvs
lvdisplay -v /dev/vgxx/lvolx
for let us know about stale PE extents!
Regards
Deeos
	Deepak
			
			
				
			
			
			
			
			
			
		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