Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2006 13:58:12 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        freebsd-geom@freebsd.org
Subject:   GEOM_LABEL: ufs labels coming/going?
Message-ID:  <44A2D144.2060606@centtech.com>

next in thread | raw e-mail | index | archive | help
I just set up some ufs labels (using tunefs -L) for all my partitions, 
including root (/).  When booting, I see something like:

[..snip..]
Jun 28 10:08:31 neutrino kernel: ad0: 95396MB <Seagate ST910021AS 3.04> 
at ata0-master UDMA33
Jun 28 10:08:31 neutrino kernel: ad0: 195371568 sectors 
[193821C/16H/63S] 16 sectors/interrupt 1 depth queue
Jun 28 10:08:31 neutrino kernel: GEOM: new disk ad0[..snip..]
Jun 28 10:08:31 neutrino kernel: ata1-master: pio=PIO4 wdma=WDMA2 
udma=UDMA33 cable=40 wire
[..snip..]
Jun 28 10:08:31 neutrino kernel: GEOM_LABEL: Label for provider ad0s2a 
is ufs/root.
Jun 28 10:08:31 neutrino kernel: GEOM_LABEL: Label for provider ad0s2d 
is ufs/home.
Jun 28 10:08:31 neutrino kernel: GEOM_LABEL: Label for provider ad0s2e 
is ufs/alt.
[..snip..]
Jun 28 10:08:31 neutrino kernel: Trying to mount root from ufs:/dev/ad0s2a
Jun 28 10:08:31 neutrino kernel: start_init: trying /sbin/init
Jun 28 10:08:31 neutrino kernel: GEOM_LABEL: Label ufs/root removed.
Jun 28 10:08:31 neutrino kernel: GEOM_LABEL: Label for provider ad0s2a 
is ufs/root.
Jun 28 10:08:31 neutrino kernel: GEOM_LABEL: Label ufs/root removed.


And a listing of /dev/ufs/:

$ ls -al /dev/ufs/
total 1
dr-xr-xr-x  2 root  wheel          512 Dec 31  1969 .
dr-xr-xr-x  6 root  wheel          512 Dec 31  1969 ..
crw-r-----  1 root  operator    0, 106 Jun 28 05:08 alt
crw-r-----  1 root  operator    0, 105 Jun 28 05:08 home

The label is still there:
tunefs -p ad0s2a
tunefs: ACLs: (-a)                                         disabled
tunefs: MAC multilabel: (-l)                               disabled
tunefs: soft updates: (-n)                                 disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)                            16384
tunefs: average number of files in a directory: (-s)       64
tunefs: minimum percentage of free space: (-m)             8%
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)                                 root


What am I missing?

Eric


-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44A2D144.2060606>