From owner-freebsd-geom@FreeBSD.ORG Sat Oct 7 21:13:31 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 DD7C216A416 for ; Sat, 7 Oct 2006 21:13:31 +0000 (UTC) (envelope-from johan@stromnet.org) Received: from pne-smtpout2-sn2.hy.skanova.net (pne-smtpout2-sn2.hy.skanova.net [81.228.8.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F91E43D49 for ; Sat, 7 Oct 2006 21:13:30 +0000 (GMT) (envelope-from johan@stromnet.org) Received: from elfi.stromnet.org (90.224.172.102) by pne-smtpout2-sn2.hy.skanova.net (7.2.075) id 4517733000356F59 for freebsd-geom@freebsd.org; Sat, 7 Oct 2006 23:13:29 +0200 Received: from localhost (localhost [127.0.0.1]) by elfi.stromnet.org (Postfix) with ESMTP id 6716161DAF for ; Sat, 7 Oct 2006 23:13:28 +0200 (CEST) X-Virus-Scanned: amavisd-new at stromnet.org Received: from elfi.stromnet.org ([127.0.0.1]) by localhost (elfi.stromnet.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8xda+i8Nz2H6 for ; Sat, 7 Oct 2006 23:13:27 +0200 (CEST) Received: from [IPv6:2001:16d8:ff20:2:217:f2ff:fe41:3f1b] (jstrom-mb.wlan.v6.stromnet.org [IPv6:2001:16d8:ff20:2:217:f2ff:fe41:3f1b]) by elfi.stromnet.org (Postfix) with ESMTP id 9AFDE61DAA for ; Sat, 7 Oct 2006 23:13:27 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-geom@freebsd.org From: =?ISO-8859-1?Q?Johan_Str=F6m?= Date: Sat, 7 Oct 2006 23:13:15 +0200 X-Mailer: Apple Mail (2.752.3) Subject: gmirror, removing disk and mounting gives strange error 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: Sat, 07 Oct 2006 21:13:31 -0000 Hi I just gmirrod (gm1) two drives (ad8 and ad12) on a box. Working great and all. Now I needed some extra space while moving around files, and I removed ad8: gmirror remove gm1 ad8 Working fine, gmirror reporting running complete on ad12 only. nice. Now I try to mount one of the partitions on ad8 (ad8s1g): crus /# mount /dev/ad8s1g /mnt mount: /dev/ad8s1g: Operation not permitted Huh.. wtf.. ok, so I check dmesg: WARNING: R/W mount of /storage/gm1s1g denied. Filesystem is not clean - run fsck gm1?? I tought it was removed from gm1.. # gmirror dump /dev/ad8 Can't read metadata from /dev/ad8: Invalid argument. dumping ad12 for example gives me correct info.. so it seems ad8 is cleared correctly.. trying to run clear on ad8 gives same errors as above. Okay, so the FS might not be clean since I removed the disk while the FS was mounted.. But why does it report gm1s1g?? thats the mountpoint of my gm1 mirror (or rather the s1g on the gm1 mirror).. Confusing ;) Do I dare to do a newfs on the disk, or will it somehow link back to the old mirror and wipe that too? Not something I want to risk.. ;) The other partitions on gm1 is a,b,d,e,f, system partitions from which the system is running currently.. Any clues? Thanks! Johan johan@stromnet.org