From owner-freebsd-geom@FreeBSD.ORG Mon Feb 13 11:02:28 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 62E2E16A420 for ; Mon, 13 Feb 2006 11:02:28 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C86143D45 for ; Mon, 13 Feb 2006 11:02:28 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1DB2SW2067258 for ; Mon, 13 Feb 2006 11:02:28 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1DB2QL2067252 for freebsd-geom@freebsd.org; Mon, 13 Feb 2006 11:02:27 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 13 Feb 2006 11:02:27 GMT Message-Id: <200602131102.k1DB2QL2067252@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 13 Feb 2006 11:02:28 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/01/21] kern/76538 geom [gbde] nfs-write on gbde partition stalls o [2005/08/04] kern/84556 geom [geom] GBDE-encrypted swap causes panic a o [2005/10/16] kern/87544 geom [gbde] mmaping large files on a gbde file o [2005/11/16] kern/89102 geom [geom_vfs] [panic] panic when forced unmo o [2005/12/08] bin/90093 geom fdisk(8) incapable of altering in-core ge o [2005/12/18] kern/90582 geom [geom_mirror] [panic] Restore cause panic 6 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/02/26] bin/78131 geom gbde "destroy" not working. o [2005/03/26] kern/79251 geom [2TB] newfs fails on 2.6TB gbde device 2 problems total. From owner-freebsd-geom@FreeBSD.ORG Mon Feb 13 15:54:49 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 3EBB416A423 for ; Mon, 13 Feb 2006 15:54:49 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from biodiesel.gaiahost.coop (biodiesel.gaiahost.coop [64.95.78.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B29043D66 for ; Mon, 13 Feb 2006 15:54:48 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from gaiahost.coop (host-64-65-195-19.spr.choiceone.net [::ffff:64.65.195.19]) (AUTH: LOGIN mark@hubcapconsulting.com) by biodiesel.gaiahost.coop with esmtp; Mon, 13 Feb 2006 10:54:47 -0500 id 00738067.43F0ABC8.00005A01 Received: by gaiahost.coop (sSMTP sendmail emulation); Mon, 13 Feb 2006 10:54:54 -0500 Date: Mon, 13 Feb 2006 10:54:54 -0500 From: Mark Bucciarelli To: freebsd-geom@FreeBSD.org Message-ID: <20060213155454.GM2248@rabbit> Mail-Followup-To: freebsd-geom@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: Replacing Failed Drive 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: Mon, 13 Feb 2006 15:54:49 -0000 I have a dead drive that I will replace tonight. $ gmirror status Name Status Components mirror/gm0 DEGRADED da1 $ As I read the man page, I should do this: (1) gmirror forget gm0 (2) power down (3) replace drive (4) power up (5) gmirror insert gm0 da0 Is this the correct sequence? m From owner-freebsd-geom@FreeBSD.ORG Mon Feb 13 18:08:05 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 3FBF216A422 for ; Mon, 13 Feb 2006 18:08:05 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id C51F743D6D for ; Mon, 13 Feb 2006 18:07:54 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id C229251560; Mon, 13 Feb 2006 19:07:53 +0100 (CET) Received: from localhost (dkk244.neoplus.adsl.tpnet.pl [83.24.14.244]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 0B30D514AC for ; Mon, 13 Feb 2006 19:07:49 +0100 (CET) Date: Mon, 13 Feb 2006 19:07:45 +0100 From: Pawel Jakub Dawidek To: freebsd-geom@FreeBSD.org Message-ID: <20060213180744.GB18369@garage.freebsd.pl> References: <20060213155454.GM2248@rabbit> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aVD9QWMuhilNxW9f" Content-Disposition: inline In-Reply-To: <20060213155454.GM2248@rabbit> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: Subject: Re: Replacing Failed Drive 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: Mon, 13 Feb 2006 18:08:05 -0000 --aVD9QWMuhilNxW9f Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 13, 2006 at 10:54:54AM -0500, Mark Bucciarelli wrote: +> I have a dead drive that I will replace tonight. +>=20 +> $ gmirror status +> Name Status Components +> mirror/gm0 DEGRADED da1 +> $ +>=20 +> As I read the man page, I should do this: +>=20 +> (1) gmirror forget gm0 +> (2) power down +> (3) replace drive +> (4) power up +> (5) gmirror insert gm0 da0 +>=20 +> Is this the correct sequence? Yes. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --aVD9QWMuhilNxW9f Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD8MrwForvXbEpPzQRAtqqAKDRDoBXJTUJarzaDW3fhoYV7FO9cQCcCB0n I5e16YX0y9OLdAu9lIGVjc0= =N/11 -----END PGP SIGNATURE----- --aVD9QWMuhilNxW9f-- From owner-freebsd-geom@FreeBSD.ORG Mon Feb 13 21:12:36 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 EBB5516A420 for ; Mon, 13 Feb 2006 21:12:35 +0000 (GMT) (envelope-from cochard@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8661E43D81 for ; Mon, 13 Feb 2006 21:12:34 +0000 (GMT) (envelope-from cochard@gmail.com) Received: by nproxy.gmail.com with SMTP id a25so313190nfc for ; Mon, 13 Feb 2006 13:12:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=LRfl3M2l0R836T6R3ahn0pGLQaASBwJsUUauzdoJI8Mxvg4j6vdTihEtoOnyQnlpdjb4trbbw5eukVl7OyOr9eQypsW3hgTcm6srb6wpn0CA9D1UUMfap4tKjygCMoIMV2NcMhMcMD9VVhAWenU38REnrcgfKi/5z+rFd/WaObk= Received: by 10.48.235.15 with SMTP id i15mr972822nfh; Mon, 13 Feb 2006 13:12:32 -0800 (PST) Received: by 10.48.48.3 with HTTP; Mon, 13 Feb 2006 13:12:32 -0800 (PST) Message-ID: <3131aa530602131312r1944cfbfi@mail.gmail.com> Date: Mon, 13 Feb 2006 22:12:32 +0100 From: Olivier Cochard To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Replacing Failed Drive... with gvinum 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: Mon, 13 Feb 2006 21:12:36 -0000 Hi all, I've just read the post about replacing a failed drive with gmirror, How doing the same with gvinum (for RAID 1 and RAID 5) volume ? Thanks, Olivier -- Olivier Cochard FreeNAS main developer http://www.freenas.org Skype: callto://ocochard From owner-freebsd-geom@FreeBSD.ORG Tue Feb 14 12:15:18 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 3749016A420; Tue, 14 Feb 2006 12:15:18 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from biodiesel.gaiahost.coop (biodiesel.gaiahost.coop [64.95.78.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2D0743D55; Tue, 14 Feb 2006 12:15:17 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from gaiahost.coop (dialup-4.157.86.9.Dial1.Boston1.Level3.net [::ffff:4.157.86.9]) (AUTH: LOGIN mark@hubcapconsulting.com) by biodiesel.gaiahost.coop with esmtp; Tue, 14 Feb 2006 07:15:15 -0500 id 0057806F.43F1C9D4.000008C2 Received: by gaiahost.coop (sSMTP sendmail emulation); Tue, 14 Feb 2006 07:15:13 -0500 Date: Tue, 14 Feb 2006 07:15:13 -0500 From: Mark Bucciarelli To: Pawel Jakub Dawidek Message-ID: <20060214121513.GA3968@rabbit> Mail-Followup-To: Pawel Jakub Dawidek , freebsd-geom@FreeBSD.org References: <20060213155454.GM2248@rabbit> <20060213180744.GB18369@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <20060213180744.GB18369@garage.freebsd.pl> User-Agent: Mutt/1.4.2.1i Cc: freebsd-geom@FreeBSD.org Subject: Re: Replacing Failed Drive 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: Tue, 14 Feb 2006 12:15:18 -0000 On Mon, Feb 13, 2006 at 07:07:45PM +0100, Pawel Jakub Dawidek wrote: > On Mon, Feb 13, 2006 at 10:54:54AM -0500, Mark Bucciarelli wrote: > +> I have a dead drive that I will replace tonight. > +> > +> $ gmirror status > +> Name Status Components > +> mirror/gm0 DEGRADED da1 > +> $ > +> > +> As I read the man page, I should do this: > +> > +> (1) gmirror forget gm0 > +> (2) power down (2a) Move da1 to da0 It wouldn't boot with blank disk in da0. > +> (3) replace drive > +> (4) power up > +> (5) gmirror insert gm0 da0 > +> > +> Is this the correct sequence? > > Yes. $ gmirror status Name Status Components mirror/gm0 COMPLETE da0 da1 $ :D Thanks. m From owner-freebsd-geom@FreeBSD.ORG Fri Feb 17 04:27:04 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 2016C16A420 for ; Fri, 17 Feb 2006 04:27:04 +0000 (GMT) (envelope-from gordon@tetlows.org) Received: from spiff.melthusia.org (spiff.melthusia.org [207.67.244.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA50E43D45 for ; Fri, 17 Feb 2006 04:27:03 +0000 (GMT) (envelope-from gordon@tetlows.org) Received: from [192.168.1.56] (cpe-66-91-238-221.san.res.rr.com [66.91.238.221]) (authenticated bits=0) by spiff.melthusia.org (8.12.10/8.12.10) with ESMTP id k1H4QuTJ059385; Thu, 16 Feb 2006 20:26:57 -0800 (PST) (envelope-from gordon@tetlows.org) Message-ID: <43F55097.6050806@tetlows.org> Date: Thu, 16 Feb 2006 20:27:03 -0800 From: Gordon Tetlow User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Joerg Pernfuss References: <20060211160438.44085869@loki> In-Reply-To: <20060211160438.44085869@loki> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: geom_label and devd interaction 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: Fri, 17 Feb 2006 04:27:04 -0000 Joerg Pernfuss wrote: > Hi, > > I use geom_label for my various usb sticks, cf cards etc and try > to create some sort of automount functionality using the filesystem > labels. > > For example: > umass0: USBest Technology USB Mass Storage Device, rev 2.00/1.00, addr 2 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: <256MB USB2.0FlashDrive A4> Removable Direct Access SCSI-2 device > da0: 1.000MB/s transfers > da0: 250MB (512000 512 byte sectors: 64H 32S/T 250C) > GEOM_LABEL: Label for provider da0s1 is msdosfs/USBSTICK01. > GEOM_LABEL: Label for provider da0s2 is ufs/usbstick01. > > This then gets mangled by devfs.rules: > add path ufs/usbstick01 mode 0600 user elessar group operator > add path msdosfs/USBSTICK01 mode 0600 user elessar group operator > > So far, so good. At this point I'd like devd to honour this rules: > attach 150 { > device-name "ufs/usbstick01"; > # device-name "usbstick01"; > action "su elessar -c 'mount /dev/ufs/usbstick01 \ > /home/elessar/mnt/usbstick01/ufs/'"; > }; > attach 150 { > device-name "msdosfs/USBSTICK01"; > # device-name "USBSTICK01"; > action "su elessar -c 'mount_msdosfs /dev/msdosfs/USBSTICK01 \ > /home/elessar/mnt/usbstick01/msdosfs/'"; > }; > > But, so far, I can't coerce devd into honouring this part of his > configuration. > > Am I missing something or doesn't geom_label create events that are > monitored by devd? > > Thanks for any help. > Joerg > The only obvious thing that jumps out at me is that you are trying to use mount as a user, not root. -gordon From owner-freebsd-geom@FreeBSD.ORG Fri Feb 17 09:17:53 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 744C916A420 for ; Fri, 17 Feb 2006 09:17:53 +0000 (GMT) (envelope-from elessar@bsdforen.de) Received: from postfix.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id B43C743D55 for ; Fri, 17 Feb 2006 09:17:52 +0000 (GMT) (envelope-from elessar@bsdforen.de) Received: by postfix.bsdforen.de (Postfix, from userid 20000) id C8C3F6844BA; Fri, 17 Feb 2006 10:17:50 +0100 (CET) Received: from localhost (postfix [127.0.0.3]) by postfix.bsdforen.de (Postfix) with ESMTP id 981F86844B7 for ; Fri, 17 Feb 2006 10:17:49 +0100 (CET) Received: from postfix.bsdforen.de ([127.0.0.3]) by localhost (postfix.bsdforen.de [127.0.0.3]) (amavisd-new, port 10024) with LMTP id 05133-04 for ; Fri, 17 Feb 2006 10:17:49 +0100 (CET) Received: from loki (unknown [84.156.240.15]) by postfix.bsdforen.de (Postfix) with ESMTP id CC4B46844B6 for ; Fri, 17 Feb 2006 10:17:48 +0100 (CET) Date: Fri, 17 Feb 2006 10:17:15 +0100 From: Joerg Pernfuss To: freebsd-geom@freebsd.org Message-ID: <20060217101715.20af4e03@loki> In-Reply-To: <43F55097.6050806@tetlows.org> References: <20060211160438.44085869@loki> <43F55097.6050806@tetlows.org> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_siEfmUWUz3Zb7csetUuKU0R; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Scanned: amavisd-new at bsdforen.de X-DSPAM-Result: Innocent X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 43f594be100281685413086 X-DSPAM-User: global Subject: Re: geom_label and devd interaction 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: Fri, 17 Feb 2006 09:17:53 -0000 --Sig_siEfmUWUz3Zb7csetUuKU0R Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 16 Feb 2006 20:27:03 -0800 Gordon Tetlow wrote: > Joerg Pernfuss wrote: > > Hi, > > > > I use geom_label for my various usb sticks, cf cards etc and try > > to create some sort of automount functionality using the filesystem > > labels. > > > > For example: > > umass0: USBest Technology USB Mass Storage Device, rev > > 2.00/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 > > da0: <256MB USB2.0FlashDrive A4> Removable Direct Access > > SCSI-2 device da0: 1.000MB/s transfers > > da0: 250MB (512000 512 byte sectors: 64H 32S/T 250C) > > GEOM_LABEL: Label for provider da0s1 is msdosfs/USBSTICK01. > > GEOM_LABEL: Label for provider da0s2 is ufs/usbstick01. > > > > This then gets mangled by devfs.rules: > > add path ufs/usbstick01 mode 0600 user elessar group > > operator add path msdosfs/USBSTICK01 mode 0600 user elessar group > > operator > > > > So far, so good. At this point I'd like devd to honour this rules: > > attach 150 { > > device-name "ufs/usbstick01"; > > # device-name "usbstick01"; > > action "su elessar -c 'mount /dev/ufs/usbstick01 \ > > /home/elessar/mnt/usbstick01/ufs/'"; > > }; > > attach 150 { > > device-name "msdosfs/USBSTICK01"; > > # device-name "USBSTICK01"; > > action "su elessar -c > > 'mount_msdosfs /dev/msdosfs/USBSTICK01 > > \ /home/elessar/mnt/usbstick01/msdosfs/'"; }; > > > > But, so far, I can't coerce devd into honouring this part of his > > configuration. > > > > Am I missing something or doesn't geom_label create events that are > > monitored by devd? > > > > Thanks for any help. > > Joerg > > =20 >=20 > The only obvious thing that jumps out at me is that you are trying to=20 > use mount as a user, not root. >=20 > -gordon Device permissions, directory permissons and vfs.usermount=3D1 are set. I can mount as user and the above mount commands do work from the command line. I'm just at a loss in figuring out why devd doesn't trigger. Joerg --=20 | /"\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a | | \ / campaign against | 0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 | | X HTML in email | Now featuring a brand new GPG-Key! | | / \ and news | Please update your keyring. | --Sig_siEfmUWUz3Zb7csetUuKU0R Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD9ZStH31s/bvKrSQRAkxfAJsHWaFkM07CQcGmXAQp4e71zk+AkACfXLWG +qZdV1Sxp3oYmbYBhf82tvA= =mOpz -----END PGP SIGNATURE----- --Sig_siEfmUWUz3Zb7csetUuKU0R-- From owner-freebsd-geom@FreeBSD.ORG Sat Feb 18 13:48:09 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 12E7F16A422 for ; Sat, 18 Feb 2006 13:48:09 +0000 (GMT) (envelope-from gray@zboy.net) Received: from futuretsi.com (n28z18l11.broadband.ctm.net [125.31.18.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 2E0A443D45 for ; Sat, 18 Feb 2006 13:48:07 +0000 (GMT) (envelope-from gray@zboy.net) Message-ID: <000001c63491$e08b0fb0$537ea8c0@wavelet> From: "Grayson Ogles" To: freebsd-geom@freebsd.org Date: Sat, 18 Feb 2006 08:47:36 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: cide r news X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grayson Ogles List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 13:48:09 -0000 Hi =20 CtIpA a LmIvSt o$j3p,p3j3 o=20 VpI i AvGbRwA i q$x3 y ,m7t5 r=20 VpAgLolmUeM j z$j1w, i 2l1y =20 http://www.rancuthas.com =20 From owner-freebsd-geom@FreeBSD.ORG Sat Feb 18 16:01:00 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 03B5C16A420 for ; Sat, 18 Feb 2006 16:01:00 +0000 (GMT) (envelope-from rik@inse.ru) Received: from mail.inse.ru (inse.ru [144.206.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D65A43D46 for ; Sat, 18 Feb 2006 16:00:59 +0000 (GMT) (envelope-from rik@inse.ru) Received: from inse.ru (www.inse.ru [144.206.128.1]) by mail.inse.ru (Postfix) with ESMTP id 2973C33C27 for ; Sat, 18 Feb 2006 19:00:58 +0300 (MSK) Message-ID: <43F744FB.2060503@inse.ru> Date: Sat, 18 Feb 2006 19:02:03 +0300 From: Roman Kurakin User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030426 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Disk copy 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, 18 Feb 2006 16:01:00 -0000 Hi, I have a disk full copy (as a file), not just partiton. I guess that geom is my friend. But I cant figureout how to attach it to the system via geom. rik From owner-freebsd-geom@FreeBSD.ORG Sat Feb 18 16:17:15 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 3BDE816A420 for ; Sat, 18 Feb 2006 16:17:15 +0000 (GMT) (envelope-from elessar@bsdforen.de) Received: from postfix.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8286043D45 for ; Sat, 18 Feb 2006 16:17:14 +0000 (GMT) (envelope-from elessar@bsdforen.de) Received: by postfix.bsdforen.de (Postfix, from userid 20000) id CB5696844BA; Sat, 18 Feb 2006 17:17:07 +0100 (CET) Received: from localhost (postfix [127.0.0.3]) by postfix.bsdforen.de (Postfix) with ESMTP id A5CD26844B7 for ; Sat, 18 Feb 2006 17:17:06 +0100 (CET) Received: from postfix.bsdforen.de ([127.0.0.3]) by localhost (postfix.bsdforen.de [127.0.0.3]) (amavisd-new, port 10024) with LMTP id 20499-11 for ; Sat, 18 Feb 2006 17:17:06 +0100 (CET) Received: from loki (p549CD2B4.dip.t-dialin.net [84.156.210.180]) by postfix.bsdforen.de (Postfix) with ESMTP id A8ED66844B6 for ; Sat, 18 Feb 2006 17:17:05 +0100 (CET) Date: Sat, 18 Feb 2006 17:16:38 +0100 From: Joerg Pernfuss To: freebsd-geom@freebsd.org Message-ID: <20060218171638.6ac81f82@loki> In-Reply-To: <43F744FB.2060503@inse.ru> References: <43F744FB.2060503@inse.ru> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_8RxxHdXnPbJd6cYXwh+fNzN; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Scanned: amavisd-new at bsdforen.de X-DSPAM-Result: Innocent X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 43f74883327935511511138 X-DSPAM-User: global Subject: Re: Disk copy 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, 18 Feb 2006 16:17:15 -0000 --Sig_8RxxHdXnPbJd6cYXwh+fNzN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 18 Feb 2006 19:02:03 +0300 Roman Kurakin wrote: > Hi, >=20 > I have a disk full copy (as a file), not just partiton. > I guess that geom is my friend. But I cant figureout how to > attach it to the system via geom. mdconfig -a -t vnode -f $file [-u [0-9]] mount_[fs-type] /dev/md[whatever] /mountpoint $work umount /mountpoint mdconfig -d -u [0-9] --=20 | /"\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a | | \ / campaign against | 0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 | | X HTML in email | Now featuring a brand new GPG-Key! | | / \ and news | Please update your keyring. | --Sig_8RxxHdXnPbJd6cYXwh+fNzN Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD90hvH31s/bvKrSQRAnYvAJ9vcUHPLd/a5TQ8m0xqTqygjdbX1ACfUAsb c15txUuuuvH69tXIh1TXzmg= =I7SY -----END PGP SIGNATURE----- --Sig_8RxxHdXnPbJd6cYXwh+fNzN-- From owner-freebsd-geom@FreeBSD.ORG Sat Feb 18 21:33:51 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 D7B9616A420 for ; Sat, 18 Feb 2006 21:33:51 +0000 (GMT) (envelope-from rik@inse.ru) Received: from mail.inse.ru (inse.ru [144.206.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7986E43D45 for ; Sat, 18 Feb 2006 21:33:49 +0000 (GMT) (envelope-from rik@inse.ru) Received: from inse.ru (www.inse.ru [144.206.128.1]) by mail.inse.ru (Postfix) with ESMTP id 5590733C27; Sun, 19 Feb 2006 00:33:46 +0300 (MSK) Message-ID: <43F79303.5050808@inse.ru> Date: Sun, 19 Feb 2006 00:34:59 +0300 From: Roman Kurakin User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030426 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: Joerg Pernfuss References: <43F744FB.2060503@inse.ru> <20060218171638.6ac81f82@loki> In-Reply-To: <20060218171638.6ac81f82@loki> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: Disk copy 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, 18 Feb 2006 21:33:52 -0000 Joerg Pernfuss: >On Sat, 18 Feb 2006 19:02:03 +0300 >Roman Kurakin wrote: > > >>Hi, >> >> I have a disk full copy (as a file), not just partiton. >>I guess that geom is my friend. But I cant figureout how to >>attach it to the system via geom. >> >> > >mdconfig -a -t vnode -f $file [-u [0-9]] >mount_[fs-type] /dev/md[whatever] /mountpoint >$work >umount /mountpoint >mdconfig -d -u [0-9] > How this will deal with partition table? File is not partition copy, it is full copy of entire disk with partition table etc. rik From owner-freebsd-geom@FreeBSD.ORG Sat Feb 18 22:17:43 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 E996D16A420 for ; Sat, 18 Feb 2006 22:17:43 +0000 (GMT) (envelope-from elessar@bsdforen.de) Received: from postfix.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4DAA43D72 for ; Sat, 18 Feb 2006 22:17:40 +0000 (GMT) (envelope-from elessar@bsdforen.de) Received: by postfix.bsdforen.de (Postfix, from userid 20000) id F2C8D6844BA; Sat, 18 Feb 2006 23:17:39 +0100 (CET) Received: from localhost (postfix [127.0.0.3]) by postfix.bsdforen.de (Postfix) with ESMTP id 652D06844B7 for ; Sat, 18 Feb 2006 23:17:39 +0100 (CET) Received: from postfix.bsdforen.de ([127.0.0.3]) by localhost (postfix.bsdforen.de [127.0.0.3]) (amavisd-new, port 10024) with LMTP id 43852-15-2 for ; Sat, 18 Feb 2006 23:17:39 +0100 (CET) Received: from loki (p549CD2B4.dip.t-dialin.net [84.156.210.180]) by postfix.bsdforen.de (Postfix) with ESMTP id D2EDA6844B6 for ; Sat, 18 Feb 2006 23:17:38 +0100 (CET) Date: Sat, 18 Feb 2006 23:17:08 +0100 From: Joerg Pernfuss To: freebsd-geom@freebsd.org Message-ID: <20060218231708.6240d912@loki> In-Reply-To: <43F79303.5050808@inse.ru> References: <43F744FB.2060503@inse.ru> <20060218171638.6ac81f82@loki> <43F79303.5050808@inse.ru> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_N_+lvlg5L1rK9KFMt/b/PGV"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Scanned: amavisd-new at bsdforen.de X-DSPAM-Result: Innocent X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 43f79d03539769071718976 X-DSPAM-User: global Subject: Re: Disk copy 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, 18 Feb 2006 22:17:44 -0000 --Sig_N_+lvlg5L1rK9KFMt/b/PGV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 19 Feb 2006 00:34:59 +0300 Roman Kurakin wrote: > How this will deal with partition table? File is not partition copy, > it is full copy of entire disk with partition table etc. It won't deal with anything. It will simply provide the file as a device node. If the file contains valid file system structures, then GEOM will create these (similar to a usb drive getting plugged in). ~/test> ls -l -rw-r--r-- 1 elessar users 20971520 18 Feb 23:09 container ~/test> file container container: x86 boot sector ~/test> sudo mdconfig -a -t vnode -f container -u 0 ~/test> ls /dev/md0* /dev/md0 /dev/md0s1 /dev/md0s1a /dev/md0s1c ~/test> sudo mdconfig -d -u 0 ~/test> --=20 | /"\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a | | \ / campaign against | 0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 | | X HTML in email | Now featuring a brand new GPG-Key! | | / \ and news | Please update your keyring. | --Sig_N_+lvlg5L1rK9KFMt/b/PGV Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD95zuH31s/bvKrSQRAluFAJ9qOR/Km8k5u+FL6kQAdZq4CfPkcgCePlbO 3gai+jJoAjfKO/85mZKD6eE= =+I45 -----END PGP SIGNATURE----- --Sig_N_+lvlg5L1rK9KFMt/b/PGV--