2 questions: GEOM_LABEL and partition naming

Valentin Bud valentin.bud at gmail.com
Tue Jul 7 12:54:27 UTC 2009


On Tue, Jul 7, 2009 at 3:41 PM, Daniel Underwood <djuatdelta at gmail.com>wrote:

> Good morning, folks!  (At least, it's morning on the east coast of USA)
>
>
> QUESTION 1: Would someone please explain the /var/run/dmesg.boot excerpt
> below?
>
> Note: I have glanced at both of the following links, but at the
> moment, I do not have time to dig into the documentation and learn all
> about this.  I'm hoping to get enough knowledge to understand what's
> going on with this excerpt, and then later invest time in deeper
> learning.
> <http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom.html>
> <http://www.freebsd.org/cgi/man.cgi?query=geom&sektion=4>
>
> [BEGIN excerpt from dmesg.boot]
> GEOM_LABEL: Label for provider ad0s1a is ufsid/4a0047d615cb402f.
> GEOM_LABEL: Label for provider ad0s1d is ufsid/4a0047d94598831f.
> GEOM_LABEL: Label for provider ad0s1e is ufsid/4a0047d8017e2a4d.
> GEOM_LABEL: Label for provider ad0s1f is ufsid/4a0047d82cde044f.
> GEOM_LABEL: Label for provider ad0s1g is ufsid/4a0047d6b40e9fa1.
> Trying to mount root from ufs:/dev/ad0s1a
> GEOM_LABEL: Label ufsid/4a0047d615cb402f removed.
> GEOM_LABEL: Label for provider ad0s1a is ufsid/4a0047d615cb402f.
> GEOM_LABEL: Label ufsid/4a0047d6b40e9fa1 removed.
> GEOM_LABEL: Label for provider ad0s1g is ufsid/4a0047d6b40e9fa1.
> GEOM_LABEL: Label ufsid/4a0047d8017e2a4d removed.
> GEOM_LABEL: Label for provider ad0s1e is ufsid/4a0047d8017e2a4d.
> GEOM_LABEL: Label ufsid/4a0047d82cde044f removed.
> GEOM_LABEL: Label for provider ad0s1f is ufsid/4a0047d82cde044f.
> GEOM_LABEL: Label ufsid/4a0047d94598831f removed.
> GEOM_LABEL: Label for provider ad0s1d is ufsid/4a0047d94598831f.
> GEOM_LABEL: Label ufsid/4a0047d615cb402f removed.
> GEOM_LABEL: Label ufsid/4a0047d6b40e9fa1 removed.
> GEOM_LABEL: Label ufsid/4a0047d8017e2a4d removed.
> GEOM_LABEL: Label ufsid/4a0047d82cde044f removed.
> GEOM_LABEL: Label ufsid/4a0047d94598831f removed.
> [END excerpt from dmesg.boot]


This are labels:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html.


>
>
> More possibly relevant information:
>
> [BEGIN /etc/fstab]
> # Device                Mountpoint      FStype  Options         Dump
>  Pass#
> /dev/ad0s1b             none            swap    sw              0       0
> /dev/ad0s1a             /               ufs     rw              1       1
> /dev/ad0s1g             /home           ufs     rw              2       2
> /dev/ad0s1e             /tmp            ufs     rw              2       2
> /dev/ad0s1f             /usr            ufs     rw              2       2
> /dev/ad0s1d             /var            ufs     rw              2       2
> /dev/acd0               /cdrom          cd9660  ro,noauto       0       0
>
> linproc /usr/compat/linux/proc  linprocfs  rw  0  0
> [END /etc/fstab]
>
> [BEGIN output of df command]
> Filesystem  1K-blocks    Used    Avail Capacity  Mounted on
> /dev/ad0s1a    756750  162710   533500    23%    /
> devfs               1       1        0   100%    /dev
> /dev/ad0s1g  23364076  112878 21382072     1%    /home
> /dev/ad0s1e    756750     862   695348     0%    /tmp
> /dev/ad0s1f  10154158 5275158  4066668    56%    /usr
> /dev/ad0s1d    756750  163790   532420    24%    /var
> linprocfs           4       4        0   100%    /usr/compat/linux/proc
> [END output of df command]
>
>
> QUESTION 2: I'm suprised that the device names (from the df output
> above) do not include "ad0s1b" and "ad0s1c".  I thought the naming
> should follow the model of "ad0s1%" where "%" begins at "a" and
> continues in alphabetical order for each partition on that device.
> What am I missing?


 Partition b is for swap and c represents the entire slice. They will not
appear in df output.


>
>
>
> TIA,
> Daniel
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>



-- 
network warrior since 2005


More information about the freebsd-questions mailing list