From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 21736 invoked from network); 18 Jun 2021 05:50:51 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 18 Jun 2021 05:50:51 -0000 Received: from NAM11-BN8-obe.outbound.protection.outlook.com ([40.92.20.29]) by 1ess; Thu Jun 17 19:54:11 -0400 2021 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mkqfFPTH3B8Czh+ym2jUktJv1eimbepyejIIcrQ7KsuFVYD9U6CDRDmMkZy/39IYvWDLEAgjyudVXUwZe9bGr3oS1U71A4Lzs3o86hllzC7jal84DvumYs1BOytN9f2/xmWvjegmcy/gQr2225NViHWvbt0rcMvg95O3j7QR/OKl5yY5DSb7zM1Sa1dZPCO7LqIeTSottdyGW3LHmoH2O+H784WkDGxR+TpujoAUDKnoigPI/NhSCbSYU+u3qkx+puxS1tcwkl6P3rGkubpYdqA/LgRV2NQQ/ekgRrvgoFtiSVE+1hMfFMchrw7d9Dr2IqxwIZhuwM3k9qDln/HztQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BE4VKqlyHcRr8Jl+2nCmxPL7Te/RZYfeaGp26AkLm2E=; b=hOrW3aTeLHzB0wKooZr3Lnz/RSyyUUt9HZ+Gsf2oIEWejUmtwAY4kGrPekGZxafnbZBOKp4/vweBj1Su1it3ySmGpoH+EQt726ZbI/Sw34cdlarSA7JUucWYfZjAlxL0hWn1xJ59Ipqrr48SFhbRX5zYIMGPIeqL7iIIpNlNvqf3kqWgm8ZS4TNOBuKY5n9sWTX1rvTa9OBR30Db25hCHB0qj0cPgVcLbsjwLHMOFdO5XdTZEGNojt/jLdsIhhxfA16MfSD+KShKJjbOPpJi1WpAoCRbRMInB2gJkte+X//nEdPavK/dglxfgeaQfN0cbTWUD3abAYLVzPietFYgIg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BE4VKqlyHcRr8Jl+2nCmxPL7Te/RZYfeaGp26AkLm2E=; b=MvjVgkFhbt/+8vXIXj61U9Oq7DLBMkY2J2qRZgHgw+YhJLhOSUAplI7RZsjYNDbu/ovKfippy7q0NAqWmgVbubxZyIrbsL7BZS7Woso6leDjbVcufVBTgt6hpZQAswQ30O+itECvsRBmjKFpNSBI1tq+LxFNFrzbv+GQ3IpUTyBpXoXOPzbQ0xDme/f/GOmw9U01XgN+UVlVjbNsBt7/nFRUBwl/q1dwnFEhfy7+MBGMZ4wgMZj015diapNDCxLRxhfXgzT62Cdfhhcc+Ok9UVdmHqhQLGJqBZu004XethzjzevzCsAkhZv/+HbDq3Bmz/hqAzyYKlohfUBaMNBg1w== Received: from BN8NAM11FT038.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4b::51) by BN8NAM11HT014.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4b::323) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16; Thu, 17 Jun 2021 23:54:10 +0000 Received: from CO1PR17MB5177.namprd17.prod.outlook.com (2a01:111:e400:fc4b::41) by BN8NAM11FT038.mail.protection.outlook.com (2a01:111:e400:fc4b::246) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16 via Frontend Transport; Thu, 17 Jun 2021 23:54:10 +0000 Received: from CO1PR17MB5177.namprd17.prod.outlook.com ([fe80::75fc:c74:a485:b568]) by CO1PR17MB5177.namprd17.prod.outlook.com ([fe80::75fc:c74:a485:b568%2]) with mapi id 15.20.4242.019; Thu, 17 Jun 2021 23:54:05 +0000 From: Lorenzo Bivens To: "9front@9front.org" <9front@9front.org> Thread-Topic: Disk Mirroring, or disk composition using fs(3) Thread-Index: AQHXY87bJbcgTYzeTkSX+2chKj77IQ== Sender: Lorenzo Bivens Date: Thu, 17 Jun 2021 23:54:05 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:F537892FC54690EDC6794F86D1B87D542BC9F6FA2A9DB67FF03A224B82927EAD;UpperCasedChecksum:0C38E045721E3D091A12CF4B8D38E919552B527DDFA6DB2407E44CC894F7E99B;SizeAsReceived:6738;Count:43 x-ms-exchange-messagesentrepresentingtype: 2 x-tmn: [fP1jMLSjMvlKf5rhaav6HpSUTHd4MELE] x-ms-publictraffictype: Email x-incomingheadercount: 43 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: cc476674-409f-4ad9-c8a1-08d931eb30c0 x-ms-traffictypediagnostic: BN8NAM11HT014: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZxAKyLUpwqFXEyZlcVPgvOS7nwbVSZ0wmWxxOLxBEUbwQv6VW1YriNFJEXq0VvT40bWysscnwh3EZ71CgqFyGtyMPYcwEoARFHz2KPOb8iBpfEo2YwfmVS+IRSEMaAMpCcnOKn1iw5q+mUl8QWnMyqwEmoxKnqM2x2lnlR7sfR6MwTxCDfYUAmwIgSj564WzMLeDDh6XoIOEdsIJYLXWQ/5WMtftRqwJRtT4erDls/rb09/rZ1X2afynkGj4uyHTTCGNDyHappdtBAMlpPzN2kAVo6o2SwlInzWNBUFiCglmuXNz4kx2yBvHdWHzIUy+z06ZKa3BB05s2gubk0ebcCUj7KGFud5XOFOkVeibgICWKmqb2B9roHiE5w7iyj/tybT7jTVIYC3gBiGEOThrAg== x-ms-exchange-antispam-messagedata: /qqp7tVS40qnZosSEJr5wRVv9GIlF+vA0D9QUViqjtVWCJj6nPcjLM6Khzw9x4DX+4819eYcf//PzyD0MVfckMzOtkj2iQ9PLG0EuFKxmWxb2mTiNWdWx4JDePRjlEMMlDDdGxy72SdAT7zxM5nqtg== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT038.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: cc476674-409f-4ad9-c8a1-08d931eb30c0 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2021 23:54:05.3965 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8NAM11HT014 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: rich-client reduce/map-based deep-learning database Subject: [9front] Disk Mirroring, or disk composition using fs(3) Reply-To: 9front@9front.org Precedence: bulk Hi!=0A= =0A= I am attempting to setup a couple of disks as mirrors to store a cwfs' fsw= orm partition. I am operating under the assumption that an fs(3) made disk = file operates as any other disk.=0A= =0A= Starting with two identical blank disks, here is my current process:=0A= echo mirror md0/data /dev/sd01/data /dev/sd02/data >/dev/fs/ctl=0A= disk/mbr -m /386/mbr /dev/md0/data # adding mbr to the mirror set correctly= adds mbr to both disks=0A= echo part md0/plan9 /dev/md0/data 0 end >/dev/fs/ctl # correctly adds a pa= rtition to both disks=0A= echo part md0/fsworm /dev/md0/plan9 0 end >/dev/fs/ctl # adds the fsworm su= bpartition=0A= =0A= So far, so good. Now let's try the install=0A= configfs... cwfs64x=0A= partdisk... setup my cache drive=0A= prepdisk... slice the cache drive with 9fat, nvram, other, and fscache=0A= mountfs:=0A= - /dev/sd00/fscache as fscache=0A= - /dev/md0/fsworm as worm (manual input since no suggestions are made)=0A= - /dev/sd00/other as other (and I am not even sure I want this...)=0A= ream the system? (mutual assured destruction) yes=0A= a series of=0A= wrenwrite: block out of range w"/dev/md0/fsworm"(2)=0A= wrenread: block out of range w"/dev/md0/fsworm"(2)=0A= ....=0A= w"/dev/md0/fsworm" block 2 WORM SUPER BLOCK READ FAILED=0A= ...=0A= and the rest is consequence of that=0A= =0A= I suspect this could be a problem of assumptions. If anyone has experience = with a similar disk layout... how did you make it work?=0A= =0A= Thanks!=0A= =0A= =0A= =0A= =0A= =0A=