Hi,Larry
Thank you very much !
My question 1 :Why format can get the right information ,but iostat cann't?
The backgroud is below what I have done below:
1) iscsiadm add discovery-address 10.152.11.136:3260
2)iostat -rEn   (I could see the disk list coming from 10.152.11.136)
3)iscsiadm remove discovery-address 10.152.11.136:3260
4)iostat -rEn   (I also could see the disk list coming from 10.152.11.136. This 
is not right. Iostat gets information from kstat.The information in solaris 
kernel statistics not be updated.)
     5)format   (After format I just see the disk before step 1,This is right! )
     Now I didn't know how format get the right information from dir 
/dev/rdsk.There were links in the dir for the disk after stop 2.
My question 2 :Why is format so slower sometimes ?
     I get information from web.
NOINUSE_CHECK=1 
export NOINUSE_CHECK  
     PS: If you are using ZFS, do not set NOINUSE_CHECK
     Why we can't set NOINUSE_CHECK when using ZFS.
 I am looking forward to you. Thanks again.

Best wishes, 
Leo

2008-12-18 



daiwj 



发件人: Larry Liu 
发送时间: 2008-12-18  16:15:50 
收件人: 戴文军 
抄送: storage-discuss 
主题: Re: [storage-discuss] Question about format. Please help me! 
 
戴文军 写道:
> Hi,everyone!
>  
> There is some interest things in format. We can get information about 
> disk,even we remove discovery-address from host machine. But sometimes format 
> very slower,just like an old grandfather.
> I check the code about it. The function do_search() uses opendir to open the 
> directory "/dev/rdsk" to get disk list. And get information though readlink . 
>
> I have two questions:
> Question 1 :Why format can get the right information ,but iostat cann't?
>   
Could you please elaborate the "right information"? You mean format can 
get the information about removed disk? Is it the right one?
> Question 2 :Whe is format so slower sometimes ?
>   
You could set NOINUSE_CHECK to 1 to by pass the device in use check, 
which may take a long time especially there are lots of disks. Besides 
that, format(1M) might be blocked on some I/O. You can truss format to 
see what is going on.
Larry
> Any message is expected. Thank you very much !
>
> Leo 
> _______________________________________________
> storage-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/storage-discuss
>   
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to