From owner-freebsd-questions@FreeBSD.ORG Tue Jan 6 10:18:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E035A16A4D0 for ; Tue, 6 Jan 2004 10:18:20 -0800 (PST) Received: from plouf.absolight.net (plouf.absolight.net [212.43.217.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBB9F43D49 for ; Tue, 6 Jan 2004 10:18:16 -0800 (PST) (envelope-from mat@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by plouf.absolight.net (Postfix) with ESMTP id 772224A9EFE for ; Tue, 6 Jan 2004 19:18:14 +0100 (CET) Received: from pouet.in.mat.cc (l02v-11-220.d2.club-internet.fr [213.44.170.220]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by plouf.absolight.net (Postfix) with ESMTP id E11CA4A9B7D for ; Tue, 6 Jan 2004 19:18:11 +0100 (CET) Date: Tue, 06 Jan 2004 19:18:06 +0100 From: Mathieu Arnold To: questions@freebsd.org Message-ID: <119377812.1073416685@pouet.in.mat.cc> In-Reply-To: <116314781.1073413622@pouet.in.mat.cc> References: <116314781.1073413622@pouet.in.mat.cc> X-Mailer: Mulberry/3.1.0 (Win32) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========A9CE1FE05A8788B26B7D==========" X-Virus-Scanned: by amavisd 0.1 Subject: growfs problem [was Re: Adding a drive in vinum] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 18:18:21 -0000 --==========A9CE1FE05A8788B26B7D========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Ok, I could not wait, so I did : a create with : drive vinumdrive1 device /dev/ad3e sd name data.p0.s1 drive vinumdrive1 len 0 then : attach data.p0.s1 data.p0 That worked well, I had a 115GB volume, I now have a 301GB one, I'm happy :) Now, growfs, so, I launch it : # growfs -N /dev/vinum/data new file systemsize is: 78997019 frags Warning: 4312 sector(s) cannot be allocated. growfs: 308580.0MB (631971840 sectors) block size 32768, fragment size 4096 using 417 cylinder groups of 740.00MB, 23680 blks, 47360 inodes. with soft updates then, the superblocks backup. And then, I do : # growfs /dev/vinum/data We strongly recommend you to make a backup before growing the Filesystem Did you backup your data (Yes/No) ? Yes new file systemsize is: 78997019 frags growfs: wtfs: write error: 631976157: Inappropriate ioctl for device And well, it does not work that good... Any hints ? -- Mathieu Arnold --==========A9CE1FE05A8788B26B7D========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (MingW32) iD8DBQE/+vvgqYYpzGz/vmcRAsTJAKCbAkDjI/YYhCfjhF/cjSRC1lelzwCgoK66 dz1to7SKwL9oTOZLvQny8sQ= =8wiT -----END PGP SIGNATURE----- --==========A9CE1FE05A8788B26B7D==========--