Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

762

December 14th, 2007 03:00

discover newly addded LUN

I have SLES 9 in my environment and want to detect newly given LUN by the Storage provider. I have power path installed..

Please advise.
thanks

2 Intern

 • 

20.4K Posts

December 14th, 2007 06:00

run powermt config ...then powermt save ...and powermt display dev=all

2 Intern

 • 

20.4K Posts

December 14th, 2007 03:00

what type of HBAs do you have in your system ? Each vendor provides a little script that can assist with detecting new LUNs, but even then it's not bullet proof.

2 Intern

 • 

20.4K Posts

December 14th, 2007 05:00

if you are using emulex driver 8.x ...take a look here:

http://www-dl.emulex.com/support/linux/801617/pdf/manual.pdf

look for section "Dynamically Adding LUNs and Targets"

36 Posts

December 14th, 2007 05:00

I'm using emulex.

36 Posts

December 14th, 2007 06:00

Ok found the the script and run it..

After the scan.. I run again powermt display dev=all

This time it detected the LUN 2 but there is no associted Pseudo name???

Any advise?

I think I'm close.

36 Posts

December 15th, 2007 05:00

thanks! it works..

Last question :)
Let say you have 500/gb of LUN and you want to use it as one volume of ext3 of 500GB.

Do you still have to use fdisk? or no need and run straight mkfs.ext to format?
just worried about lun misalignment just in case..

2 Intern

 • 

20.4K Posts

December 15th, 2007 11:00

fdisk the drive first and set recommended alignment and then mkfs it. Align only on new LUNs as partition table will be rewritten and all data on the LUN destroyed.

36 Posts

December 16th, 2007 23:00

Sorry I didnt get you on this..

Can you elaborate?

Do I still to run fdisk? eventhough, I will have only one big partition?
thanks

2 Intern

 • 

20.4K Posts

December 17th, 2007 03:00

yes, still run fdisk. Even though it's only one partition you want to make sure it's properly aligned.

36 Posts

December 17th, 2007 07:00

Thanks Mate., you really helped me alot.
No Events found!

Top