Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OEL/redhat lvmdiskscan question

Status
Not open for further replies.

dandan123

Technical User
Sep 9, 2005
505
0
0
US
I have a oel server on which we have san storage.

I'm using lvmdiskscan to see the drives.

Initially the storage up shows up with wwn numbers like this -

/dev/mpath/yyyy0097000019260314853303030xxx

After adding an alias to /etc/multipath.conf


multipath {
wwid yyyy0097000019260314853303030xxx
alias ASM_DISK1

The disk appears as ASM_DISK1 after a reboot.

Is there any way to make lvmdiskscan show the alias without a reboot ?
 
Are the old /dev/mpath entries still present? Does the multipath bindings file contain both the old and new aliases, or just the new ones?

(I'm not suggesting you remove them at this stage as I'm not sure what the impact may be...)

Annihilannic
[small]tgmlify - code syntax highlighting for your tek-tips posts[/small]
 
/dev/mpath has the wwn listing not the alias listing.

The /var/lib/multipath/bindings file seems to have a partial listing of the drives in wwn format.
 
Does a service multipathd restart make any difference?

Annihilannic
[small]tgmlify - code syntax highlighting for your tek-tips posts[/small]
 
tried that several times..doesn't make a difference.
 
Hmm... perhaps it needs to be done at the device-mapper layer... try dmsetup remove on the devices in question perhaps and then restart multipathd again?

(more wild guessing ;-) )

Annihilannic
[small]tgmlify - code syntax highlighting for your tek-tips posts[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top