From owner-freebsd-current@FreeBSD.ORG Tue May 3 14:02:43 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E28F5106566C for ; Tue, 3 May 2011 14:02:43 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9CBC58FC08 for ; Tue, 3 May 2011 14:02:43 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 1348A46B43; Tue, 3 May 2011 10:02:43 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 9F0F08A027; Tue, 3 May 2011 10:02:42 -0400 (EDT) From: John Baldwin To: "Edwin L. Culp W." Date: Tue, 3 May 2011 10:02:36 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <201105030759.09518.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201105031002.36612.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Tue, 03 May 2011 10:02:42 -0400 (EDT) Cc: freebsd-current@freebsd.org Subject: Re: I am very confused and would appreciate some help on device renameing or on renumbering on current fstab. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2011 14:02:44 -0000 On Tuesday, May 03, 2011 8:51:02 am Edwin L. Culp W. wrote: > On Tue, May 3, 2011 at 6:59 AM, John Baldwin wrote: > > On Tuesday, May 03, 2011 7:16:34 am Edwin L. Culp W. wrote: > >> I have two disks on this old machine that I have keep current sin > >> FreeBSD 6 IIRC as preparation for all the new goodies but this really > >> bit me in the morning with a generic kernel and had a heck of a time > >> getting it up. > >> > >> I have a new kernel with the new options. > >> options ATA_CAM > >> device ahci > >> device mvs > >> device siis > >> > >> This morning was such a shock that I am tempted to go back to the old > >> kernel config that I understand still works but gonna try to bite the > >> bullit. > >> > >> My fstab that I assume is still needed, is as before, although I had > >> changed ad4xx to ada4xx (etc) that I found was incorrect the HARD way > >> after trying to reboot; > >> > >> /dev/ad4s1b none swap sw 0 0 > >> /dev/ad4s1a / ufs rw 1 1 > >> /dev/ad4s2g /backup ufs rw 2 2 > >> /dev/ad4s1g /home ufs rw 2 2 > >> /dev/ad4s2f /release ufs rw > >> 2 2 > >> /dev/ad4s2d /tmp ufs rw 2 2 > >> /dev/ad4s1e /usr ufs rw 2 2 > >> /dev/ad4s1h /usr/local ufs rw > >> 2 2 > >> /dev/ad4s1f /var ufs rw 2 2 > >> /dev/ad4s2e /var/tmp ufs rw > >> 2 2 > >> /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > >> /dev/acd1 /cdrom1 cd9660 ro,noauto 0 0 > >> /dev/cd0 /cdrom cd9660 ro,noauto 0 0 > >> /dev/cd1 /cdrom cd9660 ro,noauto 0 0 > >> # > >> /dev/ad0s1a /new ufs rw 1 1 > >> /dev/ad0s1g /new/home ufs rw 2 2 > >> /dev/ad0s1d /new/tmp ufs rw 2 2 > >> /dev/ad0s1e /new/usr ufs rw 2 2 > >> /dev/ad0s1h /new/usr/local ufs rw 2 2 > >> /dev/ad0s1f /new/var ufs rw 2 2 > >> > >> I am totally confused on how these should now be. > >> > >> Any and all help appreciated. > > > > It will be ada0 rather than ad4. With adaX the weird ATA_STATIC_ID stuff is > > gone and ATA disks are now numbered starting from 0 just like SCSI disks use > > da0, da1, ... etc. > > > > -- > > John Baldwin > > > > Thanks, John. I was afraid that was the answer. Now, II'm really > confused. I'm guessing that the partitions will notl need to be shown > in fstab (ada0s1a). What little mind I have left is a blank, > /dev/ad4s1g will be automatically be detected. Is that correct? > > What will I do with my second disk /dev/ad0s1a that is already zero? > > I apologize but I have really confused myself. I've filled my glass > with too much water and I'm drowning. > > Thanks for everyone's patience. > > ed > > P.S. If I am not the only idiot, maybe a couple of lines as an > example could go into UPDATING. Oh, I missed that you had an ad0. Most likely ad0 will become ada0, and ad4 will become ada1. All the partitions will still exist, so ad0s1a will become ada0s1a and ad4s1a will become ada1s1a. There is a chance that ad0 will become ada1 and ad4 will become ada1 instead. That depends on how your PCI devices are laid out on the PCI bus. I can't answer that without seeing a dmesg though. Do you have mav's latest changes? They should provide aliases for the old names along with printfs to let you know what the new names are for each old disk I think. -- John Baldwin