From owner-freebsd-current@FreeBSD.ORG Sun Apr 24 09:43:45 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6320E16A4CE; Sun, 24 Apr 2005 09:43:45 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC61043D48; Sun, 24 Apr 2005 09:43:44 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id B038DACAEE; Sun, 24 Apr 2005 11:43:43 +0200 (CEST) Date: Sun, 24 Apr 2005 11:43:43 +0200 From: Pawel Jakub Dawidek To: FreeBSD-CURRENT , freebsd-geom@freebsd.org Message-ID: <20050424094343.GA837@darkness.comp.waw.pl> References: <20050424022434.GA3384@laptoxa.toxa.lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c5jIKqLJqsIKqNdf" Content-Disposition: inline In-Reply-To: <20050424022434.GA3384@laptoxa.toxa.lan> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 Subject: Re: gmirror: Not all disks connected X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2005 09:43:45 -0000 --c5jIKqLJqsIKqNdf Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 24, 2005 at 06:24:34AM +0400, Toxa wrote: +> I've installed 5.4-rc3 recently and decided to play with geom gmirror. I +> have two fresh SAMSUNG SP0411N/TW100-11, so I've put it together and +> followed steps described in http://people.freebsd.org/~rse/mirror/. +> Everything was ok, but when I rebooted with "the final two-disk GEOM +> mirror setup", I've noticed what it's probably still one disk in gm0: +>=20 +> Timecounter "TSC" frequency 1817908512 Hz quality 800 +> Timecounters tick every 10.000 msec +> ad0: 38203MB [77619/16/63] at ata0-master +> UDMA100 +> ad1: 38204MB [77622/16/63] at ata0-slave +> UDMA100 +> GEOM_MIRROR: Device gm0 created (id=3D2404813840). +> GEOM_MIRROR: Device gm0: provider ad1 detected. +> GEOM_MIRROR: Force device gm0 start due to timeout. +> GEOM_MIRROR: Device gm0: provider ad1 activated. +> GEOM_MIRROR: Device gm0: provider mirror/gm0 launched. +> Mounting root from ufs:/dev/mirror/gm0s1a +>=20 +>=20 +> Well, maybe I've lost last changes ang gmirror still lives with ad1 only= ?=20 +>=20 +> cymbal# gmirror list +> Geom name: gm0 +> State: DEGRADED +> Components: 2 +> Balance: round-robin +> Slice: 4096 +> Flags: NONE +> GenID: 0 +> SyncID: 3 +> ID: 2404813840 +> Providers: +> 1. Name: mirror/gm0 +> Mediasize: 40060403200 (37G) +> Sectorsize: 512 +> Mode: r7w7e2 +> Consumers: +> 1. Name: ad1 +> Mediasize: 40060403712 (37G) +> Sectorsize: 512 +> Mode: r1w1e1 +> State: ACTIVE +> Priority: 0 +> Flags: DIRTY +> GenID: 0 +> SyncID: 3 +> ID: 3247857729 +>=20 +>=20 +> When I tried to repeat last steps, I got message "Not all disks connecte= d". +>=20 +> cymbal# gmirror configure -a gm0 +> Not all disks connected. +> cymbal# gmirror status +> Name Status Components +> mirror/gm0 DEGRADED ad1 +>=20 +>=20 +> It seems like gmirror think I've lost ad0, but it's ok. +> I've tried to play with gmirror utility but in most cases I've got "Not +> all disk connected" message. Please read description of 'forget' subcommand. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --c5jIKqLJqsIKqNdf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFCa2pPForvXbEpPzQRAtl3AJ93IKlXe21+NQHadFtFNW4dwmVjEQCePswU SmxIVuYaHJR/38/6mpe3pOk= =Ewse -----END PGP SIGNATURE----- --c5jIKqLJqsIKqNdf--