From owner-freebsd-geom@FreeBSD.ORG Wed Nov 15 10:30:20 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B9C316A412 for ; Wed, 15 Nov 2006 10:30:20 +0000 (UTC) (envelope-from matthew_buckland@wordbank.com) Received: from mail.wordbank.com (mail.wordbank.com [213.86.82.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33C9843D5E for ; Wed, 15 Nov 2006 10:30:16 +0000 (GMT) (envelope-from matthew_buckland@wordbank.com) Received: from 10.1.1.227 by mail.wordbank.com ([10.1.1.10]) with ESMTP for ; Wed, 15 Nov 2006 10:29:26 -0000 Received: by mcmatt (Postfix, from userid 1000) id 5A7B062AE8; Wed, 15 Nov 2006 10:29:52 +0000 (GMT) Date: Wed, 15 Nov 2006 10:29:52 +0000 To: freebsd-geom@freebsd.org Message-ID: <20061115102951.GA14794@wordbank.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.12-2006-07-14 From: matthew_buckland@wordbank.com(Matt Buckland) X-Authenticated-Sender: matthew_buckland X-Server: VPOP3 V1.5.4 - Registered Subject: gconcat, convert manual to automatic X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2006 10:30:20 -0000 Hello there Geom list! Forgive me if I sound stupid, I am quite new to geom, but have searched the archives and could not find an answer to my question. I have created a volume using the following command: gconcat create big0 /dev/ad4 /dev/ad6 /dev/ad10 I then created a filesystem: newfs /dev/concat/big0 I then added a disk and recreated the volume: gconcat create big0 /dev/ad4 /dev/ad6 /dev/ad10 /dev/ad8 and grew the filesystem growfs /dev/concat/big0 Everything is fine when I manually create the volume, I can mount it and fsck it, but when I try: gconcat label big0 /dev/ad4 /dev/ad6 /dev/ad10 /dev/ad8 I cannot mount or fsck it, fsck gives me the following output: ** /dev/concat/big0 BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE ioctl (GCINFO): Inappropriate ioctl for device fsck_4.2bsd: /dev/concat/big0: can't read disk label I have also noticed a difference in the position of one of the providers, which is presumably causing the problem and is presumably because the metadata has been written and is taking up the space. The two listed outputs look like this: Geom name: big0 State: UP Status: Total=4, Online=4 Type: MANUAL ID: 1212663410 Providers: 1. Name: concat/big0 Mediasize: 1200273629184 (1.1T) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: ad4 Mediasize: 300001443840 (279G) Sectorsize: 512 Mode: r0w0e0 Start: 0 End: 300001443840 2. Name: ad6 Mediasize: 300090728448 (279G) Sectorsize: 512 Mode: r0w0e0 Start: 300001443840 End: 600092172288 3. Name: ad10 Mediasize: 300090728448 (279G) Sectorsize: 512 Mode: r0w0e0 Start: 600092172288 End: 900182900736 4. Name: ad8 Mediasize: 300090728448 (279G) Sectorsize: 512 Mode: r0w0e0 Start: 900182900736 End: 1200273629184 and this: Geom name: big0 State: UP Status: Total=4, Online=4 Type: AUTOMATIC ID: 2839129485 Providers: 1. Name: concat/big0 Mediasize: 1200273627136 (1.1T) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: ad4 Mediasize: 300001443840 (279G) Sectorsize: 512 Mode: r0w0e0 Start: 0 End: 300001443328 2. Name: ad6 Mediasize: 300090728448 (279G) Sectorsize: 512 Mode: r0w0e0 Start: 300001443328 End: 600092171264 3. Name: ad10 Mediasize: 300090728448 (279G) Sectorsize: 512 Mode: r0w0e0 Start: 600092171264 End: 900182899200 4. Name: ad8 Mediasize: 300090728448 (279G) Sectorsize: 512 Mode: r0w0e0 Start: 900182899200 End: 1200273627136 So, eventually, my question is: is it possible to have this volume automatically created on loading of the kermel module, or must I dump and restore the filesystem? Would it have made a difference if I had made the filesystem within a partition, rather than directly onto the disk? Thankyou very much for any input on this. Matt -- Matthew Buckland, Network / Support Analyst Wordbank Limited 33 Charlotte Street, London W1T 1RR Direct line: +44 (0) 20 7903 8847 Fax: +44 (0) 20 7903 8888