From owner-freebsd-current@FreeBSD.ORG Tue May 3 18:35:52 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 765E91065784; Tue, 3 May 2011 18:35:52 +0000 (UTC) (envelope-from edwinlculp@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1260B8FC15; Tue, 3 May 2011 18:35:51 +0000 (UTC) Received: by vxc34 with SMTP id 34so418319vxc.13 for ; Tue, 03 May 2011 11:35:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ls+IO6wcwvYbmqIFwvcdkthvIhAei6TTtk6PGex9x8M=; b=gFN1OeQjxWhLXJ1qmAhgKfO2DyEpcvB57xePcmkIrCNquko+KNYtpLMzAbhYAOs0Bs tOVCvAYwCaGtHg2itBCu3peuWNhxjNbYyelKwDJRhPMSTKRCyUZnHT2iFyJAKfVsVmif 7xW8/6Mt52KwAH4pYOaaKRt2rDL8GOweXBvlw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=P+IL21NHvJ3/rdsZRsz66eFCsMrp8HoSTjtqMsGB3IJ/jQSLf9CciWC/OTW6pP34EL a/twzzqY2tP2bjhrdwt4tpoez8rMIpOOl+Yx4zDz7N1orLU2jIV8htkAX8oEKWpcaIal FiQKi2IQpzNmveVRgw63Y2kkUKSiPVSySw46o= MIME-Version: 1.0 Received: by 10.52.68.168 with SMTP id x8mr226808vdt.77.1304447751058; Tue, 03 May 2011 11:35:51 -0700 (PDT) Received: by 10.52.107.5 with HTTP; Tue, 3 May 2011 11:35:51 -0700 (PDT) In-Reply-To: <201105031002.36612.jhb@freebsd.org> References: <201105030759.09518.jhb@freebsd.org> <201105031002.36612.jhb@freebsd.org> Date: Tue, 3 May 2011 13:35:51 -0500 Message-ID: From: "Edwin L. Culp W." To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 18:35:52 -0000 On Tue, May 3, 2011 at 9:02 AM, John Baldwin wrote: > 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. >> >> =A0 =A0 =A0 =A0 =A0 =A0 options =A0 =A0 =A0 =A0ATA_CAM >> >> =A0 =A0 =A0 =A0 =A0 =A0 device =A0 =A0 =A0 =A0 ahci >> >> =A0 =A0 =A0 =A0 =A0 =A0 device =A0 =A0 =A0 =A0 mvs >> >> =A0 =A0 =A0 =A0 =A0 =A0 device =A0 =A0 =A0 =A0 siis >> >> >> >> This =A0morning 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; >> >> >> >> =A0/dev/ad4s1b =A0 =A0 =A0 =A0 =A0 =A0none =A0 =A0 =A0 =A0 =A0 =A0swa= p =A0 =A0sw =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/tmp =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0ufs =A0 =A0 rw >> >> =A02 =A0 =A0 =A0 2 >> >> =A0/dev/acd0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/cdrom =A0 =A0 =A0 =A0 =A0cd9= 660 =A0ro,noauto =A0 =A0 =A0 0 =A0 =A0 =A0 0 >> >> =A0/dev/acd1 =A0 =A0 =A0 =A0 =A0 =A0 =A0/cdrom1 =A0 =A0 =A0 =A0 cd966= 0 =A0ro,noauto =A0 =A0 =A0 0 =A0 =A0 =A0 0 >> >> =A0/dev/cd0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /cdrom =A0 =A0 =A0 =A0 =A0cd9= 660 =A0ro,noauto =A0 =A0 =A0 0 =A0 =A0 =A0 0 >> >> =A0/dev/cd1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /cdrom =A0 =A0 =A0 =A0 =A0cd9= 660 =A0ro,noauto =A0 =A0 =A0 0 =A0 =A0 =A0 0 >> >> # >> >> /dev/ad0s1a =A0 =A0 =A0 =A0 =A0 /new =A0 =A0 =A0 =A0 =A0 =A0ufs =A0 = =A0 rw =A0 =A0 =A0 =A0 =A0 =A0 =A01 =A0 =A0 =A0 1 >> >> /dev/ad0s1g =A0 =A0 =A0 =A0 =A0/new/home =A0 =A0 =A0 ufs =A0 =A0 rw = =A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2 >> >> /dev/ad0s1d =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/new/tmp =A0 =A0 =A0 =A0uf= s =A0 =A0 rw =A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2 >> >> /dev/ad0s1e =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/new/usr =A0 =A0 =A0 =A0uf= s =A0 =A0 rw =A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2 >> >> /dev/ad0s1h =A0 =A0 =A0 =A0 =A0/new/usr/local =A0ufs =A0 =A0 rw =A0 = =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2 >> >> /dev/ad0s1f =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/new/var =A0 =A0 =A0 =A0uf= s =A0 =A0 rw =A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2 >> >> >> >> I am totally confused on how these should now be. >> >> >> >> Any and all help appreciated. >> > >> > It will be ada0 rather than ad4. =A0With adaX the weird ATA_STATIC_ID = stuff is >> > gone and ATA disks are now numbered starting from 0 just like SCSI dis= ks use >> > da0, da1, ... etc. >> > >> > -- >> > John Baldwin >> > >> >> Thanks, John. =A0I was afraid that was the answer. Now, II'm really >> confused. =A0I'm guessing that the partitions will notl need to be shown >> in fstab (ada0s1a). =A0 What little mind I have left is a blank, >> /dev/ad4s1g will be automatically be detected. =A0Is that correct? >> >> What will I do with my second disk /dev/ad0s1a that is already zero? >> >> I apologize but I have really confused myself. =A0I've filled my glass >> with too much water and I'm drowning. >> >> Thanks for everyone's patience. >> >> ed >> >> P.S. =A0If 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. =A0Most likely ad0 will become ada0, an= d > ad4 will become ada1. =A0All 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. =A0That depends on how your PCI devices are laid out on the > PCI bus. =A0I can't answer that without seeing a dmesg though. > > Do you have mav's latest changes? =A0They 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 > Thanks, John. I apologize for being so thick on this but since I screwed it up the first time, but It took a few extra minutes to get it up and make me a bit nervous. Need it for dns and a few other things, . I cvsup current, build and install a new world and kernel every morning so I assume that I should have mav's latest changes. I'll try it again in the morning with the new build, correct kernel config and fstab entry.. I'll report the results on this thread then. Thanks for you help. ed