Date: Tue, 10 Apr 2007 13:41:15 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Ivan Voras <ivoras@fer.hr> Cc: freebsd-geom@FreeBSD.org Subject: Re: volume management Message-ID: <20070410114115.GB85578@garage.freebsd.pl> In-Reply-To: <461B75B2.40201@fer.hr> References: <86bqhyu225.fsf@dwp.des.no> <461A4D93.3010200@freebsd.org> <20070409143818.GA86722@harmless.hu> <20070409152401.GG76673@garage.freebsd.pl> <20070409153203.GA88082@harmless.hu> <461A5EC6.8010000@freebsd.org> <20070409154407.GA88621@harmless.hu> <evfqtt$n23$1@sea.gmane.org> <20070410111957.GA85578@garage.freebsd.pl> <461B75B2.40201@fer.hr>
next in thread | previous in thread | raw e-mail | index | archive | help
--FkmkrVfFsRoUs1wW Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 10, 2007 at 01:32:02PM +0200, Ivan Voras wrote: > Pawel Jakub Dawidek wrote: >=20 > >Ivan, as you probably already find out this is not an easy task and it > >gets more complex when SU comes into play or any async operations, > >because there is noone waiting for the error to return. > >Maybe you for now allow to set two modes of handling ENOSPC > >(configurable by the user): > >1. Panic if there is no physical storage. This way you protect > > consistency. You already printed a warning that gvirstor is running > > out of physical storage, so administrator has a chance to do the job. >=20 > I really don't want to do that :( If you have important data, this is really not bad idea. I, for one, prefer my kernel to panic, so I can see what exactly went wrong, add another disk and reboot instead of allowing kernel goes into wild by returning an error which won't be handled properly. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --FkmkrVfFsRoUs1wW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGG3fbForvXbEpPzQRAn1EAKDt35KTQnY3YBKKj7X9zuUxsuMFWgCgz/UE 0Bp+f/3QQ02Cw8RZew6wQ0c= =7Y+i -----END PGP SIGNATURE----- --FkmkrVfFsRoUs1wW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070410114115.GB85578>