HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - fdisk /dev/mapper/mpath1 or fdisk /dev/sda ?
 
Operating System - Linux
        1840188
        Members
    
    
        3793
        Online
    
    
        110162
        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
 
01-28-2010 05:37 AM
01-28-2010 05:37 AM
			
				
					
						
							fdisk /dev/mapper/mpath1 or fdisk /dev/sda ?
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
I have installed DM-Multipath on my RHEL5 to take care of the redundant SAN multipathing.
It is recommended to create and mark a partition as Linux LVM before "pvcreating" and "vgcreating" it.
Here is my question:
When "fdisking" the partition, which is the recommended device file to use ? the Multipath one /dev/mapper/mpath1 or the ordinary one /dev/sda ?
Regards,
		
		
	
	
	
I have installed DM-Multipath on my RHEL5 to take care of the redundant SAN multipathing.
It is recommended to create and mark a partition as Linux LVM before "pvcreating" and "vgcreating" it.
Here is my question:
When "fdisking" the partition, which is the recommended device file to use ? the Multipath one /dev/mapper/mpath1 or the ordinary one /dev/sda ?
Regards,
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
01-28-2010 05:48 AM
01-28-2010 05:48 AM
			
				
					
						
							Re: fdisk /dev/mapper/mpath1 or fdisk /dev/sda ?
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						all LVM operations need to be on mpathx. You can fdisk(just to list since LVM is there for disk management) on sda devices, but only primary path will respond( assumign u have an active/passive array)
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
01-28-2010 11:04 PM
01-28-2010 11:04 PM
			
				
					
						
							Re: fdisk /dev/mapper/mpath1 or fdisk /dev/sda ?
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						forget about the sd[a-z] entries, your multipathed now, your disks are now accessable using the mpath name.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
01-29-2010 05:24 AM
01-29-2010 05:24 AM
			
				
					
						
							Re: fdisk /dev/mapper/mpath1 or fdisk /dev/sda ?
						
					
					
				
			
		
	
			
	
	
	
	
	
Thank you !
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