Re: 2 questions: GEOM_LABEL and partition naming

2009-07-07 Thread ill...@gmail.com
2009/7/7 Daniel Underwood :
> 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.
> 
> 
>
> [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]

By default now, geom creates an ufsid label on its
ufs partitions (similar idea to linux's uuid scheme).

If you choose to not use it (let us say, for instance,
as we can clearly see, as no-one could disagree (and
30 other inane Chomskyisms)) by mounting your partitions
via their respective bsdlabel names, geom kindly removes
them.  There has been some debate as to whether this should
be silent or not (I think in freebsd-current@), since it is perfectly
safe to ignore.

It is perfectly safe to ignore.



-- 
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 2 questions: GEOM_LABEL and partition naming

2009-07-07 Thread Daniel Underwood
Thanks, very helpful!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 2 questions: GEOM_LABEL and partition naming

2009-07-07 Thread Valentin Bud
On Tue, Jul 7, 2009 at 3:41 PM, Daniel Underwood 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.
> 
> 
>
> [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]
> # DeviceMountpoint  FStype  Options Dump
>  Pass#
> /dev/ad0s1b noneswapsw  0   0
> /dev/ad0s1a /   ufs rw  1   1
> /dev/ad0s1g /home   ufs rw  2   2
> /dev/ad0s1e /tmpufs rw  2   2
> /dev/ad0s1f /usrufs rw  2   2
> /dev/ad0s1d /varufs 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-blocksUsedAvail Capacity  Mounted on
> /dev/ad0s1a756750  162710   53350023%/
> devfs   1   10   100%/dev
> /dev/ad0s1g  23364076  112878 21382072 1%/home
> /dev/ad0s1e756750 862   695348 0%/tmp
> /dev/ad0s1f  10154158 5275158  40856%/usr
> /dev/ad0s1d756750  163790   53242024%/var
> linprocfs   4   40   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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>



-- 
network warrior since 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


2 questions: GEOM_LABEL and partition naming

2009-07-07 Thread Daniel Underwood
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.



[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]

More possibly relevant information:

[BEGIN /etc/fstab]
# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1g /home   ufs rw  2   2
/dev/ad0s1e /tmpufs rw  2   2
/dev/ad0s1f /usrufs rw  2   2
/dev/ad0s1d /varufs 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-blocksUsedAvail Capacity  Mounted on
/dev/ad0s1a756750  162710   53350023%/
devfs   1   10   100%/dev
/dev/ad0s1g  23364076  112878 21382072 1%/home
/dev/ad0s1e756750 862   695348 0%/tmp
/dev/ad0s1f  10154158 5275158  40856%/usr
/dev/ad0s1d756750  163790   53242024%/var
linprocfs   4   40   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?


TIA,
Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"