RELENG_7: chatty geom

Raphael Becker rabe at uugrn.org
Tue Apr 14 14:38:00 UTC 2009


On Tue, Apr 14, 2009 at 01:52:27AM +0200, Ivan Voras wrote:

[Labels apperaring ad disappearing]

> Now Glabel is complaining you didn't use a label and have used a device
> node as the mount point :)

This isn't new (to me). Having ufs-labelled md-devices brings me those 
messages since 6.x (since in use geom labels), because the mdconfig 
rc-scripts don't know about "/dev/md0 == /dev/ufs/FOO" and therefore mount 
the md-devices directly instead of the labels which makes the labels
disappear directly after mdconfig has just "created" them.
 
> I'll commit a silencing patch as soon as I get approval for it.

How would one get the ids of ufsid-labels when hidden? glabel list shows
only the "active" labels, especially doesn't show the ufsid-label if the
device is mounted by its "legacy" devicename (just tried that). dmesg  
seems the only source of information for that so far.

Regards
Raphael Becker

PS: In gerneral I find it very useful to operate on labels instead of 
"legacy" device names, especially for S-SATA disks. I even use 
/dev/ufs/ROOT instead of /dev/ad<random>s1a which works perfectly:

# dmesg | grep ROOT
GEOM_LABEL: Label for provider ad6s1a is ufs/ROOT.
Trying to mount root from ufs:/dev/ufs/ROOT


-- 
Raphael Becker          <rabe at uugrn.org>          http://rabe.uugrn.org/
GnuPG:                E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
.........|.........|.........|.........|.........|.........|.........|..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090414/bc081fc4/attachment.pgp


More information about the freebsd-stable mailing list