From owner-freebsd-fs@FreeBSD.ORG Sat Jun 13 09:42:50 2015 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1C09E4D for ; Sat, 13 Jun 2015 09:42:50 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46FDA9A0 for ; Sat, 13 Jun 2015 09:42:50 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by wigg3 with SMTP id g3so34652136wig.1 for ; Sat, 13 Jun 2015 02:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=YSqpnkdUbIpKnANghbE83hEZZAmLaA8ocholFUJHM6M=; b=fKGMCxWCRI68+GLJu6knyajaVLW7hDtw0Xjbh+Vwi6jRCL2JdUJfgOWbNjuZsE5S1V Z9exnUyzkd6GYERwJwVf+OYK1kyC5M2bAu63tAa7Ow4hQRnvtSXsr2dcjZJpnZUxnXZH 3a9pa9H4BPlfHvjHxmwimp8NR5fMAiVjzIeoK71s9IbGy55M+o0hG15KM9k16R9mFtrr C/G2UGG7TJvh4Abhs9ZMnhIn1bOuEn8SR9jUrOtdb0GnG/0Bs27XmKAuFGj9B0ywEnIy m2YQSWm5sQP7CG+DIuTbjQ4Ke36qn12dCBicJTZc/DP8erzV89hb3JYGH9Tcp6J/QnKg xY0g== X-Received: by 10.194.235.4 with SMTP id ui4mr34543344wjc.0.1434188566977; Sat, 13 Jun 2015 02:42:46 -0700 (PDT) Received: from brick.home (eug18.neoplus.adsl.tpnet.pl. [83.20.178.18]) by mx.google.com with ESMTPSA id v3sm6510553wiz.14.2015.06.13.02.42.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Jun 2015 02:42:46 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Sat, 13 Jun 2015 11:42:44 +0200 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: javocado Cc: FreeBSD Filesystems Subject: Re: growfs failure Message-ID: <20150613094244.GC37870@brick.home> Mail-Followup-To: javocado , FreeBSD Filesystems References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2015 09:42:50 -0000 On 0603T1619, javocado wrote: > While trying to growfs a filesystem, I receive the following error: > > growfs: rdfs: read error: 5812093147771869908: Input/output error > > Here were the steps taken leading up to this point: > > (original file is 300 GB, growing to 500 GB) > > (the filesystem is clean with fsck_ufs /dev/md1) > > geli detach /dev/md1.eli > > mdconfig -d -u 1 > > truncate -s +200G geli.img > > mdconfig -f geli.img -u 1 > > geli resize -s 300G /dev/md1 > > geli attach /dev/md1 > > growfs /dev/md1.eli > > new file systemsize is: 262143999 frags > Warning: 326780 sector(s) cannot be allocated. > growfs: 511840.4MB (1048249216 sectors) block size 16384, fragment size 2048 > using 2786 cylinder groups of 183.72MB, 11758 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 629476448, 629852704, 630228960, 630605216, 630981472, 631357728, > 631733984, 632110240, > .... > growfs: rdfs: read error: 5812093147771869908: Input/output error I can't reproduce it. What's the FreeBSD version? The output messages above don't match current versions of growfs(8); could you try to upgrade and see if the problem is fixed?