gmirror provider name limit [Was: Re: geom_label: gpt/labelname
for gmirror provider?]
Harald Schmalzbauer
h.schmalzbauer at omnilan.de
Tue Jul 28 20:05:54 UTC 2009
Ivan Voras schrieb am 28.07.2009 21:55 (localtime):
...
>>> sys/geom/stripe/g_stripe.h:91: char md_provider[16]; /*
>>> Hardcoded provider. */
>> Are there any problems to expect when extending the array size?
>
> If you mean the char array of the provider name then yes, it cannot be
> done without introducing a new metadata version (and then if it fits).
Oic, thanks for the hint. I forogt about the metadata... *slap*
>> To make use og gptid it had to be 43.
>
> I don't follow you on this - why gptid and why 43?
The automatically generated gptid is 36 cahracters plus "gptid/" to use
that for a provider name. In my case I'd like to assign the following
label: fbsd8GUNE-root_RAID1prov.1of2
It's 30 characters, so I thought using the gptid length was a feasible
limit...
Thanks,
-Harry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090728/d686ecbf/signature.pgp
More information about the freebsd-current
mailing list