From mboxrd@z Thu Jan 1 00:00:00 1970 From: Billy Crook Subject: Re: mpt2sas: bug in disk ordering? Date: Fri, 13 May 2011 07:03:55 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mail-bw0-f46.google.com ([209.85.214.46]:35214 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757150Ab1EMMEg (ORCPT ); Fri, 13 May 2011 08:04:36 -0400 Received: by bwz15 with SMTP id 15so2063130bwz.19 for ; Fri, 13 May 2011 05:04:35 -0700 (PDT) In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Caspar Smit Cc: "Desai, Kashyap" , "linux-scsi@vger.kernel.org" , "Moore, Eric" , "Prakash, Sathya" On Fri, May 13, 2011 at 06:46, Caspar Smit wrote: > But when i use a LSI 3081E-R HBA (mptsas driver) the disk ordering is > ALWAYS the same, and always in correct order. > I would like to keep that functionality when upgrading to the newer 9211-8i HBA. That was an unintentional coincidence. Consider yourself lucky nothing was destroyed during the time you assumed it was deterministic. Disk ordering is essentially random in Linux, and will continue to be, indefinitely. If being able to refer to specific disks is important, use the links in /dev/disk/ or assign the disks LABELs and use those or UUIDs. If /dev/disk is gone or not working, that is the problem you need to solve, NOT disk startup order.