LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-10-2011, 06:23 PM   #1
jeriryan
Member
 
Registered: Apr 2003
Location: United States
Distribution: RHEL 5.4, Snow Leopard
Posts: 87

Rep: Reputation: 15
Does the WWID of a LUN change if a hard drive needs to be replaced?


I have a dual-port fibre channel HBA connected to a SAN, and I'm using multipathing on my linux box. I definitely need my multipath names to remain constant all the time (mpath0 needs to always be the same mpath0). I'm worried that if I replace a disk drive belonging to a LUN on my SAN, it might change the WWID, which for all I know is based on the SCSI ID's of the hard drives. Does any one know if this is the case?

If so, how can I keep the multipath name from changing when it detects a new WWID for the LUN?
 
Old 01-10-2011, 06:27 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
I assume you have some sort of RAID going?

Since you have created a LUN, I believe that the SAN won't rename the LUN even if you replace a disk.
 
Old 01-10-2011, 06:46 PM   #3
jeriryan
Member
 
Registered: Apr 2003
Location: United States
Distribution: RHEL 5.4, Snow Leopard
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by AlucardZero View Post
I assume you have some sort of RAID going?

Since you have created a LUN, I believe that the SAN won't rename the LUN even if you replace a disk.
Thanks for your response. I do have a RAID 5 going on the LUN. I'm not worried about the LUN itself being renamed, but the WWID changing since the drives in the RAID are technically different now. Is that what you meant, that the WWID will stay the same?

Last edited by jeriryan; 01-10-2011 at 06:47 PM.
 
Old 01-10-2011, 07:42 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
I don't know for sure, but it would be silly if it changed. I'd do a test on a new LUN if I were you
 
Old 01-10-2011, 08:21 PM   #5
jeriryan
Member
 
Registered: Apr 2003
Location: United States
Distribution: RHEL 5.4, Snow Leopard
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by AlucardZero View Post
I don't know for sure, but it would be silly if it changed. I'd do a test on a new LUN if I were you
I agree, it would be very silly. I'm going to try a new LUN tomorrow, crossing my fingers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RHEL5 won't boot from LUN ID 1, where can I change it? scratchyrat Linux - Server 3 05-19-2010 05:54 AM
Where in Device Mapper is the unique long WWID or UID of the LUN virtual disk stored? DougStorage Linux - Hardware 1 03-08-2010 09:40 AM
Replaced Hard Drive, but RHEL4 still boots in RO Mode sa10 Linux - Hardware 2 05-11-2006 09:09 AM
I want to change hard drive dsiguy Linux - Newbie 1 09-24-2003 02:30 PM
Change hard drive te_conway Linux - General 4 12-31-2001 09:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration