Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2011 13:35:51 -0500
From:      "Edwin L. Culp W." <edwinlculp@gmail.com>
To:        John Baldwin <jhb@freebsd.org>
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.
Message-ID:  <BANLkTin5UHkuEyQt7bFRNbrVwfebXvA7Cg@mail.gmail.com>
In-Reply-To: <201105031002.36612.jhb@freebsd.org>
References:  <BANLkTi=C9BZLn2J7=t1_dq1cwgcRa0JWNA@mail.gmail.com> <201105030759.09518.jhb@freebsd.org> <BANLkTinMWO5uhoiYOHYJ_1C8dnXFDbqL%2BQ@mail.gmail.com> <201105031002.36612.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 3, 2011 at 9:02 AM, John Baldwin <jhb@freebsd.org> 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 <jhb@freebsd.org> 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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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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTin5UHkuEyQt7bFRNbrVwfebXvA7Cg>