Date: Wed, 22 Apr 2009 10:07:08 +0300 From: Andriy Gapon <avg@icyb.net.ua> To: Ivan Voras <ivoras@freebsd.org> Cc: freebsd-fs@freebsd.org, freebsd-geom@freebsd.org Subject: Re: glabel for ufs: size check is overzealous? Message-ID: <49EEC21C.7020106@icyb.net.ua> In-Reply-To: <49EDF995.2050508@freebsd.org> References: <49EDCA21.70908@icyb.net.ua> <gskrld$vo0$1@ger.gmane.org> <49EDF80F.3070105@icyb.net.ua> <49EDF995.2050508@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thinking more about it - maybe that check is useful for finding out what geom provider a filesystem actually belongs too. But I am not sure. E.g. what should happen in the following case? I create partitions ad4s1a and ad4s2a. I create gmirror rootgm using these partitions. I create a filesystem on rootgm with label rootfs. Right now, with my local patch, during boot glabel seems to do "tasting" before gmirror is activated and so it thinks that rootfs is label of filesystem on ad4s1a. I think that this wouldn't have happened without my patch. But, OTOH, I think that this is not the problem of the patch, this is a problem of glabel starting before gmirror. But this is insolvable in principle - what of gmirror is started later manually. So after all the current code makes the most sense for most common usage pattern. And thus I shall shut up :-) -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49EEC21C.7020106>