[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] Linux utility to determine WWN from a LUN number



Hi

I want to have multipath manage only the CLARiiON LUN that I boot from (LUN 0).  So I know that I can specify the following in /etc/multipath.conf:

blacklist {
	wwid *
	}
blacklist_exceptions {
	wwid nnnnnnnnnn
	}

The wwid value is different for every CLARiiON LUN.  So, if I want to automate the process of adding the 'wwid' value to the blacklist, what utility can I use to specify a LUN number, and find the WWN of the LUN?

Thanks!
tl

Terry Lemons
Backup Platforms Group
EMC² 
where information lives
4400 Computer Drive, MS D239
Westboro MA 01580
Phone: 508 898 7312
Email: Lemons_Terry emc com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]