Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2005 13:23:50 +0100
From:      Peter Schuller <peter.schuller@infidyne.com>
To:        freebsd-questions@freebsd.org
Subject:   glabel - refuses to label >= g partitions
Message-ID:  <20050227122349.GA32379@scode-whitestar.mine.nu>

next in thread | raw e-mail | index | archive | help
If I do:

glabel label somelabel /dev/ad1s1g

geom_label labels /dev/ad1 instead of /dev/ad1s1g[1]. However
labeling /dev/ad1s1{a,b,d,e,f} worked fine. But /dev/ad1s1{g,h}
does not (and probably not the rest above h either).

Any idea what to do about it?

I did some cursory checks to make sure that the glabel tool does
not mangle the name of the device. The name does seem to propagate down
unmangled all the way to g_metadata_clear() and g_metadata_store().
After that I'm not sure how the changes are picked up by the
kernel, so I stopped.

[1] I.e., glabel "list" reports what you would expect after
    a "glabel somename /dev/ad1", and the kernel log contains:
       GEOM_LABEL: Label for provider ad1 is label/somelabel

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org



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