If there is no I/O, LU offline should be instantaneous. Looks like either there is some pending I/O or you are running into a bug.
One thing to check is the kernel thread list. Run mdb -k (during those 20 seconds) and type $<threadlist <enter> This will produce a long output. Maybe you can post it here or attach it and post a link. Sumit ________________________________________ From: storage-discuss-boun...@opensolaris.org [storage-discuss-boun...@opensolaris.org] On Behalf Of Steffen Plotner [swplot...@amherst.edu] Sent: Wednesday, December 16, 2009 8:12 AM To: storage-discuss@opensolaris.org Subject: [storage-discuss] Offlining a LU timing Hello, If a LU is in use and one attempts to offline it using: stmfadm offline-lu 600144F048BF490000004B2172E10006 I have noticed that the status of the LU remains in a "offlining" state for sometimes at least 20 seconds. LU Name: 600144F048BF490000004B2172E10006 Operational Status: Offlining After 20 seconds have passed the state changes from offlining to offline. What can be done to reduce the 20 seconds to say 1 or 2 seconds? I have already blocked IO from the initiator by removing the iscsi network interfaces on the comstar side which means to me that no further traffic is reaching the target at the time of offlining the LU. Steffen _______________________________________________________________________________________________ Steffen Plotner Amherst College Tel (413) 542-2348 Systems/Network Administrator/Programmer PO BOX 5000 Fax (413) 542-2626 Systems & Networking Amherst, MA 01002-5000 swplot...@amherst.edu _______________________________________________ storage-discuss mailing list storage-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/storage-discuss