From owner-freebsd-chat@FreeBSD.ORG Fri Mar 30 16:28:40 2007 Return-Path: X-Original-To: freebsd-chat@freebsd.org Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F02F16A401 for ; Fri, 30 Mar 2007 16:28:40 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 62AFF13C43E for ; Fri, 30 Mar 2007 16:28:38 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so877152ugh for ; Fri, 30 Mar 2007 09:28:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IvXVR3qFJB6ZUIx1iy0CG7V5KRczMgTIGKsi1QcIeohar903KtREPXfFIOWE3fimjyY3NGcqVU/AXjZ3zcoEX8AL5weJplDlJDdr9Re2iTPYEXtFRNyEnA/rUqEI8lnIBu4HEZbloDPt6ikEqAMnc0PVHlttwgObssYg4vtx5cU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=J1edDSxlONjLd1QbbjVrEBo8HrqOtDdtttVsBsVSCida8vgxXxWb9p4R7edZnGag/qvdIw854pUu5QWPkjdtSlNDeg0w+Y9+RDwHYvSCLdCRSQs2cN0jqI4RPLCZqSs1+Lst0iSVHxM0kA5NFH4XvHIuEOsFk9NwsuuFz8bRuyA= Received: by 10.82.186.5 with SMTP id j5mr4092579buf.1175267919470; Fri, 30 Mar 2007 08:18:39 -0700 (PDT) Received: by 10.82.175.6 with HTTP; Fri, 30 Mar 2007 08:18:39 -0700 (PDT) Message-ID: Date: Fri, 30 Mar 2007 10:18:39 -0500 From: "illoai@gmail.com" To: freebsd-chat@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: geom, lies, and video tape X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2007 16:28:40 -0000 # bsdlabel -e da0s1 . . . Such that: da0s1a => / da1s1a => /tmp da[0-3]s1b => swap da[23]s1a, da[0-3]s1d, da[01]s1e => unused # gstripe label -s 65536 var da0s1d da1s1d Similarly for stripe/home, stripe/ports, and stripe/usr # newfs -U /dev/stripe/var . . . ffwd a couple of months: % bsdlabel stripe/var bsdlabel: /dev/stripe/var: no valid label found % ls -l /dev/stripe/ total 0 crw-r----- 1 root operator 0, 134 Mar 24 09:09 home crw-r----- 1 root operator 0, 135 Mar 24 09:09 ports crw-r----- 1 root operator 0, 133 Mar 24 09:09 usr crw-r----- 1 root operator 0, 132 Mar 24 09:09 var % bsdlabel da0s1 # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 730360 16 4.2BSD 2048 8192 42388 b: 605492 730376 swap c: 8321607 0 unused 0 0 # "raw" part, don't edit d: 605492 1335868 unused 0 0 e: 6380247 1941360 unused 0 0 % gstripe list var Geom name: var State: UP Status: Total=2, Online=2 Type: AUTOMATIC Stripesize: 65536 ID: 3018421848 Providers: 1. Name: stripe/var Mediasize: 619970560 (591M) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: da0s1d Mediasize: 310011904 (296M) Sectorsize: 512 Mode: r1w1e2 Number: 0 2. Name: da1s1d Mediasize: 310011904 (296M) Sectorsize: 512 Mode: r1w1e2 Number: 1 Oddly*, it all works perfectly. My curiousity is about whether this is, not so much expected, but proper** behaviour. I have also done gstripe the canonical way, with striping the daN or daNsN, bsdlabel the stripe, newfs the resulting partitions. But doing it wrong way 'round seems to do no (particular) harm. * Or not-so-oddly, as you wish. ** Demure: "Trousers were meant for women, as women have belatedly discovered." (Anthony Burgess) -- --