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.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10608 invoked from network); 21 Jun 2021 15:58:09 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 21 Jun 2021 15:58:09 -0000 Received: from NAM12-BN8-obe.outbound.protection.outlook.com ([40.92.21.23]) by 1ess; Mon Jun 21 01:34:36 -0400 2021 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jCT6x5HVhB054YIcSI6XlNFCFj51Fn+Tgz2jNUDZ//XQf8+x2tliyCnY8ZIkgUCPTvt1CYZd/DzfQMPaK11s2B67nwgzBjA2JJUQ3hLaDhn0nq8nuKyEIt+EFI0zwKSja4pdqiZqwq9ZPpeWIs2SocFPwOooZ7qv5mFeoNddHYq2epz4lzi5YrM9dhSJNrQRUeCEemsdB4aiWveNLJ3Gb3UaylewCI8mmMPvR6wLZ+1JWXfPQ7V+IPDZRP81OXzQnKKF5Ho+XRsxGefzVHJ87HLbwV7XUtowvtCAt/80/cx/nvgbZFJ5AGtLwpjatgd1VClziPXe3/45oIU+pa9A9Q== 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=Mnc8UYjPPpn7ZyMH1xpphcpDkNhCxWl7I3T/ffzbtRw=; b=BZJLG2d44iiw42QNAC/PrN6ipWogwNbWMwVYjUgbQwQyZzDiUUlT+z6yxlBYLS2o/cnmgCno9qtR3tIWKQGiFgTLaIVr70ao//XTWxyd0FdWl/jKdutBIvhe/P5CZJJW+qdvi1oHSjAdigseKWyD2V386lNoi+P1RVT6aYAKaNSJE8G7dfKQCXSeWwgrdVymF/Jz+25CONehuVaVjKoiwBfamdh2BxzfVbaxTy7HeKM6WFwGw6ify6lBipzF1uLrvcjPcWA9iD0L83IFUWGwg2l6vYO5TPqetoxAfusaw3cFnAwcftruSJv8cunfZuCFfYWBOZJfGVNmnjxjb6fcog== 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=Mnc8UYjPPpn7ZyMH1xpphcpDkNhCxWl7I3T/ffzbtRw=; b=ZMK58s/eZ2uW4PRCQoWYSigokzD6hoRqKf948wdwR8Ocioctep+ruxvkOqWAlr+H6XyIe8rOzLw/LtSaZuDzp9nlaL3Vf1BI2nCh29aLEWlSXbBJSWdf82Wl9rGAWv1wQ/Hz+YC/uQzQZUYH/gHTGHPzGP92XKQR0Rm/Z58Bh7yIj2B21FhJDEYdem7jxQ4EDWf3hdCo07ZVnCjFsc8wK5jkdGhjQAxOgXD2EJWh7vqbpRIvbklxaFf2/nCGoiU+enGHWV33MGqRGxGC+OsmB70bDO0apf5ZbBl9kSIetwouupYcU64btHlucE/lhn5PK4fGN0tvYkVk0z683OUiIA== Received: from MW2NAM12FT030.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::53) by MW2NAM12HT089.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::232) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.10; Mon, 21 Jun 2021 05:34:34 +0000 Received: from CO1PR17MB5177.namprd17.prod.outlook.com (2a01:111:e400:fc65::52) by MW2NAM12FT030.mail.protection.outlook.com (2a01:111:e400:fc65::278) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.10 via Frontend Transport; Mon, 21 Jun 2021 05:34:34 +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.023; Mon, 21 Jun 2021 05:34:34 +0000 From: Lorenzo Bivens To: "9front@9front.org" <9front@9front.org> Thread-Topic: [9front] Re: Disk Mirroring, or disk composition using fs(3) Thread-Index: AQHXY87bJbcgTYzeTkSX+2chKj77IasaSGKAgAOnms+AAAZDEA== Sender: Lorenzo Bivens Date: Mon, 21 Jun 2021 05:34:34 +0000 Message-ID: References: ,, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:3D3BB4910AA674D9A37011EF59CB68B20FCBDC2C81CCE50CD24BC58C765C3E0A;UpperCasedChecksum:9A5B5B8F4D4B0A582A257C711E559E78CFF505DDF81A2D30B33E1EA285D1A34D;SizeAsReceived:7086;Count:45 x-ms-exchange-messagesentrepresentingtype: 2 x-tmn: [O9VRzPnlBSauxxKBMGF1/DiSKGa9DRUc] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 06487661-227b-43b3-9c9e-08d9347640a6 x-ms-traffictypediagnostic: MW2NAM12HT089: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1NPeK6dRsn3zpBiKMtXMBDhww+LKAsnrUMCt3WCXMW4hAVk248ThCGJ6VEWcVG6XerIvPmcX4P5Ahops2XFRSHNRCbCSqsAa0gsmn/QpRuR/aOml3d8K7a49qmomYK8GRaYx1bT5vOi5oSBsHadNm+fRPiDNdnR1XWHCmPCdaGVHK5CRC7GJ20HXDt/APDWi1/cqKsOerBaC4WqswuuprXovzwJvLrjH2eCXHTKv6Tkz9CVyENpQRQkGOVQZeC+AXQu7M+pQYcpiOtSVd1/qTCp4Hw+0nzGG0uWx6eVxiO5pNDnxmeuUVCmTs5ESmOYL6i8NuBQowSoZUdgYQQA/en2m3W0/wJXkXN5ETOYS5AVDwosyacU91usNJgPL38VWaVRiQivxvzJ0MF3J3GNzvA== x-ms-exchange-antispam-messagedata: 9jHYYfDY+UxbacKhR30tvXlxquZ0KRwBkCRfAoIo4n4WbiY+fBF8PGZ2QlxuRczi9IT/J5xh9LF4YJSHkAJEmx+ErPaCvAeRMkffBaCFv/iHdUwkToODtoFNcNu31UeHkcpZKJHRtEnYV/6NHFa6tw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: MW2NAM12FT030.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 06487661-227b-43b3-9c9e-08d9347640a6 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2021 05:34:34.4176 (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: MW2NAM12HT089 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: self-signing-oriented metadata hypervisor information controller Subject: Re: [9front] Re: Disk Mirroring, or disk composition using fs(3) Reply-To: 9front@9front.org Precedence: bulk And unstuck. The size of my partitions was off by several million bytes. Thanks! ________________________________________ From: Lorenzo Bivens on behalf of Lorenzo Bivens Sent: Sunday, June 20, 2021 10:20 PM To: 9front@9front.org Subject: Re: [9front] Re: Disk Mirroring, or disk composition using fs(3) Still stuck! > Are you using the literal word "end" here? I am using the word end as a placeholder for the size of the disk (sorry I = reckon I should have put some bytes in there) BUT, as a curiosity, I did try to use the word "end" now that you mentioned= it... And it fails silently. Thanks for pointing to it! ________________________________________ From: Anthony Martin Sent: Friday, June 18, 2021 2:22 PM To: 9front@9front.org Subject: [9front] Re: Disk Mirroring, or disk composition using fs(3) Lorenzo Bivens once said: > echo part md0/plan9 /dev/md0/data 0 end >/dev/fs/ctl # correctly adds a = partition to both disks > echo part md0/fsworm /dev/md0/plan9 0 end >/dev/fs/ctl # adds the fsworm = subpartition Are you using the literal word "end" here? It should be an integer. The fs(3) device uses strtoll to parse the argument and will silently return 0 if it is not a number resulting in a zero length partition. This should probably be an error but it's rare to manually write to /dev/fs/ctl. Just use disk/fdisk and disk/prep to figure out the start and length offsets for the plan9 and fsworm partitions, respectively. Cheers, Anthony