From owner-freebsd-current@FreeBSD.ORG Tue Jan 6 14:58:26 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E81416A4D1 for ; Tue, 6 Jan 2004 14:58:26 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id BA87343D48 for ; Tue, 6 Jan 2004 14:58:24 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 27833 invoked by uid 1000); 6 Jan 2004 22:58:26 -0000 Date: Tue, 6 Jan 2004 14:58:26 -0800 (PST) From: Nate Lawson To: Mathieu Arnold Message-ID: <20040106145612.K27817@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@freebsd.org cc: current@freebsd.org Subject: Re: growfs problem [was Re: Adding a drive in vinum] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 22:58:26 -0000 > |# growfs /dev/vinum/data > | We strongly recommend you to make a backup before growing the Filesystem > |=20 > | Did you backup your data (Yes/No) ? Yes > | new file systemsize is: 78997019 frags > | growfs: wtfs: write error: 631976157: Inappropriate ioctl for device > |=20 > | And well, it does not work that good... > | Any hints ? > > Ok, no matter what I do, I can't grow this filesystem. I'm wondering if > there's a bug somewhere in growfs or if it's because of vinum or... growfs(8) was never fully updated for UFS2 and probably still uses old disklabel(8) ioctls. This is almost certainly a growfs bug. You should compile it with -g and do a breakpoint to find what operation produces that error message. -Nate