From owner-freebsd-questions@FreeBSD.ORG Sat Sep 16 20:03:31 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FE3516A40F for ; Sat, 16 Sep 2006 20:03:31 +0000 (UTC) (envelope-from jin@george.lbl.gov) Received: from smtp112.sbc.mail.mud.yahoo.com (smtp112.sbc.mail.mud.yahoo.com [68.142.198.211]) by mx1.FreeBSD.org (Postfix) with SMTP id 9ABBE43D4C for ; Sat, 16 Sep 2006 20:03:30 +0000 (GMT) (envelope-from jin@george.lbl.gov) Received: (qmail 95739 invoked from network); 16 Sep 2006 20:03:29 -0000 Received: from unknown (HELO ?192.168.2.10?) (jinmtb@sbcglobal.net@68.127.178.237 with plain) by smtp112.sbc.mail.mud.yahoo.com with SMTP; 16 Sep 2006 20:03:29 -0000 Message-ID: <450C58F7.80004@george.lbl.gov> Date: Sat, 16 Sep 2006 13:05:11 -0700 From: "Jin Guojun [VFFS]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060317 X-Accept-Language: en, zh, zh-CN MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: how to make fixed Direct Access device (da) ID X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 20:03:31 -0000 It is awkward that dynamically and/or statically attaching SCSI hard drive and USB hard drive to the system will have different da IDs. For example, boot system with a SCSI drive (SCSI = 1), will have a da0 for this SCSI drive. Then plugging in a USB hard drive, which will be configured as da1. If boot system with both drives online, system will boot from SCSI drive fine till mounting root point. It fails because USB drive has da0 and SCSI drive has da1. Is there anyway to configure the system to have fixed da ID for SCSI drive or even for USB drive regardless if they are dynamically/statically attached to the system? -Jin