amd64 and sysinstall weirdness

Adam Vande More amvandemore at gmail.com
Fri Jul 31 18:46:52 UTC 2009


On Fri, Jul 31, 2009 at 1:20 PM, Len Conrad <lconrad at go2france.com> wrote:

> Dell PE 1950
>
> FreeBSD 7.2 amd64
>
>
> boot from disc01 into sysinstall, do our regular setup, reboot, and df
> shows only / and /devfs.  f
>
> stab has /usr and /var missing.
>
> so we go into sysinstall, slices are correct:
>
> Disk name:      mfid0                                  FDISK Partition
> Editor
> DISK Geometry:  17688 cyls/255 heads/63 sectors = 284157720 sectors
> (138748MB)
>
> Offset       Size(ST)        End     Name  PType       Desc  Subtype
>  Flags
>
>         0         63         62        -     12     unused        0
>        63   10474317   10474379  mfid0s1      8    freebsd      165
>  10474380    4192965   14667344  mfid0s2      8    freebsd      165
>  14667345   10474380   25141724  mfid0s3      8    freebsd      165
>  25141725  259015995  284157719  mfid0s4      8    freebsd      165
>  284157720       6376  284164095        -     12     unused        0
>
>
> but labels:
>
>                         FreeBSD Disklabel Editor
>
> Disk: mfid0     Partition name: mfid0s1 Free: 0 blocks (0MB)
> Disk: mfid0     Partition name: mfid0s2 Free: 0 blocks (0MB)
> Disk: mfid0     Partition name: mfid0s3 Free: 10474380 blocks (5114MB)
> Disk: mfid0     Partition name: mfid0s4 Free: 259015995 blocks (123GB)
>
> Part      Mount          Size Newfs   Part      Mount          Size Newfs
> ----      -----          ---- -----   ----      -----          ---- -----
> ufsid/4a72<none>b432c4 5114MB *
> mfid0s2b  swap         2047MB SWAP
>
> .. the /usr and /var mount points were "lost".
>
> fstab:
>
> cat /etc/fstab
> # Device                Mountpoint      FStype  Options         Dump
>  Pass#
> /dev/mfid0s2b           none            swap    sw              0       0
> /dev/ufsid/4a72bbc67db432c4a            /               ufs     rw
>      1       1
> /dev/acd0               /cdrom          cd9660  ro,noauto       0       0
>
> we saw the /var and /usr filesystems were really there, so we added to
> fstab:
>
> /dev/mfid0s3            /usr            ufs     rw      2       2
> /dev/mfid0s4            /var            ufs     rw      2       2
>
> and rebooted, all seems ok.
>
> We went through this drill twice, and got the same results.
>
> /var/run/dmesg:
>
> mfid0: <MFI Logical Disk> on mfi0
> mfid0: 138752MB (284164096 sectors) RAID volume '' is optimal
>
> SMP: AP CPU #1 Launched!
> SMP: AP CPU #2 Launched!
> SMP: AP CPU #3 Launched!
>
> GEOM_LABEL: Label for provider mfid0s1 is ufsid/4a72bbc67db432c4.
> GEOM_LABEL: Label for provider mfid0s3 is ufsid/4a72bbc60412e6dd.
> GEOM_LABEL: Label for provider mfid0s4 is ufsid/4a72bbc6e3898627.
>
> Trying to mount root from ufs:/dev/ufsid/4a72bbc67db432c4a
> GEOM_LABEL: Label ufsid/4a72bbc60412e6dd removed.
> GEOM_LABEL: Label for provider mfid0s3 is ufsid/4a72bbc60412e6dd.
> GEOM_LABEL: Label ufsid/4a72bbc6e3898627 removed.
> GEOM_LABEL: Label for provider mfid0s4 is ufsid/4a72bbc6e3898627.
> GEOM_LABEL: Label ufsid/4a72bbc60412e6dd removed.
> GEOM_LABEL: Label ufsid/4a72bbc6e3898627 removed.
>
> Anybody know why the sysintall labels and fstab aren't showing up the way
> we set them up in sysinstall?
>
> thanks
> Len
>
Looks like you may getting slices and partitions confused.  Generally your
partitions are subsets of slices eg:

ad0s1a
ad0s1b
ad0s1c
ad0s1d
ad0s1f

Where as your output is something like this:

ad0s1
ad0s2
ad0s3
ad0s4

Unless you have some pressing reason to do otherwise, choose the Auto
settings they are sufficient for most purposes.

-- 
Adam Vande More


More information about the freebsd-questions mailing list