Typically the format reports the 'driver not available' status when the disks are not available but the associated device nodes didn't go offline. You can check 'prtconf -v' output. The devfs -C command only cleans up the /dev link for already offlined devices.
I assume that the disks were connected to the host through FC. The cfgadm_fp(1M) plugin does not support the disconnect operation for FC disks. You may try cfgadm -c unconfigure cX::wwn for the disk to see if the driver make the device nodes offline. Often cases, the device node doesn't go offline due to some internal state of the driver which handles the disk, though. --Hyon James C. McPherson wrote: > elkhaoul wrote: > >> Hi, >> >> I disconnect SAN disks from Clariion Bay, and i still see on SOlaris OS : >> #### format >> ....... >> <drive not available> >> >> The command : >> ##### devfsadm -C -v >> >> Don't clean this disk entries on format >> >> Is there any other way please? >> > > You should use cfgadm to disconnect the targets from your > host: > > # cfgadm -c disconnect cX::(target) > > > where X and (target) are found by looking at the output > from the command "cfgadm -lav -o show_SCSI_LUN". > > Refer to the cfgadm_fp(1M) manpage for more details. > > > James C. McPherson > -- > Senior Kernel Software Engineer, Solaris > Sun Microsystems > http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog > _______________________________________________ > 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
