From owner-freebsd-current Sat Mar 17 2: 0:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.iserver1.net.Netz-Werker.NET (srv1.iserver1.net.Netz-Werker.NET [195.122.150.67]) by hub.freebsd.org (Postfix) with ESMTP id 8309E37B719 for ; Sat, 17 Mar 2001 02:00:37 -0800 (PST) (envelope-from tomsoft@Netz-Werker.COM) Received: (from tomsoft@localhost) by mail.iserver1.net.Netz-Werker.NET (8.8.8/8.8.8) id LAA26129; Sat, 17 Mar 2001 11:00:34 +0100 (CET) (envelope-from tomsoft) Message-ID: <20010317110034.62878@Netz-Werker.NET> Date: Sat, 17 Mar 2001 11:00:34 +0100 From: Thomas To: Andrea Campi , current@freebsd.org Subject: Re: growfs References: <20010311141337.A510@webcom.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <20010311141337.A510@webcom.it>; from Andrea Campi on Sun, Mar 11, 2001 at 02:13:38PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, On Sun, Mar 11, 2001 at 02:13:38PM +0100, Andrea Campi wrote: > I was about to fill in a doc PR on this but then I thought I'm better off > checking other people experiences... > > I just used growfs on my / filesystem, after shrinking the swap partition > which just happened to be after it. I had to do nothing magic beside dropping > to single user so as to have a ro /. This is in contrast to what the man page > says: > > system on the specified special file. Currently growfs can only grow un- > mounted file systems. Do not try growing a mounted file system, your > system may panic and you will not be able to use the file system any > longer. Most of the options you have used with newfs(8) once can not be > changed. In fact you can only increase the size of the file system. Use > > Is this just extra paranoia or was I very lucky? Do we need to fix the doc? This was completely untested by us, and is not guaranteed to work! I think you were lucky. We move and change blocks on the filesystem, during some time the filesystem is NOT consitent, so if one of those files is accessed than you might run into a panic. Thomas -- Th.-H.v.Kamptz Die Netz-Werker GmbH To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message