Date: Mon, 3 Sep 2007 13:48:21 +0200 From: Bernd Walter <ticso@cicely12.cicely.de> To: Ivan Voras <ivoras@freebsd.org> Cc: freebsd-fs@freebsd.org Subject: Re: New option for newfs(3) to make life with GEOM easier Message-ID: <20070903114821.GQ54895@cicely12.cicely.de> In-Reply-To: <fbgqlc$5er$1@sea.gmane.org> References: <20070901074803.GM85633@comp.chem.msu.su> <fbd5e6$aia$1@sea.gmane.org> <20070902233930.O1113@woozle.rinet.ru> <fbg2ei$2ab$1@sea.gmane.org> <20070903095344.P17354@woozle.rinet.ru> <9bbcef730709022313i72f93e34ye5fd9f69642b3286@mail.gmail.com> <20070903091253.GL54895@cicely12.cicely.de> <fbgqlc$5er$1@sea.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 03, 2007 at 01:20:12PM +0200, Ivan Voras wrote: > Bernd Walter wrote: > > >Don't get me wrong, I'm not against cutting a few sectors per default, > >just want to have a fallback. > > Fallback would be to say "-r 0", presumably. > > >However, I would still prefer if users get a warning if they try to > >use a filesystem, which overflows the media. > >I guess the foot-shooting is quite common about this point. > > How would the file system overflow the media? The case discussed here is > shrinking the file system to be a few sectors smaller than the media > size (i.e. those few sectors would be unused by the fs). In case the media shrinks due to adding gmirror and the fielsystem wasn't reduced. I've seen an unbelieveable amount of systems were this was simply forgotten, fortunately almost all of them mirror the whole device and fdisk leaves quite a few sectors untouched in many cases. It is a different point, but about the same problem. Changing newfs defaults will help about new installations, but not updating older systems, and it even catches those that already use gmirror in such a faulty confguration. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070903114821.GQ54895>