From owner-freebsd-questions@freebsd.org Sat Apr 1 12:51:54 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43F04D2877A for ; Sat, 1 Apr 2017 12:51:54 +0000 (UTC) (envelope-from technical@at-hacker.in) Received: from mail.at-hacker.in (mail.at-hacker.in [82.146.54.71]) by mx1.freebsd.org (Postfix) with ESMTP id ACF1DCEE for ; Sat, 1 Apr 2017 12:51:53 +0000 (UTC) (envelope-from technical@at-hacker.in) Received: from [192.168.1.14] (broadband-46-242-11-161.moscow.rt.ru [46.242.11.161]) by mail.at-hacker.in (Postfix) with ESMTPSA id 5641D2ADCE7 for ; Sat, 1 Apr 2017 15:42:43 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=at-hacker.in; s=mail; t=1491050563; bh=H6amWrk40AuqOaMSsb7HA8n33ltVyVx09gmBS7aefY8=; h=To:From:Subject:Date; b=gvTj2V2/o9ax+qUSJCXLt+qrZDLNn5nQ//kxgscOc+88G9n0+J/L7KymyxccxxsTT KASfdphaB1549f9CbgxSHXC/BJZXOoAoQXB3q/+29JVPt93/e6KqI1CClh8XWZc6YI Wl6kNzTJMshx3Qa7D4m0xQGL9tPhXZyMmNh8kX90= To: freebsd-questions@freebsd.org From: Alexey Pereklad Subject: Can't replace disk on LSI HBA Message-ID: <013e2507-dbc5-8d75-d68d-ac139ed0b0bb@at-hacker.in> Date: Sat, 1 Apr 2017 15:42:09 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2017 12:51:54 -0000 Hi. I have FreeBSD 11.0 (11.0-RELEASE-p1 #1 r312693) here. Trying to test hot disk replacement on LSI 9341-8i Put disk into offline state does not work: # MegaCli -pdoffline -physdrv\[29:23\] -a1 -NoLog Adapter: 1: Failed to change PD state at EnclId-29 SlotId-23. Exit Code: 0x01 I've tried to remove da9 device without putting it offline. Here is the log: # grep detach /var/log/messages Apr 1 14:31:02 dc1-nfs-06 kernel: da9: s/n WD-WMC6N0D3S29A detached Apr 1 14:31:03 dc1-nfs-06 kernel: ses0: detached Apr 1 14:31:03 dc1-nfs-06 kernel: da2: s/n WD-WMC5C0D72CZC detached Apr 1 14:31:03 dc1-nfs-06 kernel: da4: s/n WD-WMC5C0D18DVW detached Apr 1 14:31:03 dc1-nfs-06 kernel: da6: s/n WD-WMC5C0D366LH detached Apr 1 14:31:03 dc1-nfs-06 kernel: ses1: detached Apr 1 14:31:03 dc1-nfs-06 kernel: da11: s/n WD-WMC1P0F4DY9M detached Apr 1 14:31:03 dc1-nfs-06 kernel: ses0: detached Apr 1 14:31:03 dc1-nfs-06 kernel: da3: s/n WD-WMC5C0D20R1C detached Apr 1 14:31:03 dc1-nfs-06 kernel: s/n WD-WCC1P5ZVVPTD0): detached Apr 1 14:31:03 dc1-nfs-06 kernel: da7: s/n WD-WMC6N0D11C71 detached Apr 1 14:31:03 dc1-nfs-06 kernel: da15: s/n WD-WMC6N0D9F2KA detached Apr 1 14:31:03 dc1-nfs-06 kernel: da8: s/n WD-WMC6N0D3PJDS detached Apr 1 14:31:03 dc1-nfs-06 kernel: da10: s/n WD-WMC6N0E30R5D detached Apr 1 14:31:03 dc1-nfs-06 kernel: da12: s/n WD-WMC6N0D97TPZ detached Apr 1 14:31:58 dc1-nfs-06 kernel: ses0: detached Apr 1 14:31:58 dc1-nfs-06 kernel: da4: s/n WD-WMC5C0D18DVW detached Apr 1 14:31:58 dc1-nfs-06 kernel: da2: s/n WD-WMC5C0D72CZC detached Apr 1 14:31:58 dc1-nfs-06 kernel: da6: s/n WD-WMC5C0D366LH detached Apr 1 14:31:58 dc1-nfs-06 kernel: da8: s/n WD-WMC6N0D3PJDS detached Apr 1 14:31:58 dc1-nfs-06 kernel: ses1: detached Apr 1 14:31:58 dc1-nfs-06 kernel: da5: s/n WD-WCC1P5ZVVPTD detached Apr 1 14:31:58 dc1-nfs-06 kernel: da3: s/n WD-WMC5C0D20R1C detached Apr 1 14:31:58 dc1-nfs-06 kernel: da9: s/n WD-WMC1P0F4DY9M detached Apr 1 14:31:58 dc1-nfs-06 kernel: da7: s/n WD-WMC6N0D11C71 detached Apr 1 14:31:58 dc1-nfs-06 kernel: da10: s/n WD-WMC6N0E30R5D detached Apr 1 14:31:58 dc1-nfs-06 kernel: da12: s/n WD-WMC6N0D97TPZ detached Apr 1 14:31:58 dc1-nfs-06 kernel: da11: s/n WD-WMC6N0D9F2KA detached As you can see, all the drives has been detached. So is there any way to replase failed drives on FreeBSD with LSI HBAs without reboot?