Re: I am very confused and would appreciate some help on device renameing or on renumbering on current fstab.

From: Edwin L. Culp W. <edwinlculp_at_gmail.com>
Date: Tue, 3 May 2011 07:51:02 -0500
On Tue, May 3, 2011 at 6:59 AM, John Baldwin <jhb_at_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.
>>             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.
Received on Tue May 03 2011 - 10:51:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC