戴文军 写道: > 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
