Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261856AbVADRhK (ORCPT ); Tue, 4 Jan 2005 12:37:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261750AbVADRhH (ORCPT ); Tue, 4 Jan 2005 12:37:07 -0500 Received: from mail0.lsil.com ([147.145.40.20]:31377 "EHLO mail0.lsil.com") by vger.kernel.org with ESMTP id S261802AbVADRd6 (ORCPT ); Tue, 4 Jan 2005 12:33:58 -0500 Message-ID: <0E3FA95632D6D047BA649F95DAB60E570230CAD3@exa-atlanta> From: "Bagalkote, Sreenivas" To: "'James Bottomley'" , "Bagalkote, Sreenivas" Cc: Matt Domsch , "Salyzyn, Mark" , brking@us.ibm.com, Linux Kernel , SCSI Mailing List , bunk@fs.tum.de, Andrew Morton , "Ju, Seokmann" , "Doelfel, Hardy" , "Mukker, Atul" Subject: RE: How to add/drop SCSI drives from within the driver? Date: Tue, 4 Jan 2005 12:25:54 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 930 Lines: 30 > >On Mon, 2005-01-03 at 18:02 -0500, Bagalkote, Sreenivas wrote: >> o Everybody understands that as long as the SCSI >scan/rescan is triggered >> by >> the management app, there is no getting around knowing HCTL >mapping. The app >> must know the HCTL quad of a logical drive. > >Actually, if that's all you're trying to do, what about > >echo '- - -' > /sys/class/scsi_host/host/scan > >That'll trigger a rescan of the entire card and the device >will be found >and added? > A minor point is that an application should ideally force scan only those drives that it has added. But more importantly, this will not help an application to delete the drives. Correct? Sreenivas - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/