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=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30904 invoked from network); 19 Jun 2021 05:33:53 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 19 Jun 2021 05:33:53 -0000 Received: from MTA-10-1.privateemail.com ([68.65.122.30]) by 1ess; Fri Jun 18 17:22:31 -0400 2021 Received: from MTA-10.privateemail.com (localhost [127.0.0.1]) by MTA-10.privateemail.com (Postfix) with ESMTP id 6D1BF600C3 for <9front@9front.org>; Fri, 18 Jun 2021 17:22:20 -0400 (EDT) Received: from localhost (unknown [10.20.151.214]) by MTA-10.privateemail.com (Postfix) with ESMTPA id BAF23600C1 for <9front@9front.org>; Fri, 18 Jun 2021 17:22:19 -0400 (EDT) Date: Fri, 18 Jun 2021 14:22:11 -0700 From: Anthony Martin To: 9front@9front.org Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: ClamAV using ClamSMTP List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: agile GPU-aware markup control Subject: [9front] Re: Disk Mirroring, or disk composition using fs(3) Reply-To: 9front@9front.org Precedence: bulk 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