From owner-freebsd-questions@FreeBSD.ORG Tue Jan 6 23:50:08 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 5D87716A4D0; Tue, 6 Jan 2004 23:50:08 -0800 (PST) Received: from plouf.absolight.net (plouf.absolight.net [212.43.217.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DC9C43D39; Tue, 6 Jan 2004 23:50:02 -0800 (PST) (envelope-from mat@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by plouf.absolight.net (Postfix) with ESMTP id E12E74AA33F; Wed, 7 Jan 2004 08:50:00 +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 439264AA349; Wed, 7 Jan 2004 08:50:00 +0100 (CET) Date: Wed, 07 Jan 2004 08:49:56 +0100 From: Mathieu Arnold To: Greg 'groggy' Lehey Message-ID: <168088234.1073465396@pouet.in.mat.cc> In-Reply-To: <20040107030000.GK7617@wantadilla.lemis.com> References: <116314781.1073413622@pouet.in.mat.cc> <119377812.1073416685@pouet.in.mat.cc> <20040107030000.GK7617@wantadilla.lemis.com> X-Mailer: Mulberry/3.1.0 (Win32) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========A7F7B85765BF18B87A9F==========" X-Virus-Scanned: by amavisd 0.1 cc: questions@freebsd.org cc: current@freebsd.org Subject: Re: 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: Wed, 07 Jan 2004 07:50:08 -0000 --==========A7F7B85765BF18B87A9F========== Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline +-Le 07/01/2004 13:30 +1030, Greg 'groggy' Lehey =E9crivait : | On Tuesday, 6 January 2004 at 19:18:06 +0100, Mathieu Arnold wrote: |> 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 |>=20 |> then : |> attach data.p0.s1 data.p0 |>=20 |> That worked well, I had a 115GB volume, I now have a 301GB one, I'm |> happy :) |>=20 |> Now, growfs, so, I launch it : |>=20 |> ... |> new file systemsize is: 78997019 frags |> growfs: wtfs: write error: 631976157: Inappropriate ioctl for device |=20 | Can you check the state of the volume and its plexes and subdisks? If | they're all OK,, can you run this with ktrace? I'd be interested to | see what the ioctl is. Damn, I would have sworn all subdisks were up, but, the new one was "stale". I'm now running growfs again (and praying a bit too). It has just borked with : 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 super-block backups (for fsck -b #) at: (...) 619847872, 621363392,growfs: wtfs: write error: 622884032: Inappropriate ioctl for device because of I guess : ad3: TIMEOUT - WRITE_DMA retrying (2 retries left) ata1: resetting devices .. done ad3: FAILURE - already active DMA on this device ad3: setting up DMA failed vinum: data.p0.s1 is stale by force vinum: data.p0 is corrupt fatal :data.p0.s1 write error, block 380115538 for 32768 bytes data.p0.s1: user buffer block 621369728 for 32768 bytes I've redone it twice, and twice it did it at the same place. Should I guess that my disk has a problem ? for info, here are my vinum list and printconfig 3 drives: D vinumdrive0 State: up /dev/ad2e A: 0/117800 MB (0%) D vinumdrive1 State: up /dev/ad3e A: 0/190782 MB (0%) 1 volumes: V data State: up Plexes: 1 Size: 301 GB 1 plexes: P data.p0 C State: up Subdisks: 2 Size: 301 GB 2 subdisks: S data.p0.s0 State: up D: vinumdrive0 Size: 115 GB S data.p0.s1 State: up D: vinumdrive1 Size: 186 GB drive vinumdrive0 device /dev/ad2e drive vinumdrive1 device /dev/ad3e volume data plex name data.p0 org concat vol data sd name data.p0.s0 drive vinumdrive0 plex data.p0 len 241254455s driveoffset 265s plexoffset 0s sd name data.p0.s1 drive vinumdrive1 plex data.p0 len 390721703s driveoffset 265s plexoffset 241254455s One strange thing lies in the 3 drived up there where there are only 2. I'm wondering why there is written 3. --=20 Mathieu Arnold --==========A7F7B85765BF18B87A9F========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (MingW32) iD8DBQE/+7omqYYpzGz/vmcRAjEpAJ94I4dPV07QT+HEMDhlztK9kNXG3gCfS/vS wu0OAMTbUhnoqgnoPAKiSC4= =+7qn -----END PGP SIGNATURE----- --==========A7F7B85765BF18B87A9F==========--