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 6329 invoked from network); 21 Jun 2021 19:59:05 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 21 Jun 2021 19:59:05 -0000 Received: from NAM12-BN8-obe.outbound.protection.outlook.com ([40.92.21.59]) by 1ess; Mon Jun 21 01:53:20 -0400 2021 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XU/eZB35e2Jj/UMu8TJxpq5rw5NtN3txuvGyUiNU4UtjTMhws9AnEzqG91+KUIbedoH/MHlASeG/3IeDX8a2FE6bAM+G3QBka3gwkHQ5Hl4l3zdkEGHct+VHPfxfOL0qybEFZYF5Joi+rs4E3AJiQXI6ygwIk62wMK3lq+dUN2AjLfGHIVmybLee1KAU0QE24pDVD8z+8QW3VkO21aq++ywf/ct8E4OY+tPU2GkOPnJuE8lfpDZlM/Gxs5le/bBhIoOO9zwYTH7w7IJ2UxJdqx1XbH0ByMzxaxPm1kYUVCwKXpbKG5lt0qp6E61zw1/WvcwzfE6rc4sRnc/1Orz5Ig== 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=6fu4bfj9q2vr0ypCbgu4tibMP60RZbazE6TapOJmvR4=; b=ChqxMMqrrP2Zz63JBkAisOG2gMJtdiKr1zaROKpcVwA19FNFG/vThhOESYjrF7Xeb5GihwWPdqEvN+Kez0SUdstuHGgKJtuktQBr/ixdnyyb9POlmXnaLxQXxbVYUy6+J2e3CntGZ4WEBlbOTXqxLdKw4a8XwKfl9kWpYl6qYE2/hYhcmPQqdzvMd3Tbgnx8tDLl4j5RIvX6X7BehvokSmCZXh+3rrUOmhNSx/KFC2hUtn7el3sfS5HHbLzz/n7QqEa0y8rFp1cXPClmFiFry+Gb3L+YTbkWpJlUSuGM+Zd7C+rSpyiaWJ1kdEjVjZeTsKPhclQgmSyirhnltcYeDg== 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=6fu4bfj9q2vr0ypCbgu4tibMP60RZbazE6TapOJmvR4=; b=MvYbiX/K7u6DrBQ35k/nzxpX5fxP/In4rfI0T3GigBC2F/fQdpHHVK0lvP+FzVBvfqIp/gqP2GrJtO3hqexGYxZPuuN2X9p2rETrMD4T97r5Mjr6GATGoeK3lqFEfYpdQOBNrmIOxRbLcyseCfZ9F4VVKHctrbCbXfrjYZvE3VJ3NWnGm/8305W8LOaV+y7pB7EPFnKsDKw2XJ2LdQG9Y1keJfmEwbbui8nfgI5H9EUKr1Lf1tofhg8jcmNfLevBhy6Mh7z1SerTdCWwpOgy6LO94ENnnAw71mV9zVjZpZ4+WjJ6XxNqS9GCMDK3UKsGxSyjGygaCrXyhv/QW/QUbg== Received: from DM6NAM12FT016.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc64::53) by DM6NAM12HT091.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc64::458) 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:20:10 +0000 Received: from CO1PR17MB5177.namprd17.prod.outlook.com (2a01:111:e400:fc64::45) by DM6NAM12FT016.mail.protection.outlook.com (2a01:111:e400:fc64::217) 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:20: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.023; Mon, 21 Jun 2021 05:20:10 +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+2chKj77IasaSGKAgAOnms8= Sender: Lorenzo Bivens Date: Mon, 21 Jun 2021 05:20:10 +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:7EA3B3CF1FC5891ED12BAE8EA6D3D2CCF233C46DD54D37D721CDBED4D16D90B6;UpperCasedChecksum:2CDC90763815E106CE5AF7E09AB759FFED7A9E0B792A0FC93E98D189A8653646;SizeAsReceived:6939;Count:45 x-ms-exchange-messagesentrepresentingtype: 2 x-tmn: [sL2e65Ot+nYgd45U/26lN3o7GwYH+N+U] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 63bc3bea-e352-4f6c-d862-08d934743d8c x-ms-traffictypediagnostic: DM6NAM12HT091: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rhBWZO1gEmpdZ4PFY+NisKXA4nO4JkGPg+m/KW1RlfRPg6VtOv9muGfENqVJ7N84x72e7HMU+TpIm/2PV1QibVTqkm+wT8iy40EisMNw7CzBej7FTrwqsM8cn2zLd3cxOS11hNnR/B3ytDMrULq0ENCHhq8ZWqaTwSm4ZROoNb8Zoi5xa9rGvMXaWc8L4DXTUIj+oOJpVLLvNBRd2Q5AolirRFMNy5wOZEAKrTztdLG0B7bgm5GtJYJh3syS9FrZuKC5sKGMRPYFyQbm54JaFe5PEhZoZ5tOAqOyXesiwEM3jkSedUcsoHukbrvDnK9m4TdRF8c5NhVKEg6tfWxjeeZY6MRwxge+XGKlMWvVqleczPhU+LgolOOLmbCCKDUg9kU0O7dwO6Jio2fh+TLPaQ== x-ms-exchange-antispam-messagedata: 2Mk1aejJJevQzgls+OU4QgJzzceNARDMTCMf/0NC/Dz1nZuaesv+0f4deTjgkdkg4HvpzA0LIhibo3bp3OniNoab/45O2OPcfjm6Czs3lB2ltS1CHEfaLSoqkSy/2f09nxfvA5fyuQqp87xpyc238w== 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: DM6NAM12FT016.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 63bc3bea-e352-4f6c-d862-08d934743d8c X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2021 05:20:10.2290 (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: DM6NAM12HT091 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: encrypted content-driven API Subject: Re: [9front] Re: Disk Mirroring, or disk composition using fs(3) Reply-To: 9front@9front.org Precedence: bulk Still stuck!=0A= =0A= > Are you using the literal word "end" here?=0A= =0A= 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)=0A= 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!=0A= =0A= ________________________________________=0A= From: Anthony Martin =0A= Sent: Friday, June 18, 2021 2:22 PM=0A= To: 9front@9front.org=0A= Subject: [9front] Re: Disk Mirroring, or disk composition using fs(3)=0A= =0A= Lorenzo Bivens once said:=0A= > echo part md0/plan9 /dev/md0/data 0 end >/dev/fs/ctl # correctly adds a = partition to both disks=0A= > echo part md0/fsworm /dev/md0/plan9 0 end >/dev/fs/ctl # adds the fsworm = subpartition=0A= =0A= Are you using the literal word "end" here?=0A= =0A= It should be an integer. The fs(3) device=0A= uses strtoll to parse the argument and will=0A= silently return 0 if it is not a number=0A= resulting in a zero length partition. This=0A= should probably be an error but it's rare=0A= to manually write to /dev/fs/ctl.=0A= =0A= Just use disk/fdisk and disk/prep to figure=0A= out the start and length offsets for the=0A= plan9 and fsworm partitions, respectively.=0A= =0A= Cheers,=0A= Anthony=0A=