打印

请教:如何知道solaris下面硬盘的instance name如ssd0,ssd1...对应的是那个硬盘?

请教:如何知道solaris下面硬盘的instance name如ssd0,ssd1...对应的是那个硬盘?

请教:如何知道solaris下面硬盘的instance name如ssd0,ssd1...对应的是那个硬盘?谢谢.

TOP

sysdef -i | grep ssd0
sysdef -i | grep ssd1
...
Email: [IMG]http://www.nhacks.com/email/image/UmF5cy5LYWk%3D/R01haWw%3D/image.png[/IMG] MSN: [IMG]http://www.nhacks.com/email/image/b21pdF9wYXN0/SG90bWFpbA%3D%3D/image.png[/IMG]

TOP

谢谢你的回复.我用的是solaris2.6.上面的命令好象也得不到结果.目前我是用比较笨的方法获得...
more /etc/path_to_inst |grep ssd,是不是没有命令可以直接获取呢?

TOP

Re: 请教:如何知道solaris下面硬盘的instance name如ssd0,ssd1...对应的是那个硬盘?

引用:
最初由 dkzhong 发布
[B]请教:如何知道solaris下面硬盘的instance name如ssd0,ssd1...对应的是那个硬盘?谢谢. [/B]
If you want to convert them to the format cntndnsn, then iostat -xpn and then immediately iostat -xp. That doesn't show "ssd0 --- cntndnsn" row by row. I guess you have to look at the number patterns and conclude yourself. Somebody wrote an article on how to get the cntndnsn from the sdN names but I can't find it.

Yong Huang

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-10-16 12:11 京ICP证060528 号

Designed By 17DST