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

From: John Baldwin <jhb_at_freebsd.org>
Date: Tue, 3 May 2011 07:59:09 -0400
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
Received on Tue May 03 2011 - 10:21:11 UTC

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